summaryrefslogtreecommitdiff
path: root/platform/windows/key_mapping_win.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-09-10 18:38:39 +0200
committerGitHub <noreply@github.com>2018-09-10 18:38:39 +0200
commit0dd7e023507ef161fabb10668ad277e9deb16abb (patch)
tree61c877b5359e064b8e933519d4e3b3a4563bf240 /platform/windows/key_mapping_win.cpp
parent5007b415c1bfd4dd9e1c5dc3b58e1ad8e878c0f8 (diff)
parentdde0229fac9518392b1d75eb5b2fd09bd1cb811e (diff)
Merge pull request #21859 from avencherus/fix-scancode-colon
Changed Windows key translate pair from KEY_COLON to KEY_COMMA.
Diffstat (limited to 'platform/windows/key_mapping_win.cpp')
-rw-r--r--platform/windows/key_mapping_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/key_mapping_win.cpp b/platform/windows/key_mapping_win.cpp
index 69dd385354..80580a63b3 100644
--- a/platform/windows/key_mapping_win.cpp
+++ b/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