mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-13 23:51:28 +03:00
@@ -903,7 +903,7 @@ fn _map_keyboard_mode(_peer: &str, event: &Event, mut key_event: KeyEvent) -> Op
|
||||
let keycode = match _peer {
|
||||
OS_LOWER_WINDOWS => {
|
||||
// https://github.com/rustdesk/rustdesk/issues/1371
|
||||
// Filter scancodes that are greater than 255 and the hight word is not 0xE0.
|
||||
// Filter scancodes that are greater than 255 and the height word is not 0xE0.
|
||||
if event.position_code > 255 && (event.position_code >> 8) != 0xE0 {
|
||||
return None;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user