trivial changes

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-04-08 20:28:34 +08:00
parent d66ad5e0cb
commit 0d5d073a43
3 changed files with 3 additions and 4 deletions

View File

@@ -1439,10 +1439,10 @@ pub fn handle_key_(evt: &KeyEvent) {
}
}
(Some(key_event::Union::Chr(code)), KeyboardMode::Map | KeyboardMode::Translate) => {
let key = crate::keycode_to_rdev_key(*code);
let key = crate::keyboard::keycode_to_rdev_key(*code);
if !skip_led_sync_rdev_key(&key) {
_lock_mode_handler =
Some(LockModesHandler::new(evt, crate::is_numpad_rdev_key(&key)));
Some(LockModesHandler::new(evt, crate::keyboard::is_numpad_rdev_key(&key)));
}
}
_ => {}