Skip to content

Commit

Permalink
Windows input: fix bracket -> brace for US input
Browse files Browse the repository at this point in the history
  • Loading branch information
mhilbrunner committed Jan 7, 2022
1 parent 3c0cf6b commit 36af1ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/windows/key_mapping_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 36af1ab

Please sign in to comment.