Skip to content

Commit

Permalink
Merge pull request #60 from subalterngames/build_release
Browse files Browse the repository at this point in the history
Fixed: Can't build release
  • Loading branch information
subalterngames authored Aug 20, 2024
2 parents 8de24dc + 3888a9d commit 34a997d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion input/src/debug_input_event.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use crate::InputEvent;

#[cfg(debug_assertions)]
pub(crate) enum DebugInputEvent {
InputEvent(InputEvent),
Alphanumeric(char),
Expand Down
3 changes: 0 additions & 3 deletions input/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -95,7 +93,6 @@ pub struct Input {
/// Characters pressed on this frame.
pub pressed_chars: Vec<char>,
/// Debug input events.
#[cfg(debug_assertions)]
debug_inputs: Vec<DebugInputEvent>,
/// The MIDI time counter.
time_counter: i16,
Expand Down

0 comments on commit 34a997d

Please sign in to comment.