diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2021-06-20 13:12:33 -0400 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2021-08-10 16:26:55 -0500 |
commit | fa3a32a2d6b054543645b0d4752514c90732b935 (patch) | |
tree | f3ba2c2543431c356ba0eca13d5be9a3e42daedd /platform/linuxbsd/key_mapping_x11.h | |
parent | 18bd0fee5a8aa360177cbe14a16d6be69f088d8f (diff) | |
download | redot-engine-fa3a32a2d6b054543645b0d4752514c90732b935.tar.gz |
Use Key enum instead of plain integers
Diffstat (limited to 'platform/linuxbsd/key_mapping_x11.h')
-rw-r--r-- | platform/linuxbsd/key_mapping_x11.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linuxbsd/key_mapping_x11.h b/platform/linuxbsd/key_mapping_x11.h index 163a8e21db..598db1c45a 100644 --- a/platform/linuxbsd/key_mapping_x11.h +++ b/platform/linuxbsd/key_mapping_x11.h @@ -44,9 +44,9 @@ class KeyMappingX11 { KeyMappingX11() {} public: - static unsigned int get_keycode(KeySym p_keysym); + static Key get_keycode(KeySym p_keysym); static unsigned int get_scancode(unsigned int p_code); - static KeySym get_keysym(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); }; |