Control: Add debug display, do assorted fixes.

This commit is contained in:
Henrik Rydgård committed 2023-03-31 20:12:48 +02:00
1 parent 025ec248e4
commit 48993f4f4b
9 files changed
+103 -43

No files matched your search

+2 -1
View File
@@ -424,9 +424,10 @@ const KeyMap_IntStrPair psp_button_names[] = {
};
static std::string FindName(int key, const KeyMap_IntStrPair list[], size_t size) {
for (size_t i = 0; i < size; i++)
for (size_t i = 0; i < size; i++) {
if (list[i].key == key)
return list[i].name;
}
return StringFromFormat("%02x?", key);
}