diff --git a/src/core/linux/SDL_evdev.c b/src/core/linux/SDL_evdev.c index ae2c7f324..c5caed798 100644 --- a/src/core/linux/SDL_evdev.c +++ b/src/core/linux/SDL_evdev.c @@ -446,6 +446,7 @@ SDL_EVDEV_translate_keycode(int keycode) if (keycode < SDL_arraysize(linux_scancode_table)) scancode = linux_scancode_table[keycode]; + /* if (scancode == SDL_SCANCODE_UNKNOWN) { /* BTN_TOUCH is handled elsewhere, but we might still end up here if you get an unexpected BTN_TOUCH from something SDL believes is not @@ -457,6 +458,7 @@ SDL_EVDEV_translate_keycode(int keycode) " EVDEV KeyCode %d", keycode); } } + */ return scancode; }