Remove ALL_MODIFIERS clear for most keys.

This commit is contained in:
Michael Jumper 2013-05-08 23:03:40 -07:00
parent eb4ab6d383
commit 8e5dde0cd8

View File

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