From 650e63a7ca433e70ab458893f1dcbb8820278d86 Mon Sep 17 00:00:00 2001 From: Frixuu Date: Fri, 17 Sep 2021 03:07:59 +0200 Subject: Allow for mapping keycodes to current layout --- platform/linuxbsd/key_mapping_x11.h | 1 + 1 file changed, 1 insertion(+) (limited to 'platform/linuxbsd/key_mapping_x11.h') diff --git a/platform/linuxbsd/key_mapping_x11.h b/platform/linuxbsd/key_mapping_x11.h index 598db1c45a..d4f1554671 100644 --- a/platform/linuxbsd/key_mapping_x11.h +++ b/platform/linuxbsd/key_mapping_x11.h @@ -45,6 +45,7 @@ class KeyMappingX11 { public: static Key get_keycode(KeySym p_keysym); + static unsigned int get_xlibcode(unsigned int p_keysym); static unsigned int get_scancode(unsigned int p_code); static KeySym get_keysym(Key p_code); static unsigned int get_unicode_from_keysym(KeySym p_keysym); -- cgit v1.2.3