mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-21 12:20:40 +00:00
Fix Caps Lock and Backspace mapping for Colemak
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user