From 72fc0dc3a3def46dcbb64bc1be1e16455c1db8b4 Mon Sep 17 00:00:00 2001 From: Colin Sherratt Date: Mon, 17 Aug 2015 23:26:12 -0400 Subject: Enable grave key on X11 --- src/api/x11/events.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api') 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 { 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, -- cgit v1.2.3