diff --git a/src/input/gamecube/mod.rs b/src/input/gamecube/mod.rs index 86c0c93..8eceb87 100644 --- a/src/input/gamecube/mod.rs +++ b/src/input/gamecube/mod.rs @@ -15,7 +15,9 @@ pub struct GcPorts { pub(super) last: [poll::GcPortState; 4], } +#[cfg(all(feature = "gamecube-adapter", not(target_os = "windows")))] use bevy::input::InputSystems; +#[cfg(all(feature = "gamecube-adapter", not(target_os = "windows")))] use bevy::input::gamepad::{gamepad_connection_system, gamepad_event_processing_system}; use bevy::prelude::*;