mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-10 03:46:27 +00:00
keyboard: Only send SDL_KEYMAPCHANGED when the keymap actually changes
This commit is contained in:

committed by
Sam Lantinga

parent
a10c57dfe4
commit
8b438f7b51
@@ -36,7 +36,7 @@ void Android_InitKeyboard(void)
|
||||
|
||||
/* Add default scancode to key mapping */
|
||||
SDL_GetDefaultKeymap(keymap);
|
||||
SDL_SetKeymap(0, keymap, SDL_NUM_SCANCODES);
|
||||
SDL_SetKeymap(0, keymap, SDL_NUM_SCANCODES, SDL_FALSE);
|
||||
}
|
||||
|
||||
static SDL_Scancode Android_Keycodes[] = {
|
||||
|
Reference in New Issue
Block a user