diff options
author | pecksin <pexin@protonmail.com> | 2021-03-19 16:25:44 -0400 |
---|---|---|
committer | pecksin <pexin@protonmail.com> | 2021-03-19 16:25:44 -0400 |
commit | 038a317c213db41227beaa014100dc43b46e392c (patch) | |
tree | c18dca78b32e2344d933c5ef89f90f478949b658 /src/client/keycode.h | |
parent | b6c8761e108eade0d1451580fbacf1e3d3f6a957 (diff) | |
download | minetest-038a317c213db41227beaa014100dc43b46e392c.tar.gz minetest-038a317c213db41227beaa014100dc43b46e392c.tar.bz2 minetest-038a317c213db41227beaa014100dc43b46e392c.zip |
user-configurable 'ctrl' keys for ctrl-leftclick in chat weblinks
Diffstat (limited to 'src/client/keycode.h')
-rw-r--r-- | src/client/keycode.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/keycode.h b/src/client/keycode.h index 7036705d1..cb3114099 100644 --- a/src/client/keycode.h +++ b/src/client/keycode.h @@ -65,3 +65,6 @@ KeyPress getKeySetting(const char *settingname); void clearKeyCache(); irr::EKEY_CODE keyname_to_keycode(const char *name); + +// Now with internal exception handling. return irr::KEY_KEY_CODES_COUNT on fail +irr::EKEY_CODE keyname_to_keycode_safemode(const char *name); |