Browse Source

Merge pull request #21859 from avencherus/fix-scancode-colon

Changed Windows key translate pair from KEY_COLON to KEY_COMMA.
Rémi Verschelde 7 years ago
parent
commit
0dd7e02350
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/windows/key_mapping_win.cpp

+ 1 - 1
platform/windows/key_mapping_win.cpp

@@ -212,7 +212,7 @@ static _WinTranslatePair _vk_to_keycode[] = {
 	{ KEY_SEMICOLON, VK_OEM_1 }, // (0xBA)
 	{ KEY_SEMICOLON, VK_OEM_1 }, // (0xBA)
 
 
 	{ KEY_EQUAL, VK_OEM_PLUS }, // (0xBB) // Windows 2000/XP: For any country/region, the '+' key
 	{ KEY_EQUAL, VK_OEM_PLUS }, // (0xBB) // Windows 2000/XP: For any country/region, the '+' key
-	{ KEY_COLON, VK_OEM_COMMA }, // (0xBC) // Windows 2000/XP: For any country/region, the ',' key
+	{ KEY_COMMA, VK_OEM_COMMA }, // (0xBC) // Windows 2000/XP: For any country/region, the ',' key
 	{ KEY_MINUS, VK_OEM_MINUS }, // (0xBD) // Windows 2000/XP: For any country/region, the '-' key
 	{ KEY_MINUS, VK_OEM_MINUS }, // (0xBD) // Windows 2000/XP: For any country/region, the '-' key
 	{ KEY_PERIOD, VK_OEM_PERIOD }, // (0xBE) // Windows 2000/XP: For any country/region, the '.' key
 	{ KEY_PERIOD, VK_OEM_PERIOD }, // (0xBE) // Windows 2000/XP: For any country/region, the '.' key
 	{ KEY_SLASH, VK_OEM_2 }, // (0xBF) //Windows 2000/XP: For the US standard keyboard, the '/?' key
 	{ KEY_SLASH, VK_OEM_2 }, // (0xBF) //Windows 2000/XP: For the US standard keyboard, the '/?' key