Fix Caps Lock and Backspace mapping for Colemak

(cherry picked from commit 906ad64d7b)
This commit is contained in:
Zhuoran authored and Sam Lantinga committed 2024-04-02 07:49:41 -07:00
1 parent f461d91cd2
commit a0522e4c21
1 file changed
+5
+5
View File
@@ -137,6 +137,11 @@ static SDL_Scancode VKeytoScancodeFallback(WPARAM vkey)
static SDL_Scancode VKeytoScancode(WPARAM vkey)
{
switch (vkey) {
case VK_BACK:
return SDL_SCANCODE_BACKSPACE;
case VK_CAPITAL:
return SDL_SCANCODE_CAPSLOCK;
case VK_MODECHANGE:
return SDL_SCANCODE_MODE;
case VK_SELECT: