silence log output for unknown input

This commit is contained in:
Jools Wills 2017-01-19 19:36:40 +00:00
parent 80ef80f4b0
commit 6e9059b1d8

View file

@ -396,11 +396,13 @@ SDL_EVDEV_translate_keycode(int keycode)
if (keycode < SDL_arraysize(linux_scancode_table))
scancode = linux_scancode_table[keycode];
/*
if (scancode == SDL_SCANCODE_UNKNOWN) {
SDL_Log("The key you just pressed is not recognized by SDL. To help "
"get this fixed, please report this to the SDL forums/mailing list "
"<https://discourse.libsdl.org/> EVDEV KeyCode %d", keycode);
}
*/
return scancode;
}