Permalink
Browse files

VK_keymap[VK_OEM_102] was set to XBMCK_LESS and in the US layout that

XBMC uses, it should be XBMCK_BACKSLASH.
  • Loading branch information...
1 parent abf09a9 commit b9f59da7c10cf32dda01b0a0c3c3434a4bce3090 John Rennie committed May 1, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 xbmc/input/XBMC_keytable.cpp
  2. +1 −1 xbmc/windowing/windows/WinEventsWin32.cpp
@@ -145,10 +145,10 @@ static const XBMCKEYTABLE XBMCKeyTable[] =
, { 0x35, 0x002f, '?', '?', 0xBF, "questionmark" }
, { 0x27, 0x003b, ';', ';', 0xBA, "semicolon" }
, { 0x27, 0x003b, ':', ':', 0xBA, "colon" }
-, { 0x56, 0x003c, '\\', '\\', 0xEC, "backslash" }
-, { 0x56, 0x003c, '|', '|', 0xEC, "pipe" }
, { 0x0d, 0x003d, '=', '=', 0xBB, "equals" }
, { 0x0d, 0x003d, '+', '+', 0xBB, "plus" }
+, { 0x56, 0x005c, '\\', '\\', 0xEC, "backslash" }
+, { 0x56, 0x005c, '|', '|', 0xEC, "pipe" }
, { 0x1a, 0x005b, '[', '[', 0xEB, "opensquarebracket" }
, { 0x1a, 0x005b, '{', '{', 0xEB, "openbrace" }
, { 0x1b, 0x005d, ']', ']', 0xED, "closesquarebracket" }
@@ -105,7 +105,7 @@ void DIB_InitOSKeymap()
VK_keymap[VK_EQUALS] = XBMCK_EQUALS;
VK_keymap[VK_LBRACKET] = XBMCK_LEFTBRACKET;
VK_keymap[VK_BACKSLASH] = XBMCK_BACKSLASH;
- VK_keymap[VK_OEM_102] = XBMCK_LESS;
+ VK_keymap[VK_OEM_102] = XBMCK_BACKSLASH;
VK_keymap[VK_RBRACKET] = XBMCK_RIGHTBRACKET;
VK_keymap[VK_GRAVE] = XBMCK_BACKQUOTE;
VK_keymap[VK_BACKTICK] = XBMCK_BACKQUOTE;

0 comments on commit b9f59da

Please sign in to comment.