moved hotkey setup to larger module
This commit is contained in:
parent
a3350792c7
commit
e79e7b5df4
3 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue