summaryrefslogtreecommitdiff
path: root/platform/linuxbsd/x11/key_mapping_x11.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-23 15:36:11 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-23 15:36:11 +0100
commit1f22c482e192ef7df57fdc182243459d3dc4f232 (patch)
treeaffce408b8ede80561ca3dd8132693c43c3cf499 /platform/linuxbsd/x11/key_mapping_x11.h
parent81fe3715b825dfc2b02adced8c08f8bc88220cb7 (diff)
parentdaad4aed62bfa471421f960179f0ac0fd78e8040 (diff)
Merge pull request #70052 from bruvzg/key_unicode_actions
Cleanup and unify keyboard input.
Diffstat (limited to 'platform/linuxbsd/x11/key_mapping_x11.h')
-rw-r--r--platform/linuxbsd/x11/key_mapping_x11.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/linuxbsd/x11/key_mapping_x11.h b/platform/linuxbsd/x11/key_mapping_x11.h
index 2b411e21d2..d4278a563c 100644
--- a/platform/linuxbsd/x11/key_mapping_x11.h
+++ b/platform/linuxbsd/x11/key_mapping_x11.h
@@ -44,12 +44,12 @@ class KeyMappingX11 {
KeyMappingX11() {}
public:
+ static void initialize();
+
static Key get_keycode(KeySym p_keysym);
static unsigned int get_xlibcode(Key p_keysym);
static Key get_scancode(unsigned int p_code);
- static KeySym get_keysym(Key p_code);
- static unsigned int get_unicode_from_keysym(KeySym p_keysym);
- static KeySym get_keysym_from_unicode(unsigned int p_unicode);
+ static char32_t get_unicode_from_keysym(KeySym p_keysym);
};
#endif // KEY_MAPPING_X11_H