helps to map in the key-up

This commit is contained in:
bunnie 2022-02-03 03:39:28 +08:00
parent 8080c1db22
commit 3f61a298a5

View file

@ -559,6 +559,8 @@ mod implementation {
let code = match self.map {
KeyMap::Qwerty => map_qwerty(rc),
KeyMap::Dvorak => map_dvorak(rc),
KeyMap::Azerty => map_azerty(rc),
KeyMap::Qwertz => map_qwertz(rc),
_ => ScanCode {key: None, shift: None, hold: None, alt: None},
};
// delete the key repeat if there is one