diff --git a/protocols/rdp/src/rdp_keymap.c b/protocols/rdp/src/rdp_keymap.c index 4aaa3992..a5836bba 100644 --- a/protocols/rdp/src/rdp_keymap.c +++ b/protocols/rdp/src/rdp_keymap.c @@ -69,7 +69,7 @@ const int guac_rdp_keysym_scancode[256][256] = { 0x00, /* 0x001d */ 0x00, /* 0x001e */ 0x00, /* 0x001f */ - 0x00, /* 0x0020 (space) */ + 0x39, /* 0x0020 (space) */ 0x00, /* 0x0021 (exclam) */ 0x00, /* 0x0022 (quotedbl) */ 0x00, /* 0x0023 (numbersign) */ @@ -85,16 +85,16 @@ const int guac_rdp_keysym_scancode[256][256] = { 0x00, /* 0x002d (minus) */ 0x00, /* 0x002e (period) */ 0x00, /* 0x002f (slash) */ - 0x00, /* 0x0030 */ - 0x00, /* 0x0031 (1) */ - 0x00, /* 0x0032 (2) */ - 0x00, /* 0x0033 (3) */ - 0x00, /* 0x0034 (4) */ - 0x00, /* 0x0035 (5) */ - 0x00, /* 0x0036 (6) */ - 0x00, /* 0x0037 (7) */ - 0x00, /* 0x0038 (8) */ - 0x00, /* 0x0039 (9) */ + 0x0B, /* 0x0030 (0) */ + 0x02, /* 0x0031 (1) */ + 0x03, /* 0x0032 (2) */ + 0x04, /* 0x0033 (3) */ + 0x05, /* 0x0034 (4) */ + 0x06, /* 0x0035 (5) */ + 0x07, /* 0x0036 (6) */ + 0x08, /* 0x0037 (7) */ + 0x09, /* 0x0038 (8) */ + 0x0A, /* 0x0039 (9) */ 0x00, /* 0x003a (colon) */ 0x00, /* 0x003b (semicolon) */ 0x00, /* 0x003c (less) */ @@ -5183,12 +5183,12 @@ const int guac_rdp_keysym_scancode[256][256] = { 0x00, /* 0xff05 */ 0x00, /* 0xff06 */ 0x00, /* 0xff07 */ - 0x00, /* 0xff08 (BackSpace) */ - 0x00, /* 0xff09 (Tab) */ + 0x0E, /* 0xff08 (BackSpace) */ + 0x0F, /* 0xff09 (Tab) */ 0x00, /* 0xff0a (Linefeed) */ 0x00, /* 0xff0b (Clear) */ 0x00, /* 0xff0c */ - 0x00, /* 0xff0d (Return) */ + 0x1C, /* 0xff0d (Return) */ 0x00, /* 0xff0e */ 0x00, /* 0xff0f */ 0x00, /* 0xff10 */ @@ -5400,10 +5400,10 @@ const int guac_rdp_keysym_scancode[256][256] = { 0x00, /* 0xffde (R13) */ 0x00, /* 0xffdf (R14) */ 0x00, /* 0xffe0 (R15) */ - 0x00, /* 0xffe1 (Shift_L) */ - 0x00, /* 0xffe2 (Shift_R) */ - 0x00, /* 0xffe3 (Control_L) */ - 0x00, /* 0xffe4 (Control_R) */ + 0x2A, /* 0xffe1 (Shift_L) */ + 0x36, /* 0xffe2 (Shift_R) */ + 0x1D, /* 0xffe3 (Control_L) */ + 0x1D, /* 0xffe4 (Control_R) */ 0x00, /* 0xffe5 (Caps_Lock) */ 0x00, /* 0xffe6 (Shift_Lock) */ 0x00, /* 0xffe7 (Meta_L) */ @@ -5430,7 +5430,7 @@ const int guac_rdp_keysym_scancode[256][256] = { 0x00, /* 0xfffc */ 0x00, /* 0xfffd */ 0x00, /* 0xfffe */ - 0x00, /* 0xffff (Delete) */ + 0x2E, /* 0xffff (Delete) */ }, };