Fix sycn of CapsLock

This commit is contained in:
Asura
2022-08-03 14:52:08 +08:00
parent d0702ddfd9
commit b3b50829f5
2 changed files with 9 additions and 0 deletions

View File

@@ -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);
}