Merge pull request #572 from csherratt/master

Enable grave key on X11
This commit is contained in:
tomaka 2015-08-18 07:39:17 +02:00
commit a4e2f82ba7

View file

@ -236,7 +236,7 @@ pub fn keycode_to_element(scancode: libc::c_uint) -> Option<VirtualKeyCode> {
ffi::XK_bracketright => events::VirtualKeyCode::RBracket, ffi::XK_bracketright => events::VirtualKeyCode::RBracket,
//ffi::XK_asciicircum => events::VirtualKeyCode::Asciicircum, //ffi::XK_asciicircum => events::VirtualKeyCode::Asciicircum,
//ffi::XK_underscore => events::VirtualKeyCode::Underscore, //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_quoteleft => events::VirtualKeyCode::Quoteleft,
ffi::XK_a => events::VirtualKeyCode::A, ffi::XK_a => events::VirtualKeyCode::A,
ffi::XK_b => events::VirtualKeyCode::B, ffi::XK_b => events::VirtualKeyCode::B,