mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00: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