moved hotkey setup to larger module

This commit is contained in:
Nickiel12 2021-12-29 23:52:53 -08:00
parent a3350792c7
commit e79e7b5df4
3 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ fn main() {
socket.send("this is a message".to_string()); socket.send("this is a message".to_string());
let hotkey_handle = thread::spawn(move || { let hotkey_handle = thread::spawn(move || {
modules::hotkey_handler::create_keyboard_hooks(hotkey_channel_tx); modules::external_interface::create_keyboard_hooks(hotkey_channel_tx);
}); });
//until control_c is caught, check the queue of incoming //until control_c is caught, check the queue of incoming

View file

@ -1,7 +1,7 @@
pub mod message_handler; pub mod message_handler;
pub mod socket_handler; pub mod socket_handler;
pub mod hotkey_handler; pub mod external_interface;
pub mod stream_states { pub mod stream_states {
pub mod stream_states_class; pub mod stream_states_class;