mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
righ key mapping and fix mac crash
This commit is contained in:
@@ -1068,7 +1068,7 @@ lazy_static::lazy_static! {
|
||||
("VK_RETURN", Key::ControlKey(ControlKey::Return)),
|
||||
("VK_SHIFT", Key::ControlKey(ControlKey::Shift)),
|
||||
("VK_CONTROL", Key::ControlKey(ControlKey::Control)),
|
||||
("VK_MENU", Key::ControlKey(ControlKey::Menu)),
|
||||
("VK_MENU", Key::ControlKey(ControlKey::Alt)),
|
||||
("VK_PAUSE", Key::ControlKey(ControlKey::Pause)),
|
||||
("VK_CAPITAL", Key::ControlKey(ControlKey::CapsLock)),
|
||||
("VK_KANA", Key::ControlKey(ControlKey::Kana)),
|
||||
@@ -1107,6 +1107,10 @@ lazy_static::lazy_static! {
|
||||
("VK_NUMPAD7", Key::ControlKey(ControlKey::Numpad7)),
|
||||
("VK_NUMPAD8", Key::ControlKey(ControlKey::Numpad8)),
|
||||
("VK_NUMPAD9", Key::ControlKey(ControlKey::Numpad9)),
|
||||
("RAlt", Key::ControlKey(ControlKey::RAlt)),
|
||||
("RWin", Key::ControlKey(ControlKey::RWin)),
|
||||
("RControl", Key::ControlKey(ControlKey::RControl)),
|
||||
("RShift", Key::ControlKey(ControlKey::RShift)),
|
||||
("CTRL_ALT_DEL", Key::ControlKey(ControlKey::CtrlAltDel)),
|
||||
("LOCK_SCREEN", Key::ControlKey(ControlKey::LockScreen)),
|
||||
].iter().cloned().collect();
|
||||
|
||||
Reference in New Issue
Block a user