From 36af1abbe0333888ae9c3931d2271dee2affe2bf Mon Sep 17 00:00:00 2001 From: Max Hilbrunner Date: Fri, 7 Jan 2022 12:14:21 +0100 Subject: [PATCH] Windows input: fix bracket -> brace for US input --- platform/windows/key_mapping_windows.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/windows/key_mapping_windows.cpp b/platform/windows/key_mapping_windows.cpp index d84e156ab6be..a520cbd8dc12 100644 --- a/platform/windows/key_mapping_windows.cpp +++ b/platform/windows/key_mapping_windows.cpp @@ -217,9 +217,9 @@ static _WinTranslatePair _vk_to_keycode[] = { { KEY_SLASH, VK_OEM_2 }, // (0xBF) //Windows 2000/XP: For the US standard keyboard, the '/?' key { KEY_QUOTELEFT, VK_OEM_3 }, // (0xC0) - { KEY_BRACELEFT, VK_OEM_4 }, // (0xDB) + { KEY_BRACKETLEFT, VK_OEM_4 }, // (0xDB) { KEY_BACKSLASH, VK_OEM_5 }, // (0xDC) - { KEY_BRACERIGHT, VK_OEM_6 }, // (0xDD) + { KEY_BRACKETRIGHT, VK_OEM_6 }, // (0xDD) { KEY_APOSTROPHE, VK_OEM_7 }, // (0xDE) /* {VK_OEM_8 (0xDF)