diff --git a/src/core/linux/SDL_evdev.c b/src/core/linux/SDL_evdev.c index 3d1596165..284ce0bdd 100644 --- a/src/core/linux/SDL_evdev.c +++ b/src/core/linux/SDL_evdev.c @@ -289,6 +289,12 @@ static void SDL_EVDEV_do_text_input(unsigned short keycode) return; } + if (kbe.kb_value == K_HOLE || kbe.kb_value == K_NOSUCHMAP) { + return; + } + + kbe.kb_value ^= 0xf000; + type = KTYP(kbe.kb_value); if (type < 0xf0) {