Fix x11 XK_bracketright keycode

This commit is contained in:
Tim Cuthbertson 2015-04-22 11:06:27 +10:00
parent f81a430c6d
commit bc2472f32b

View file

@ -233,7 +233,7 @@ pub fn keycode_to_element(scancode: libc::c_uint) -> Option<VirtualKeyCode> {
ffi::XK_Z => events::VirtualKeyCode::Z,
ffi::XK_bracketleft => events::VirtualKeyCode::LBracket,
ffi::XK_backslash => events::VirtualKeyCode::Backslash,
ffi::XK_bracketright => events::VirtualKeyCode::LBracket,
ffi::XK_bracketright => events::VirtualKeyCode::RBracket,
//ffi::XK_asciicircum => events::VirtualKeyCode::Asciicircum,
//ffi::XK_underscore => events::VirtualKeyCode::Underscore,
//ffi::XK_grave => events::VirtualKeyCode::Grave,