mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-25 02:48:50 +02:00
Disable "The key you just pressed is not recognized by SDL." message by default
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user