If clearing SHIFT, should clear ALL_SHIFT.
This commit is contained in:
parent
8e5dde0cd8
commit
6241ebcbb2
@ -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_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_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_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
|
||||||
|
|
||||||
/* comma */
|
/* comma */
|
||||||
{ .keysym = 0x002c, .scancode = 0x33,
|
{ .keysym = 0x002c, .scancode = 0x33,
|
||||||
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
|
||||||
|
|
||||||
/* minus */
|
/* minus */
|
||||||
{ .keysym = 0x002d, .scancode = 0x35,
|
{ .keysym = 0x002d, .scancode = 0x35,
|
||||||
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
|
||||||
|
|
||||||
/* period */
|
/* period */
|
||||||
{ .keysym = 0x002e, .scancode = 0x34,
|
{ .keysym = 0x002e, .scancode = 0x34,
|
||||||
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_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_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
|
||||||
|
|
||||||
/* 1 */
|
/* 1 */
|
||||||
{ .keysym = 0x0031, .scancode = 0x02,
|
{ .keysym = 0x0031, .scancode = 0x02,
|
||||||
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
|
||||||
|
|
||||||
/* 2 */
|
/* 2 */
|
||||||
{ .keysym = 0x0032, .scancode = 0x03,
|
{ .keysym = 0x0032, .scancode = 0x03,
|
||||||
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
|
||||||
|
|
||||||
/* 3 */
|
/* 3 */
|
||||||
{ .keysym = 0x0033, .scancode = 0x04,
|
{ .keysym = 0x0033, .scancode = 0x04,
|
||||||
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
|
||||||
|
|
||||||
/* 4 */
|
/* 4 */
|
||||||
{ .keysym = 0x0034, .scancode = 0x05,
|
{ .keysym = 0x0034, .scancode = 0x05,
|
||||||
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
|
||||||
|
|
||||||
/* 5 */
|
/* 5 */
|
||||||
{ .keysym = 0x0035, .scancode = 0x06,
|
{ .keysym = 0x0035, .scancode = 0x06,
|
||||||
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
|
||||||
|
|
||||||
/* 6 */
|
/* 6 */
|
||||||
{ .keysym = 0x0036, .scancode = 0x07,
|
{ .keysym = 0x0036, .scancode = 0x07,
|
||||||
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
|
||||||
|
|
||||||
/* 7 */
|
/* 7 */
|
||||||
{ .keysym = 0x0037, .scancode = 0x08,
|
{ .keysym = 0x0037, .scancode = 0x08,
|
||||||
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
|
||||||
|
|
||||||
/* 8 */
|
/* 8 */
|
||||||
{ .keysym = 0x0038, .scancode = 0x09,
|
{ .keysym = 0x0038, .scancode = 0x09,
|
||||||
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
|
||||||
|
|
||||||
/* 9 */
|
/* 9 */
|
||||||
{ .keysym = 0x0039, .scancode = 0x0A,
|
{ .keysym = 0x0039, .scancode = 0x0A,
|
||||||
.clear_keysyms = GUAC_KEYSYMS_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_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_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_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_SHIFT },
|
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT },
|
||||||
|
|
||||||
/* braceleft */
|
/* braceleft */
|
||||||
{ .keysym = 0x007b, .scancode = 0x08,
|
{ .keysym = 0x007b, .scancode = 0x08,
|
||||||
@ -491,12 +491,12 @@ static guac_rdp_keysym_desc __guac_rdp_keymap_mapping[] = {
|
|||||||
|
|
||||||
/* euro */
|
/* euro */
|
||||||
{ .keysym = 0x10020ac, .scancode = 0x12,
|
{ .keysym = 0x10020ac, .scancode = 0x12,
|
||||||
.clear_keysyms = GUAC_KEYSYMS_SHIFT,
|
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
|
||||||
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT },
|
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT },
|
||||||
|
|
||||||
/* mu */
|
/* mu */
|
||||||
{ .keysym = 0x00b5, .scancode = 0x32,
|
{ .keysym = 0x00b5, .scancode = 0x32,
|
||||||
.clear_keysyms = GUAC_KEYSYMS_SHIFT,
|
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
|
||||||
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT },
|
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT },
|
||||||
|
|
||||||
{0}
|
{0}
|
||||||
|
Loading…
Reference in New Issue
Block a user