aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2016-03-18 06:48:53 +0100
committertomaka <pierre.krieger1708@gmail.com>2016-03-18 06:48:53 +0100
commit9643d2625c33d425f2a0bf3381ec5626184ef9e1 (patch)
treea49e2495d7196fd57637e7904b2714c12688645d /src
parent45d25471c381fac929e93c37175007209a7feb33 (diff)
parent28599a5d792eaa718882ef522177b3b46f6dec6f (diff)
downloadglutin-9643d2625c33d425f2a0bf3381ec5626184ef9e1.tar.gz
glutin-9643d2625c33d425f2a0bf3381ec5626184ef9e1.zip
Merge pull request #743 from UK992/win32-vk
Uncomment more keys for win32
Diffstat (limited to 'src')
-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),