diff options
Diffstat (limited to 'platform/x11/key_mapping_x11.h')
-rw-r--r-- | platform/x11/key_mapping_x11.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/platform/x11/key_mapping_x11.h b/platform/x11/key_mapping_x11.h index 9749b2ec2a..8210df06e7 100644 --- a/platform/x11/key_mapping_x11.h +++ b/platform/x11/key_mapping_x11.h @@ -32,8 +32,8 @@ /** @author Juan Linietsky <reduzio@gmail.com> */ -#include <X11/Xlib.h> #include <X11/XF86keysym.h> +#include <X11/Xlib.h> #define XK_MISCELLANY #define XK_LATIN1 #define XK_XKB_KEYS @@ -42,14 +42,13 @@ #include "os/keyboard.h" class KeyMappingX11 { - KeyMappingX11() {}; + KeyMappingX11(){}; + public: static unsigned int get_keycode(KeySym p_keysym); static KeySym get_keysym(unsigned int p_code); static unsigned int get_unicode_from_keysym(KeySym p_keysym); static KeySym get_keysym_from_unicode(unsigned int p_unicode); - }; - #endif |