diff --git a/input/src/debug_input_event.rs b/input/src/debug_input_event.rs index d6d1ded..4172a40 100644 --- a/input/src/debug_input_event.rs +++ b/input/src/debug_input_event.rs @@ -1,6 +1,5 @@ use crate::InputEvent; -#[cfg(debug_assertions)] pub(crate) enum DebugInputEvent { InputEvent(InputEvent), Alphanumeric(char), diff --git a/input/src/lib.rs b/input/src/lib.rs index 9f17d61..27c0a92 100644 --- a/input/src/lib.rs +++ b/input/src/lib.rs @@ -3,7 +3,6 @@ //! - `InputEvent` is an enum defining an event triggered by user input, e.g. a decrease in track volume. //! - `Input` maps raw qwerty keycode and raw MIDI messages (control bindings) to input events. It updates per frame, reading input and storing new events. -#[cfg(debug_assertions)] mod debug_input_event; mod input_event; @@ -15,7 +14,6 @@ mod qwerty_binding; use common::args::Args; use common::{State, MAX_NOTE, MIN_NOTE}; -#[cfg(debug_assertions)] use debug_input_event::DebugInputEvent; use hashbrown::HashMap; use ini::Ini; @@ -95,7 +93,6 @@ pub struct Input { /// Characters pressed on this frame. pub pressed_chars: Vec, /// Debug input events. - #[cfg(debug_assertions)] debug_inputs: Vec, /// The MIDI time counter. time_counter: i16,