SDL: Fix Caps Lock and Backspace mapping for Colemak

From 906ad64d7be6facee85bdf08f6f890dc8c8c1bca Mon Sep 17 00:00:00 2001
From: Zhuoran <[EMAIL REDACTED]>
Date: Fri, 21 Jul 2023 10:06:54 +0800
Subject: [PATCH] Fix Caps Lock and Backspace mapping for Colemak

---
 src/video/windows/SDL_windowsevents.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/video/windows/SDL_windowsevents.c b/src/video/windows/SDL_windowsevents.c
index 360da2a7a6169..adc47a530e418 100644
--- a/src/video/windows/SDL_windowsevents.c
+++ b/src/video/windows/SDL_windowsevents.c
@@ -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: