Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed: Can't build release #60

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading