From: Mikko Rasa Date: Sun, 12 Oct 2014 14:12:40 +0000 (+0300) Subject: Correct the offset of function keys in the X11 keymap X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=88fa30c4d5d3a25778791d094dca2964038ead4e;p=libs%2Fgui.git Correct the offset of function keys in the X11 keymap --- diff --git a/source/input/x11/keys.cpp b/source/input/x11/keys.cpp index a1bb874..751c2e2 100644 --- a/source/input/x11/keys.cpp +++ b/source/input/x11/keys.cpp @@ -33,8 +33,8 @@ unsigned sys_keymap[N_KEYS_]= XK_Left, XK_Right, XK_Up, XK_Down, 0, 0, 0, 0, XK_Home, XK_End, XK_Page_Up, XK_Page_Down, XK_Insert, XK_Delete, 0, 0, - XK_F1, XK_F2, XK_F3, XK_F4, XK_F5, XK_F6, XK_F7, XK_F8, - XK_F9, XK_F10, XK_F11, XK_F12, 0, 0, 0, 0, + 0, XK_F1, XK_F2, XK_F3, XK_F4, XK_F5, XK_F6, XK_F7, + XK_F8, XK_F9, XK_F10, XK_F11, XK_F12, 0, 0, 0, XK_Shift_L, XK_Shift_R, XK_Control_L, XK_Control_R, XK_Alt_L, XK_Alt_R, XK_Super_L, XK_Super_R, XK_Caps_Lock, XK_Scroll_Lock, XK_Num_Lock, 0, 0, 0, 0, 0,