Delete reset function about enigo
This commit is contained in:
parent
763456519e
commit
4421d08384
@ -19,10 +19,6 @@ impl Enigo {
|
|||||||
pub fn set_delay(&mut self, delay: u64) {
|
pub fn set_delay(&mut self, delay: u64) {
|
||||||
self.xdo.set_delay(delay)
|
self.xdo.set_delay(delay)
|
||||||
}
|
}
|
||||||
/// Reset pynput?.
|
|
||||||
pub fn reset(&mut self) {
|
|
||||||
todo!()
|
|
||||||
}
|
|
||||||
/// Set uinput keyboard.
|
/// Set uinput keyboard.
|
||||||
pub fn set_uinput_keyboard(
|
pub fn set_uinput_keyboard(
|
||||||
&mut self,
|
&mut self,
|
||||||
|
@ -23,8 +23,6 @@ impl super::service::Reset for StateCursor {
|
|||||||
*self = Default::default();
|
*self = Default::default();
|
||||||
crate::platform::reset_input_cache();
|
crate::platform::reset_input_cache();
|
||||||
fix_key_down_timeout(true);
|
fix_key_down_timeout(true);
|
||||||
#[cfg(target_os = "linux")]
|
|
||||||
ENIGO.lock().unwrap().reset();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user