mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-03 15:42:32 +00:00
Show the id of unknown mapped keys in the UI.
This commit is contained in:
parent
89d0c7751f
commit
c84f0e6059
@ -693,8 +693,7 @@ static std::string FindName(int key, const KeyMap_IntStrPair list[], size_t size
|
||||
for (size_t i = 0; i < size; i++)
|
||||
if (list[i].key == key)
|
||||
return list[i].name;
|
||||
|
||||
return unknown_key_name;
|
||||
return StringFromFormat("%02x?", key);
|
||||
}
|
||||
|
||||
std::string GetKeyName(int keyCode) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user