--- SDL2-2.26.2.old/src/video/x11/SDL_x11keyboard.c +++ SDL2-2.26.2/src/video/x11/SDL_x11keyboard.c @@ -234,7 +234,8 @@ } } } - if (best_index >= 0 && best_distance <= 2) { + + if (best_index >= 0 && best_distance <= 4) { SDL_Keycode default_keymap[SDL_NUM_SCANCODES]; int table_size; const SDL_Scancode *table = SDL_GetScancodeTable(scancode_set[best_index], &table_size);