Fix Caps Lock and Backspace mapping for Colemak
This commit is contained in:
1 parent
f1690e265e
commit
906ad64d7b
1 file changed
+5
@@ -137,6 +137,11 @@ static SDL_Scancode VKeytoScancodeFallback(WPARAM vkey)
|
|||||||
static SDL_Scancode VKeytoScancode(WPARAM vkey)
|
static SDL_Scancode VKeytoScancode(WPARAM vkey)
|
||||||
{
|
{
|
||||||
switch (vkey) {
|
switch (vkey) {
|
||||||
|
case VK_BACK:
|
||||||
|
return SDL_SCANCODE_BACKSPACE;
|
||||||
|
case VK_CAPITAL:
|
||||||
|
return SDL_SCANCODE_CAPSLOCK;
|
||||||
|
|
||||||
case VK_MODECHANGE:
|
case VK_MODECHANGE:
|
||||||
return SDL_SCANCODE_MODE;
|
return SDL_SCANCODE_MODE;
|
||||||
case VK_SELECT:
|
case VK_SELECT:
|
||||||
|
|||||||
Reference in new issue
Block a user