diff options
author | Frixuu <kontakt@lukasz.xyz> | 2021-09-17 03:07:59 +0200 |
---|---|---|
committer | Frixuu <kontakt@lukasz.xyz> | 2021-09-21 00:03:02 +0200 |
commit | 650e63a7ca433e70ab458893f1dcbb8820278d86 (patch) | |
tree | 2416b7d41bc9a0bd160dbe4631cd89f5d0dbd537 /platform/linuxbsd/key_mapping_x11.h | |
parent | 2d1699ef82a29ef65d810194ee76dddc0d9e0389 (diff) | |
download | redot-engine-650e63a7ca433e70ab458893f1dcbb8820278d86.tar.gz |
Allow for mapping keycodes to current layout
Diffstat (limited to 'platform/linuxbsd/key_mapping_x11.h')
-rw-r--r-- | platform/linuxbsd/key_mapping_x11.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |