summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-05-08 11:24:05 +0200
committerGitHub <noreply@github.com>2020-05-08 11:24:05 +0200
commite45735ec4afb4540cdd5f8e8cdcefa38b9184df1 (patch)
tree98368a10266273de9ddf3abc481ef1775afdd837
parent492811b319038562cfbe7fd90f0cb970e1d52926 (diff)
parent97e77bcd1920fa83b42c9090a0ed218b2849c26d (diff)
Merge pull request #38556 from EricEzaM/fix-menu-key-windows
Added mapping for KEY_MENU to VK_APPS (0x5d) so context menu's triggered by the keyboard menu button work
-rw-r--r--platform/windows/key_mapping_windows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/key_mapping_windows.cpp b/platform/windows/key_mapping_windows.cpp
index da63e92622..92a2585745 100644
--- a/platform/windows/key_mapping_windows.cpp
+++ b/platform/windows/key_mapping_windows.cpp
@@ -130,7 +130,7 @@ static _WinTranslatePair _vk_to_keycode[] = {
{ KEY_MASK_META, VK_LWIN }, //(0x5B)
{ KEY_MASK_META, VK_RWIN }, //(0x5C)
- //VK_APPS (0x5D)
+ { KEY_MENU, VK_APPS }, //(0x5D)
{ KEY_STANDBY, VK_SLEEP }, //(0x5F)
{ KEY_KP_0, VK_NUMPAD0 }, //(0x60)
{ KEY_KP_1, VK_NUMPAD1 }, //(0x61)