mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-24 13:41:02 +03:00
refacotor: simplify mod of keyboard
This commit is contained in:
@@ -1002,9 +1002,6 @@ pub fn handle_key_(evt: &KeyEvent) {
|
||||
}
|
||||
|
||||
match evt.mode.unwrap() {
|
||||
KeyboardMode::Legacy => {
|
||||
legacy_keyboard_mode(evt);
|
||||
}
|
||||
KeyboardMode::Map => {
|
||||
map_keyboard_mode(evt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user