diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a913a01..50ca45c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # Unreleased +- On macOS, fix `Yen` (JIS) so applications receive the event. - On X11 with a tiling WM, fixed high CPU usage when moving windows across monitors. - On X11, fixed panic caused by dropping the window before running the event loop. - on macOS, added `WindowExt::set_simple_fullscreen` which does not require a separate space diff --git a/src/platform/macos/events_loop.rs b/src/platform/macos/events_loop.rs index 7c5e6970..ca1ff170 100644 --- a/src/platform/macos/events_loop.rs +++ b/src/platform/macos/events_loop.rs @@ -639,8 +639,8 @@ pub fn to_virtual_key_code(code: c_ushort) -> Option { 0x5a => events::VirtualKeyCode::F20, 0x5b => events::VirtualKeyCode::Numpad8, 0x5c => events::VirtualKeyCode::Numpad9, - //0x5d => unkown, - //0x5e => unkown, + 0x5d => events::VirtualKeyCode::Yen, + //0x5e => JIS Ro, //0x5f => unkown, 0x60 => events::VirtualKeyCode::F5, 0x61 => events::VirtualKeyCode::F6, @@ -648,9 +648,9 @@ pub fn to_virtual_key_code(code: c_ushort) -> Option { 0x63 => events::VirtualKeyCode::F3, 0x64 => events::VirtualKeyCode::F8, 0x65 => events::VirtualKeyCode::F9, - //0x66 => unkown, + //0x66 => JIS Eisuu (macOS), 0x67 => events::VirtualKeyCode::F11, - //0x68 => unkown, + //0x68 => JIS Kana (macOS), 0x69 => events::VirtualKeyCode::F13, 0x6a => events::VirtualKeyCode::F16, 0x6b => events::VirtualKeyCode::F14,