feat: add specific keyboard hook

This commit is contained in:
kingtous
2022-06-27 09:25:20 +08:00
parent c1cf9307ac
commit f2460c26ca
3 changed files with 19 additions and 2 deletions

View File

@@ -69,6 +69,11 @@ pub fn start_global_event_stream(s: StreamSink<String>) -> ResultType<()> {
Ok(())
}
pub fn host_stop_system_key_propagate(stopped: bool) {
#[cfg(windows)]
crate::platform::windows::stop_system_key_propagate(stopped);
}
pub fn session_connect(
events2ui: StreamSink<EventToUI>,
id: String,