Add a new SDL_KEYMAPCHANGED SDL event to abstract notification of keyboard layout or input language changes.

This commit is contained in:
Sam Lantinga
2015-10-27 11:17:32 -07:00
parent f8824cb99b
commit 2b0140a91f
6 changed files with 19 additions and 3 deletions

View File

@@ -626,6 +626,7 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
case WM_INPUTLANGCHANGE:
{
WIN_UpdateKeymap();
SDL_SendKeymapChangedEvent();
}
returnCode = 1;
break;