浏览代码

Changed Windows key translate pair from KEY_COLON to KEY_COMMA.

Jared 7 年之前
父节点
当前提交
dde0229fac
共有 1 个文件被更改,包括 1 次插入1 次删除
  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_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_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