Show the id of unknown mapped keys in the UI.

This commit is contained in:
Henrik Rydgard 2015-10-31 15:19:34 +01:00
parent 89d0c7751f
commit c84f0e6059

View File

@ -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) {