If clearing SHIFT, should clear ALL_SHIFT.

This commit is contained in:
Michael Jumper 2013-05-08 23:06:13 -07:00
parent 8e5dde0cd8
commit 6241ebcbb2

View File

@ -62,7 +62,7 @@ static guac_rdp_keysym_desc __guac_rdp_keymap_mapping[] = {
/* numbersign */
{ .keysym = 0x0023, .scancode = 0x2b,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* dollar */
{ .keysym = 0x0024, .scancode = 0x05,
@ -101,19 +101,19 @@ static guac_rdp_keysym_desc __guac_rdp_keymap_mapping[] = {
/* plus */
{ .keysym = 0x002b, .scancode = 0x1b,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* comma */
{ .keysym = 0x002c, .scancode = 0x33,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* minus */
{ .keysym = 0x002d, .scancode = 0x35,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* period */
{ .keysym = 0x002e, .scancode = 0x34,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* slash */
{ .keysym = 0x002f, .scancode = 0x08,
@ -122,43 +122,43 @@ static guac_rdp_keysym_desc __guac_rdp_keymap_mapping[] = {
/* 0 */
{ .keysym = 0x0030, .scancode = 0x0B,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* 1 */
{ .keysym = 0x0031, .scancode = 0x02,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* 2 */
{ .keysym = 0x0032, .scancode = 0x03,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* 3 */
{ .keysym = 0x0033, .scancode = 0x04,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* 4 */
{ .keysym = 0x0034, .scancode = 0x05,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* 5 */
{ .keysym = 0x0035, .scancode = 0x06,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* 6 */
{ .keysym = 0x0036, .scancode = 0x07,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* 7 */
{ .keysym = 0x0037, .scancode = 0x08,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* 8 */
{ .keysym = 0x0038, .scancode = 0x09,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* 9 */
{ .keysym = 0x0039, .scancode = 0x0A,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* colon */
{ .keysym = 0x003a, .scancode = 0x34,
@ -172,7 +172,7 @@ static guac_rdp_keysym_desc __guac_rdp_keymap_mapping[] = {
/* less */
{ .keysym = 0x003c, .scancode = 0x56,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* equal */
{ .keysym = 0x003d, .scancode = 0x0B,
@ -467,7 +467,7 @@ static guac_rdp_keysym_desc __guac_rdp_keymap_mapping[] = {
/* ß */
{ .keysym = 0x00df, .scancode = 0x0c,
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
/* braceleft */
{ .keysym = 0x007b, .scancode = 0x08,
@ -491,12 +491,12 @@ static guac_rdp_keysym_desc __guac_rdp_keymap_mapping[] = {
/* euro */
{ .keysym = 0x10020ac, .scancode = 0x12,
.clear_keysyms = GUAC_KEYSYMS_SHIFT,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT },
/* mu */
{ .keysym = 0x00b5, .scancode = 0x32,
.clear_keysyms = GUAC_KEYSYMS_SHIFT,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT },
{0}