Browse Source

Windows input: fix bracket -> brace for US input

(cherry picked from commit 36af1abbe0333888ae9c3931d2271dee2affe2bf)
Max Hilbrunner 3 years ago
parent
commit
4674599dfa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      platform/windows/key_mapping_windows.cpp

+ 2 - 2
platform/windows/key_mapping_windows.cpp

@@ -217,9 +217,9 @@ static _WinTranslatePair _vk_to_keycode[] = {
 	{ KEY_SLASH, VK_OEM_2 }, // (0xBF) //Windows 2000/XP: For the US standard keyboard, the '/?' key
 
 	{ KEY_QUOTELEFT, VK_OEM_3 }, // (0xC0)
-	{ KEY_BRACELEFT, VK_OEM_4 }, // (0xDB)
+	{ KEY_BRACKETLEFT, VK_OEM_4 }, // (0xDB)
 	{ KEY_BACKSLASH, VK_OEM_5 }, // (0xDC)
-	{ KEY_BRACERIGHT, VK_OEM_6 }, // (0xDD)
+	{ KEY_BRACKETRIGHT, VK_OEM_6 }, // (0xDD)
 	{ KEY_APOSTROPHE, VK_OEM_7 }, // (0xDE)
 	/*
 {VK_OEM_8 (0xDF)