summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorEric M <itsjusteza@gmail.com>2020-05-08 11:22:21 +1000
committerEric M <itsjusteza@gmail.com>2020-05-08 11:22:21 +1000
commit97e77bcd1920fa83b42c9090a0ed218b2849c26d (patch)
tree55da8fbbca6f54b2a6fc46fa2d13e4e88e44c54b /platform
parente253451a5b01926a32aa52bf2e78150f0f9f4bd5 (diff)
Added mapping for KEY_MENU to VK_APPS (0x5d) so context menu's triggered by the keyboard menu button work
Diffstat (limited to 'platform')
-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)