Преглед изворни кода

Fixed wrong Virtual-KeyCode(0x12) pair on Windows platform (#12073)

Indah Sylvia пре 8 година
родитељ
комит
53facb07cf
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      platform/windows/key_mapping_win.cpp

+ 1 - 1
platform/windows/key_mapping_win.cpp

@@ -50,7 +50,7 @@ static _WinTranslatePair _vk_to_keycode[] = {
 
 	{ KEY_CONTROL, VK_CONTROL }, //(0x11)
 
-	{ KEY_MENU, VK_MENU }, //(0x12)
+	{ KEY_ALT, VK_MENU }, //(0x12)
 
 	{ KEY_PAUSE, VK_PAUSE }, //(0x13)