Add missing keyname_to_keycode function (needed on Android)
When rewriting keycode.cpp I overlooked this function, fixes #4683 completely
This commit is contained in:
parent
7252c803e0
commit
6d7b95d763
|
@ -385,3 +385,8 @@ void clearKeyCache()
|
||||||
{
|
{
|
||||||
g_key_setting_cache.clear();
|
g_key_setting_cache.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
irr::EKEY_CODE keyname_to_keycode(const char *name)
|
||||||
|
{
|
||||||
|
return lookup_keyname(name).Key;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue