aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
authorUK992 <urbankrajnc92@gmail.com>2016-03-18 02:44:48 +0100
committerUK992 <urbankrajnc92@gmail.com>2016-03-18 02:49:15 +0100
commit28599a5d792eaa718882ef522177b3b46f6dec6f (patch)
treea49e2495d7196fd57637e7904b2714c12688645d /src/api
parent45d25471c381fac929e93c37175007209a7feb33 (diff)
downloadglutin-28599a5d792eaa718882ef522177b3b46f6dec6f.tar.gz
glutin-28599a5d792eaa718882ef522177b3b46f6dec6f.zip
Uncomment more keys on win32
Diffstat (limited to 'src/api')
-rw-r--r--src/api/win32/event.rs12
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),