diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2017-11-21 14:25:09 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-21 14:25:09 -0300 |
| commit | 30dadb12281924ccb59efc8df4b3b9ee68c6e3a4 (patch) | |
| tree | 3ce30ebc24eeaa39ba673d46d330673a838e99ad /core/os/keyboard.h | |
| parent | 20b07a1fb55c31d326c3f9c36d1276eb1bcf15e6 (diff) | |
| parent | 524ffc971239e4826a2ee8e3df1d9af800ed5bba (diff) | |
| download | redot-engine-30dadb12281924ccb59efc8df4b3b9ee68c6e3a4.tar.gz | |
Merge pull request #11933 from cxong/master
Use "Command" instead of "Meta" for macOS (#1619)
Diffstat (limited to 'core/os/keyboard.h')
| -rw-r--r-- | core/os/keyboard.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/os/keyboard.h b/core/os/keyboard.h index 509ff23a93..f49cbc6b18 100644 --- a/core/os/keyboard.h +++ b/core/os/keyboard.h @@ -326,6 +326,7 @@ enum KeyModifierMask { String keycode_get_string(uint32_t p_code); bool keycode_has_unicode(uint32_t p_keycode); int find_keycode(const String &p_code); +const char *find_keycode_name(int p_keycode); int keycode_get_count(); int keycode_get_value_by_index(int p_index); const char *keycode_get_name_by_index(int p_index); |
