diff --git a/src/modules/external_interface.rs b/src/modules/external_interface.rs index 1ad1c15..ab37c41 100644 --- a/src/modules/external_interface.rs +++ b/src/modules/external_interface.rs @@ -17,7 +17,6 @@ pub const OPTIONS_PATH: &str = "./options.json"; pub const OPTIONS_PATH: &str = "./options.json"; */ -#[cfg(feature = "default")] pub fn create_keyboard_hooks(channel_tx: crossbeam_channel::Sender, close_flag: workctl::sync_flag::SyncFlagRx) { let tx_1 = channel_tx.clone(); @@ -30,6 +29,7 @@ pub fn create_keyboard_hooks(channel_tx: crossbeam_channel::Sender, clos tx_2.send(StateUpdate::ChangeSlide(SlideChange::NextHotkey).to_json().to_string()).unwrap(); }); + #[cfg(feature = "default")] inputbot::handle_input_events(close_flag); }