summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/key_mapping_x11.h
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2021-06-20 13:12:33 -0400
committerAaron Franke <arnfranke@yahoo.com>2021-08-10 16:26:55 -0500
commitfa3a32a2d6b054543645b0d4752514c90732b935 (patch)
treef3ba2c2543431c356ba0eca13d5be9a3e42daedd /platform/linuxbsd/key_mapping_x11.h
parent18bd0fee5a8aa360177cbe14a16d6be69f088d8f (diff)
downloadredot-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.h4
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);
};