mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
work around of italian keyboard shift+"." issue
https://github.com/rustdesk/rustdesk/issues/366#issuecomment-1120379312
This commit is contained in:
@@ -6,7 +6,8 @@ fn main() {
|
||||
thread::sleep(Duration::from_secs(2));
|
||||
let mut enigo = Enigo::new();
|
||||
|
||||
enigo.key_down(Key::Layout('a')).ok();
|
||||
thread::sleep(Duration::from_secs(1));
|
||||
enigo.key_up(Key::Layout('a'));
|
||||
enigo.key_down(Key::Shift).ok();
|
||||
enigo.key_down(Key::Layout('.')).ok();
|
||||
enigo.key_up(Key::Layout('.'));
|
||||
enigo.key_up(Key::Shift);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user