mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
Fix sycn of CapsLock
This commit is contained in:
@@ -1122,6 +1122,10 @@ impl Handler {
|
||||
if key == RdevKey::AltGr || evt.scan_code == 541 {
|
||||
return;
|
||||
}
|
||||
// Caps affects the keycode map of the peer system(Linux).
|
||||
if key == RdevKey::CapsLock {
|
||||
return;
|
||||
}
|
||||
dbg!(key);
|
||||
self.map_keyboard_mode(down_or_up, key, None);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user