Disable "The key you just pressed is not recognized by SDL." message by default

This commit is contained in:
Sam Lantinga
2022-10-13 23:56:17 -07:00
parent 139192140c
commit 91ff88451b
3 changed files with 6 additions and 2 deletions

View File

@@ -40,9 +40,11 @@ SDL_RISCOS_translate_keycode(int keycode)
if (keycode < SDL_arraysize(riscos_scancode_table)) {
scancode = riscos_scancode_table[keycode];
#ifdef DEBUG_SCANCODES
if (scancode == SDL_SCANCODE_UNKNOWN) {
SDL_Log("The key you just pressed is not recognized by SDL: %d", keycode);
}
#endif
}
return scancode;