diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2016-03-17 12:45:58 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2016-03-17 12:45:58 +0100 |
commit | 45d25471c381fac929e93c37175007209a7feb33 (patch) | |
tree | ebc8e020e6c1e6f62f5990bbc891cbbbf28a3eff /src/api/win32 | |
parent | a3543b700f4982a470037cd059928aed533b887c (diff) | |
parent | 1de66e4efbd428e5cefa422e6c771e225cab1829 (diff) | |
download | glutin-45d25471c381fac929e93c37175007209a7feb33.tar.gz glutin-45d25471c381fac929e93c37175007209a7feb33.zip |
Merge pull request #730 from Manishearth/nav
Add support for navigation keys
Diffstat (limited to 'src/api/win32')
-rw-r--r-- | src/api/win32/event.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/api/win32/event.rs b/src/api/win32/event.rs index ad4598a..f60ec7e 100644 --- a/src/api/win32/event.rs +++ b/src/api/win32/event.rs @@ -148,10 +148,10 @@ pub fn vkeycode_to_element(wparam: winapi::WPARAM, lparam: winapi::LPARAM) -> (S winapi::VK_LCONTROL => Some(VirtualKeyCode::Lcontrol), winapi::VK_RCONTROL => Some(VirtualKeyCode::Rcontrol), winapi::VK_LMENU => Some(VirtualKeyCode::Lmenu), - winapi::VK_RMENU => Some(VirtualKeyCode::Rmenu), - winapi::VK_BROWSER_BACK => Some(VirtualKeyCode::Browser_back), - winapi::VK_BROWSER_FORWARD => Some(VirtualKeyCode::Browser_forward), - winapi::VK_BROWSER_REFRESH => Some(VirtualKeyCode::Browser_refresh), + winapi::VK_RMENU => Some(VirtualKeyCode::Rmenu),*/ + winapi::VK_BROWSER_BACK => Some(VirtualKeyCode::NavigateBackward), + winapi::VK_BROWSER_FORWARD => Some(VirtualKeyCode::NavigateForward), + /*winapi::VK_BROWSER_REFRESH => Some(VirtualKeyCode::Browser_refresh), winapi::VK_BROWSER_STOP => Some(VirtualKeyCode::Browser_stop), winapi::VK_BROWSER_SEARCH => Some(VirtualKeyCode::Browser_search), winapi::VK_BROWSER_FAVORITES => Some(VirtualKeyCode::Browser_favorites), |