Send caps lock key
This commit is contained in:
parent
2d0cdd83a2
commit
b2cf11f2df
@ -1125,16 +1125,10 @@ impl Handler {
|
|||||||
} else {
|
} else {
|
||||||
TO_RELEASE.lock().unwrap().remove(&key);
|
TO_RELEASE.lock().unwrap().remove(&key);
|
||||||
}
|
}
|
||||||
// algr without action
|
// AltGr && LeftControl(SpecialKey) without action
|
||||||
// Control left
|
|
||||||
if key == RdevKey::AltGr || evt.scan_code == 541 {
|
if key == RdevKey::AltGr || evt.scan_code == 541 {
|
||||||
return;
|
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);
|
self.map_keyboard_mode(down_or_up, key, None);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user