Show the id of unknown mapped keys in the UI.

This commit is contained in:
Henrik Rydgard committed 2015-10-31 15:20:02 +01:00
1 parent 89d0c7751f
commit c84f0e6059
1 file changed
+1 -2
+1 -2
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) {