diff options
Diffstat (limited to 'src/api/win32')
-rw-r--r-- | src/api/win32/event.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/api/win32/event.rs b/src/api/win32/event.rs index f60ec7e..c4946bb 100644 --- a/src/api/win32/event.rs +++ b/src/api/win32/event.rs @@ -167,12 +167,12 @@ pub fn vkeycode_to_element(wparam: winapi::WPARAM, lparam: winapi::LPARAM) -> (S winapi::VK_LAUNCH_MEDIA_SELECT => Some(VirtualKeyCode::Launch_media_select), winapi::VK_LAUNCH_APP1 => Some(VirtualKeyCode::Launch_app1), winapi::VK_LAUNCH_APP2 => Some(VirtualKeyCode::Launch_app2), - winapi::VK_OEM_1 => Some(VirtualKeyCode::Oem_1), - winapi::VK_OEM_PLUS => Some(VirtualKeyCode::Oem_plus), - winapi::VK_OEM_COMMA => Some(VirtualKeyCode::Oem_comma), - winapi::VK_OEM_MINUS => Some(VirtualKeyCode::Oem_minus), - winapi::VK_OEM_PERIOD => Some(VirtualKeyCode::Oem_period), - winapi::VK_OEM_2 => Some(VirtualKeyCode::Oem_2), + winapi::VK_OEM_1 => Some(VirtualKeyCode::Oem_1),*/ + winapi::VK_OEM_PLUS => Some(VirtualKeyCode::Add), + winapi::VK_OEM_COMMA => Some(VirtualKeyCode::Comma), + winapi::VK_OEM_MINUS => Some(VirtualKeyCode::Minus), + winapi::VK_OEM_PERIOD => Some(VirtualKeyCode::Period), + /*winapi::VK_OEM_2 => Some(VirtualKeyCode::Oem_2), winapi::VK_OEM_3 => Some(VirtualKeyCode::Oem_3), winapi::VK_OEM_4 => Some(VirtualKeyCode::Oem_4), winapi::VK_OEM_5 => Some(VirtualKeyCode::Oem_5), |