diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-08-18 07:39:17 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-08-18 07:39:17 +0200 |
commit | a4e2f82ba77d22116eaee5601fb6ee5c6356c143 (patch) | |
tree | 9198ddf9c329fff3b790b97a88f925b7ea0fd3d7 | |
parent | 6ba15de7db4d5266db816be5e38e5d401a3da1ec (diff) | |
parent | 72fc0dc3a3def46dcbb64bc1be1e16455c1db8b4 (diff) | |
download | glutin-a4e2f82ba77d22116eaee5601fb6ee5c6356c143.tar.gz glutin-a4e2f82ba77d22116eaee5601fb6ee5c6356c143.zip |
Merge pull request #572 from csherratt/master
Enable grave key on X11
-rw-r--r-- | src/api/x11/events.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/x11/events.rs b/src/api/x11/events.rs index bd289f7..408a3ec 100644 --- a/src/api/x11/events.rs +++ b/src/api/x11/events.rs @@ -236,7 +236,7 @@ pub fn keycode_to_element(scancode: libc::c_uint) -> Option<VirtualKeyCode> { ffi::XK_bracketright => events::VirtualKeyCode::RBracket, //ffi::XK_asciicircum => events::VirtualKeyCode::Asciicircum, //ffi::XK_underscore => events::VirtualKeyCode::Underscore, - //ffi::XK_grave => events::VirtualKeyCode::Grave, + ffi::XK_grave => events::VirtualKeyCode::Grave, //ffi::XK_quoteleft => events::VirtualKeyCode::Quoteleft, ffi::XK_a => events::VirtualKeyCode::A, ffi::XK_b => events::VirtualKeyCode::B, |