mirror of
https://github.com/encounter/SDL.git
synced 2025-12-19 09:55:29 +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