mirror of
https://github.com/encounter/SDL.git
synced 2025-12-21 10:49:12 +00:00
Add a new SDL_KEYMAPCHANGED SDL event to abstract notification of keyboard layout or input language changes.
This commit is contained in:
@@ -626,6 +626,7 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
case WM_INPUTLANGCHANGE:
|
||||
{
|
||||
WIN_UpdateKeymap();
|
||||
SDL_SendKeymapChangedEvent();
|
||||
}
|
||||
returnCode = 1;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user