locale: add Japanese backslash key with rdp scancode 7D and X key name AE13

Correct values for the keyboard fields in Client Core Data is required too.
This commit is contained in:
Mads Kiilerich 2012-03-29 01:12:48 +02:00
parent f799615c22
commit a9296e976d
2 changed files with 3 additions and 1 deletions

View File

@ -211,6 +211,7 @@ typedef uint32 RDP_SCANCODE; /* Our own representation of a RDP protocol scancod
/* #define RDP_SCANCODE_OEM_CLEAR VK_OEM_CLEAR */
#define RDP_SCANCODE_RETURN_KP mk_rdp_scancode(0x1C, true) /* not RDP_SCANCODE_RETURN */
#define RDP_SCANCODE_BACKSLASH_JP mk_rdp_scancode(0x7D, false) /* JP OEM_5 ('\') */
/* _not_ valid scancode, but this is what a windows PKBDLLHOOKSTRUCT for NumLock contains */
#define RDP_SCANCODE_NUMLOCK_EXTENDED mk_rdp_scancode(0x45, true) /* should be RDP_SCANCODE_NUMLOCK */

View File

@ -146,7 +146,8 @@ XKB_KEY_NAME_SCANCODE XKB_KEY_NAME_SCANCODE_TABLE[] =
{ "COMP", RDP_SCANCODE_APPS},
{ "KPDV", RDP_SCANCODE_DIVIDE}, // KP!
{ "RCTL", RDP_SCANCODE_RCONTROL},
{ "RALT", RDP_SCANCODE_RMENU}
{ "RALT", RDP_SCANCODE_RMENU},
{ "AE13", RDP_SCANCODE_BACKSLASH_JP} // JP
/* { "LVL3", 0x54} */
};