mirror of
https://github.com/storytold/winit.git
synced 2026-12-01 02:36:24 +01:00
fix command key event left and right reverse on macOS (#810)
* fix command key event left and right reverse on macOS https://github.com/tomaka/winit/issues/808 * update changelog
This commit is contained in:
1 parent
cb93554938
commit
9874181ccd
2 files changed
+3
-2
No files matched your search
@@ -660,8 +660,8 @@ pub fn scancode_to_keycode(code: c_ushort) -> Option<events::VirtualKeyCode> {
|
||||
0x33 => events::VirtualKeyCode::Back,
|
||||
//0x34 => unkown,
|
||||
0x35 => events::VirtualKeyCode::Escape,
|
||||
0x36 => events::VirtualKeyCode::LWin,
|
||||
0x37 => events::VirtualKeyCode::RWin,
|
||||
0x36 => events::VirtualKeyCode::RWin,
|
||||
0x37 => events::VirtualKeyCode::LWin,
|
||||
0x38 => events::VirtualKeyCode::LShift,
|
||||
//0x39 => Caps lock,
|
||||
0x3a => events::VirtualKeyCode::LAlt,
|
||||
|
||||
Reference in new issue
Block a user