Skip to content

Commit

Permalink
locale: update rdp scancodes according to Win CE "Translating Scan Co…
Browse files Browse the repository at this point in the history
…des to Virtual-Key Codes"

The values in @msdn{ms892480} seems to be what is used in TS_KEYBOARD_EVENT @msdn{cc240584}.

All the "XT Scan Code Translation Libraries" has been checked and integrated.
Only the Korean has been skipped. It is clearly something completely different
from everything else. The Japanese is just an extension of the US keyboard like
the others.
  • Loading branch information
kiilerix committed Mar 28, 2012
1 parent a9296e9 commit 16478d8
Show file tree
Hide file tree
Showing 4 changed files with 158 additions and 192 deletions.
2 changes: 1 addition & 1 deletion client/X11/xf_keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void xf_kbd_send_key(xfInfo* xfi, boolean down, uint8 keycode)
{
freerdp_input_send_keyboard_event_2(input, down, rdp_scancode);

if ((rdp_scancode == RDP_SCANCODE_CAPITAL) && (down == false))
if ((rdp_scancode == RDP_SCANCODE_CAPSLOCK) && (down == false))
{
uint32 syncFlags;
syncFlags = xf_kbd_get_toggle_keys_state(xfi);
Expand Down
Loading

0 comments on commit 16478d8

Please sign in to comment.