Actually implement AltGr as a separate code, rather than Ctrl+Alt.

This commit is contained in:
Michael Jumper 2013-05-09 20:44:56 -07:00
parent 03ae1481ea
commit c40a9b8994
5 changed files with 240 additions and 127 deletions

View File

@ -174,6 +174,23 @@ extern const int GUAC_KEYSYMS_SHIFT[];
*/ */
extern const int GUAC_KEYSYMS_ALL_SHIFT[]; extern const int GUAC_KEYSYMS_ALL_SHIFT[];
/**
* Keysym string containing only the right "alt" key (AltGr).
*/
extern const int GUAC_KEYSYMS_ALTGR[];
/**
* Keysym string containing the right "alt" key (AltGr) and
* left shift.
*/
extern const int GUAC_KEYSYMS_SHIFT_ALTGR[];
/**
* Keysym string containing the right "alt" key (AltGr) and
* both shift keys.
*/
extern const int GUAC_KEYSYMS_ALL_SHIFT_ALTGR[];
/** /**
* Keysym string containing only the left "ctrl" key. * Keysym string containing only the left "ctrl" key.
*/ */
@ -194,11 +211,6 @@ extern const int GUAC_KEYSYMS_ALT[];
*/ */
extern const int GUAC_KEYSYMS_ALL_ALT[]; extern const int GUAC_KEYSYMS_ALL_ALT[];
/**
* Keysym string containing both "alt" keys.
*/
extern const int GUAC_KEYSYMS_ALL_ALT[];
/** /**
* Keysym string containing the left "alt" and left "ctrl" keys * Keysym string containing the left "alt" and left "ctrl" keys
*/ */

View File

@ -40,6 +40,10 @@
const int GUAC_KEYSYMS_SHIFT[] = {0xFFE1, 0}; const int GUAC_KEYSYMS_SHIFT[] = {0xFFE1, 0};
const int GUAC_KEYSYMS_ALL_SHIFT[] = {0xFFE1, 0xFFE2, 0}; const int GUAC_KEYSYMS_ALL_SHIFT[] = {0xFFE1, 0xFFE2, 0};
const int GUAC_KEYSYMS_ALTGR[] = {0xFFEA, 0};
const int GUAC_KEYSYMS_SHIFT_ALTGR[] = {0xFFE1, 0xFFEA, 0};
const int GUAC_KEYSYMS_ALL_SHIFT_ALTGR[] = {0xFFE1, 0xFFE2, 0xFFEA, 0};
const int GUAC_KEYSYMS_CTRL[] = {0xFFE3, 0}; const int GUAC_KEYSYMS_CTRL[] = {0xFFE3, 0};
const int GUAC_KEYSYMS_ALL_CTRL[] = {0xFFE3, 0xFFE4, 0}; const int GUAC_KEYSYMS_ALL_CTRL[] = {0xFFE3, 0xFFE4, 0};

View File

@ -187,7 +187,11 @@ static guac_rdp_keysym_desc __guac_rdp_keymap_mapping[] = {
/* Alt_R */ /* Alt_R */
{ .keysym = 0xffea, .scancode = 0x38, { .keysym = 0xffea, .scancode = 0x38,
.set_keysyms = GUAC_KEYSYMS_CTRL }, .flags = KBD_FLAGS_EXTENDED },
/* ISO_Level3_Shift */
{ .keysym = 0xfe03, .scancode = 0x38,
.flags = KBD_FLAGS_EXTENDED },
/* Super_L */ /* Super_L */
{ .keysym = 0xffeb, .scancode = 0x5B, { .keysym = 0xffeb, .scancode = 0x5B,

View File

@ -52,163 +52,186 @@ static guac_rdp_keysym_desc __guac_rdp_keymap_mapping[] = {
/* exclam */ /* exclam */
{ .keysym = 0x0021, .scancode = 0x02, { .keysym = 0x0021, .scancode = 0x02,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* quotedbl */ /* quotedbl */
{ .keysym = 0x0022, .scancode = 0x03, { .keysym = 0x0022, .scancode = 0x03,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* numbersign */ /* numbersign */
{ .keysym = 0x0023, .scancode = 0x2b, { .keysym = 0x0023, .scancode = 0x2b,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* dollar */ /* dollar */
{ .keysym = 0x0024, .scancode = 0x05, { .keysym = 0x0024, .scancode = 0x05,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* percent */ /* percent */
{ .keysym = 0x0025, .scancode = 0x06, { .keysym = 0x0025, .scancode = 0x06,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* ampersand */ /* ampersand */
{ .keysym = 0x0026, .scancode = 0x07, { .keysym = 0x0026, .scancode = 0x07,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* quoteright */ /* quoteright */
{ .keysym = 0x0027, .scancode = 0x2b, { .keysym = 0x0027, .scancode = 0x2b,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* parenleft */ /* parenleft */
{ .keysym = 0x0028, .scancode = 0x09, { .keysym = 0x0028, .scancode = 0x09,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* parenright */ /* parenright */
{ .keysym = 0x0029, .scancode = 0x0A, { .keysym = 0x0029, .scancode = 0x0A,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* asterisk */ /* asterisk */
{ .keysym = 0x002a, .scancode = 0x1b, { .keysym = 0x002a, .scancode = 0x1b,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* plus */ /* plus */
{ .keysym = 0x002b, .scancode = 0x1b, { .keysym = 0x002b, .scancode = 0x1b,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* comma */ /* comma */
{ .keysym = 0x002c, .scancode = 0x33, { .keysym = 0x002c, .scancode = 0x33,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* minus */ /* minus */
{ .keysym = 0x002d, .scancode = 0x35, { .keysym = 0x002d, .scancode = 0x35,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* period */ /* period */
{ .keysym = 0x002e, .scancode = 0x34, { .keysym = 0x002e, .scancode = 0x34,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* slash */ /* slash */
{ .keysym = 0x002f, .scancode = 0x08, { .keysym = 0x002f, .scancode = 0x08,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* 0 */ /* 0 */
{ .keysym = 0x0030, .scancode = 0x0B, { .keysym = 0x0030, .scancode = 0x0B,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* 1 */ /* 1 */
{ .keysym = 0x0031, .scancode = 0x02, { .keysym = 0x0031, .scancode = 0x02,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* 2 */ /* 2 */
{ .keysym = 0x0032, .scancode = 0x03, { .keysym = 0x0032, .scancode = 0x03,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* 3 */ /* 3 */
{ .keysym = 0x0033, .scancode = 0x04, { .keysym = 0x0033, .scancode = 0x04,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* 4 */ /* 4 */
{ .keysym = 0x0034, .scancode = 0x05, { .keysym = 0x0034, .scancode = 0x05,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* 5 */ /* 5 */
{ .keysym = 0x0035, .scancode = 0x06, { .keysym = 0x0035, .scancode = 0x06,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* 6 */ /* 6 */
{ .keysym = 0x0036, .scancode = 0x07, { .keysym = 0x0036, .scancode = 0x07,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* 7 */ /* 7 */
{ .keysym = 0x0037, .scancode = 0x08, { .keysym = 0x0037, .scancode = 0x08,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* 8 */ /* 8 */
{ .keysym = 0x0038, .scancode = 0x09, { .keysym = 0x0038, .scancode = 0x09,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* 9 */ /* 9 */
{ .keysym = 0x0039, .scancode = 0x0A, { .keysym = 0x0039, .scancode = 0x0A,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* colon */ /* colon */
{ .keysym = 0x003a, .scancode = 0x34, { .keysym = 0x003a, .scancode = 0x34,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* semicolon */ /* semicolon */
{ .keysym = 0x003b, .scancode = 0x33, { .keysym = 0x003b, .scancode = 0x33,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* less */ /* less */
{ .keysym = 0x003c, .scancode = 0x56, { .keysym = 0x003c, .scancode = 0x56,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* equal */ /* equal */
{ .keysym = 0x003d, .scancode = 0x0B, { .keysym = 0x003d, .scancode = 0x0B,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* greater */ /* greater */
{ .keysym = 0x003e, .scancode = 0x56, { .keysym = 0x003e, .scancode = 0x56,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* question */ /* question */
{ .keysym = 0x003f, .scancode = 0x0c, { .keysym = 0x003f, .scancode = 0x0c,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* at */ /* at */
{ .keysym = 0x0040, .scancode = 0x10, { .keysym = 0x0040, .scancode = 0x10,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* A */ /* A */
{ .keysym = 0x0041, .scancode = 0x1E, { .keysym = 0x0041, .scancode = 0x1E,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* B */ /* B */
{ .keysym = 0x0042, .scancode = 0x30, { .keysym = 0x0042, .scancode = 0x30,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* C */ /* C */
{ .keysym = 0x0043, .scancode = 0x2E, { .keysym = 0x0043, .scancode = 0x2E,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* D */ /* D */
{ .keysym = 0x0044, .scancode = 0x20, { .keysym = 0x0044, .scancode = 0x20,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* E */ /* E */
{ .keysym = 0x0045, .scancode = 0x12, { .keysym = 0x0045, .scancode = 0x12,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* F */ /* F */
{ .keysym = 0x0046, .scancode = 0x21, { .keysym = 0x0046, .scancode = 0x21,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* G */ /* G */
{ .keysym = 0x0047, .scancode = 0x22, { .keysym = 0x0047, .scancode = 0x22,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* H */ /* H */
{ .keysym = 0x0048, .scancode = 0x23, { .keysym = 0x0048, .scancode = 0x23,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* I */ /* I */
@ -217,278 +240,301 @@ static guac_rdp_keysym_desc __guac_rdp_keymap_mapping[] = {
/* J */ /* J */
{ .keysym = 0x004a, .scancode = 0x24, { .keysym = 0x004a, .scancode = 0x24,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* K */ /* K */
{ .keysym = 0x004b, .scancode = 0x25, { .keysym = 0x004b, .scancode = 0x25,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* L */ /* L */
{ .keysym = 0x004c, .scancode = 0x26, { .keysym = 0x004c, .scancode = 0x26,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* M */ /* M */
{ .keysym = 0x004d, .scancode = 0x32, { .keysym = 0x004d, .scancode = 0x32,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* N */ /* N */
{ .keysym = 0x004e, .scancode = 0x31, { .keysym = 0x004e, .scancode = 0x31,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* O */ /* O */
{ .keysym = 0x004f, .scancode = 0x18, { .keysym = 0x004f, .scancode = 0x18,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* P */ /* P */
{ .keysym = 0x0050, .scancode = 0x19, { .keysym = 0x0050, .scancode = 0x19,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* Q */ /* Q */
{ .keysym = 0x0051, .scancode = 0x10, { .keysym = 0x0051, .scancode = 0x10,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* R */ /* R */
{ .keysym = 0x0052, .scancode = 0x13, { .keysym = 0x0052, .scancode = 0x13,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* S */ /* S */
{ .keysym = 0x0053, .scancode = 0x1F, { .keysym = 0x0053, .scancode = 0x1F,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* T */ /* T */
{ .keysym = 0x0054, .scancode = 0x14, { .keysym = 0x0054, .scancode = 0x14,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* U */ /* U */
{ .keysym = 0x0055, .scancode = 0x16, { .keysym = 0x0055, .scancode = 0x16,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* V */ /* V */
{ .keysym = 0x0056, .scancode = 0x2F, { .keysym = 0x0056, .scancode = 0x2F,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* W */ /* W */
{ .keysym = 0x0057, .scancode = 0x11, { .keysym = 0x0057, .scancode = 0x11,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* X */ /* X */
{ .keysym = 0x0058, .scancode = 0x2D, { .keysym = 0x0058, .scancode = 0x2D,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* Y */ /* Y */
{ .keysym = 0x0059, .scancode = 0x2c, { .keysym = 0x0059, .scancode = 0x2c,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* Z */ /* Z */
{ .keysym = 0x005a, .scancode = 0x15, { .keysym = 0x005a, .scancode = 0x15,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* bracketleft */ /* bracketleft */
{ .keysym = 0x005b, .scancode = 0x09, { .keysym = 0x005b, .scancode = 0x09,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* backslash */ /* backslash */
{ .keysym = 0x005c, .scancode = 0x0c, { .keysym = 0x005c, .scancode = 0x0c,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* bracketright */ /* bracketright */
{ .keysym = 0x005d, .scancode = 0x0a, { .keysym = 0x005d, .scancode = 0x0a,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* underscore */ /* underscore */
{ .keysym = 0x005f, .scancode = 0x35, { .keysym = 0x005f, .scancode = 0x35,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* dead grave (WRONG) */ /* dead grave (WRONG) */
{ .keysym = 0xfe50, .scancode = 0x0d, { .keysym = 0xfe50, .scancode = 0x0d,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* dead acute (WRONG) */ /* dead acute (WRONG) */
{ .keysym = 0xfe51, .scancode = 0x0d, { .keysym = 0xfe51, .scancode = 0x0d,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* dead circum */ /* dead circum */
{ .keysym = 0xfe52, .scancode = 0x29, { .keysym = 0xfe52, .scancode = 0x29,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* degree */ /* degree */
{ .keysym = 0x00b0, .scancode = 0x29, { .keysym = 0x00b0, .scancode = 0x29,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* a */ /* a */
{ .keysym = 0x0061, .scancode = 0x1E, { .keysym = 0x0061, .scancode = 0x1E,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* b */ /* b */
{ .keysym = 0x0062, .scancode = 0x30, { .keysym = 0x0062, .scancode = 0x30,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* c */ /* c */
{ .keysym = 0x0063, .scancode = 0x2E, { .keysym = 0x0063, .scancode = 0x2E,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* d */ /* d */
{ .keysym = 0x0064, .scancode = 0x20, { .keysym = 0x0064, .scancode = 0x20,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* e */ /* e */
{ .keysym = 0x0065, .scancode = 0x12, { .keysym = 0x0065, .scancode = 0x12,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* f */ /* f */
{ .keysym = 0x0066, .scancode = 0x21, { .keysym = 0x0066, .scancode = 0x21,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* g */ /* g */
{ .keysym = 0x0067, .scancode = 0x22, { .keysym = 0x0067, .scancode = 0x22,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* h */ /* h */
{ .keysym = 0x0068, .scancode = 0x23, { .keysym = 0x0068, .scancode = 0x23,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* i */ /* i */
{ .keysym = 0x0069, .scancode = 0x17, { .keysym = 0x0069, .scancode = 0x17,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* j */ /* j */
{ .keysym = 0x006a, .scancode = 0x24, { .keysym = 0x006a, .scancode = 0x24,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* k */ /* k */
{ .keysym = 0x006b, .scancode = 0x25, { .keysym = 0x006b, .scancode = 0x25,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* l */ /* l */
{ .keysym = 0x006c, .scancode = 0x26, { .keysym = 0x006c, .scancode = 0x26,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* m */ /* m */
{ .keysym = 0x006d, .scancode = 0x32, { .keysym = 0x006d, .scancode = 0x32,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* n */ /* n */
{ .keysym = 0x006e, .scancode = 0x31, { .keysym = 0x006e, .scancode = 0x31,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* o */ /* o */
{ .keysym = 0x006f, .scancode = 0x18, { .keysym = 0x006f, .scancode = 0x18,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* p */ /* p */
{ .keysym = 0x0070, .scancode = 0x19, { .keysym = 0x0070, .scancode = 0x19,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* q */ /* q */
{ .keysym = 0x0071, .scancode = 0x10, { .keysym = 0x0071, .scancode = 0x10,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* r */ /* r */
{ .keysym = 0x0072, .scancode = 0x13, { .keysym = 0x0072, .scancode = 0x13,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* s */ /* s */
{ .keysym = 0x0073, .scancode = 0x1F, { .keysym = 0x0073, .scancode = 0x1F,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* t */ /* t */
{ .keysym = 0x0074, .scancode = 0x14, { .keysym = 0x0074, .scancode = 0x14,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* u */ /* u */
{ .keysym = 0x0075, .scancode = 0x16, { .keysym = 0x0075, .scancode = 0x16,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* v */ /* v */
{ .keysym = 0x0076, .scancode = 0x2F, { .keysym = 0x0076, .scancode = 0x2F,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* w */ /* w */
{ .keysym = 0x0077, .scancode = 0x11, { .keysym = 0x0077, .scancode = 0x11,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* x */ /* x */
{ .keysym = 0x0078, .scancode = 0x2D, { .keysym = 0x0078, .scancode = 0x2D,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* y */ /* y */
{ .keysym = 0x0079, .scancode = 0x2c, { .keysym = 0x0079, .scancode = 0x2c,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* z */ /* z */
{ .keysym = 0x007a, .scancode = 0x15, { .keysym = 0x007a, .scancode = 0x15,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* ä */ /* ä */
{ .keysym = 0x00e4, .scancode = 0x28, { .keysym = 0x00e4, .scancode = 0x28,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* Ä */ /* Ä */
{ .keysym = 0x00c4, .scancode = 0x28, { .keysym = 0x00c4, .scancode = 0x28,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* ö */ /* ö */
{ .keysym = 0x00f6, .scancode = 0x27, { .keysym = 0x00f6, .scancode = 0x27,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* Ö */ /* Ö */
{ .keysym = 0x00d6, .scancode = 0x27, { .keysym = 0x00d6, .scancode = 0x27,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* ü */ /* ü */
{ .keysym = 0x00fc, .scancode = 0x1a, { .keysym = 0x00fc, .scancode = 0x1a,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* Ü */ /* Ü */
{ .keysym = 0x00dc, .scancode = 0x1a, { .keysym = 0x00dc, .scancode = 0x1a,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* ß */ /* ß */
{ .keysym = 0x00df, .scancode = 0x0c, { .keysym = 0x00df, .scancode = 0x0c,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* braceleft */ /* braceleft */
{ .keysym = 0x007b, .scancode = 0x08, { .keysym = 0x007b, .scancode = 0x08,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* bar */ /* bar */
{ .keysym = 0x007c, .scancode = 0x56, { .keysym = 0x007c, .scancode = 0x56,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* braceright */ /* braceright */
{ .keysym = 0x007d, .scancode = 0x0b, { .keysym = 0x007d, .scancode = 0x0b,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* dead tilde */ /* dead tilde */
{ .keysym = 0xfe53, .scancode = 0x1b, { .keysym = 0xfe53, .scancode = 0x1b,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* euro */ /* euro */
{ .keysym = 0x10020ac, .scancode = 0x12, { .keysym = 0x10020ac, .scancode = 0x12,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* mu */ /* mu */
{ .keysym = 0x00b5, .scancode = 0x32, { .keysym = 0x00b5, .scancode = 0x32,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* two superior */ /* two superior */
{ .keysym = 0x00b2, .scancode = 0x03, { .keysym = 0x00b2, .scancode = 0x03,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* three superior */ /* three superior */
{ .keysym = 0x00b3, .scancode = 0x04, { .keysym = 0x00b3, .scancode = 0x04,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
{0} {0}

View File

@ -54,448 +54,495 @@ static guac_rdp_keysym_desc __guac_rdp_keymap_mapping[] = {
/* exclam */ /* exclam */
{ .keysym = 0x0021, .scancode = 0x35, { .keysym = 0x0021, .scancode = 0x35,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* quotedbl */ /* quotedbl */
{ .keysym = 0x0022, .scancode = 0x04, { .keysym = 0x0022, .scancode = 0x04,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* numbersign */ /* numbersign */
{ .keysym = 0x0023, .scancode = 0x04, { .keysym = 0x0023, .scancode = 0x04,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* dollar */ /* dollar */
{ .keysym = 0x0024, .scancode = 0x1b, { .keysym = 0x0024, .scancode = 0x1b,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* percent */ /* percent */
{ .keysym = 0x0025, .scancode = 0x28, { .keysym = 0x0025, .scancode = 0x28,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* ampersand */ /* ampersand */
{ .keysym = 0x0026, .scancode = 0x02, { .keysym = 0x0026, .scancode = 0x02,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* quoteright */ /* quoteright */
{ .keysym = 0x0027, .scancode = 0x05, { .keysym = 0x0027, .scancode = 0x05,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* parenleft */ /* parenleft */
{ .keysym = 0x0028, .scancode = 0x06, { .keysym = 0x0028, .scancode = 0x06,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* parenright */ /* parenright */
{ .keysym = 0x0029, .scancode = 0x0c, { .keysym = 0x0029, .scancode = 0x0c,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* asterisk */ /* asterisk */
{ .keysym = 0x002a, .scancode = 0x2b, { .keysym = 0x002a, .scancode = 0x2b,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* plus */ /* plus */
{ .keysym = 0x002b, .scancode = 0x0D, { .keysym = 0x002b, .scancode = 0x0D,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* comma */ /* comma */
{ .keysym = 0x002c, .scancode = 0x32, { .keysym = 0x002c, .scancode = 0x32,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* minus */ /* minus */
{ .keysym = 0x002d, .scancode = 0x07, { .keysym = 0x002d, .scancode = 0x07,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* period */ /* period */
{ .keysym = 0x002e, .scancode = 0x33, { .keysym = 0x002e, .scancode = 0x33,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* slash */ /* slash */
{ .keysym = 0x002f, .scancode = 0x34, { .keysym = 0x002f, .scancode = 0x34,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* 0 */ /* 0 */
{ .keysym = 0x0030, .scancode = 0x0B, { .keysym = 0x0030, .scancode = 0x0B,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* 1 */ /* 1 */
{ .keysym = 0x0031, .scancode = 0x02, { .keysym = 0x0031, .scancode = 0x02,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* 2 */ /* 2 */
{ .keysym = 0x0032, .scancode = 0x03, { .keysym = 0x0032, .scancode = 0x03,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* 3 */ /* 3 */
{ .keysym = 0x0033, .scancode = 0x04, { .keysym = 0x0033, .scancode = 0x04,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* 4 */ /* 4 */
{ .keysym = 0x0034, .scancode = 0x05, { .keysym = 0x0034, .scancode = 0x05,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* 5 */ /* 5 */
{ .keysym = 0x0035, .scancode = 0x06, { .keysym = 0x0035, .scancode = 0x06,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* 6 */ /* 6 */
{ .keysym = 0x0036, .scancode = 0x07, { .keysym = 0x0036, .scancode = 0x07,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* 7 */ /* 7 */
{ .keysym = 0x0037, .scancode = 0x08, { .keysym = 0x0037, .scancode = 0x08,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* 8 */ /* 8 */
{ .keysym = 0x0038, .scancode = 0x09, { .keysym = 0x0038, .scancode = 0x09,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* 9 */ /* 9 */
{ .keysym = 0x0039, .scancode = 0x0A, { .keysym = 0x0039, .scancode = 0x0A,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* colon */ /* colon */
{ .keysym = 0x003a, .scancode = 0x34, { .keysym = 0x003a, .scancode = 0x34,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* semicolon */ /* semicolon */
{ .keysym = 0x003b, .scancode = 0x33, { .keysym = 0x003b, .scancode = 0x33,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* less */ /* less */
{ .keysym = 0x003c, .scancode = 0x56, { .keysym = 0x003c, .scancode = 0x56,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* equal */ /* equal */
{ .keysym = 0x003d, .scancode = 0x0D, { .keysym = 0x003d, .scancode = 0x0D,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* greater */ /* greater */
{ .keysym = 0x003e, .scancode = 0x56, { .keysym = 0x003e, .scancode = 0x56,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* question */ /* question */
{ .keysym = 0x003f, .scancode = 0x32, { .keysym = 0x003f, .scancode = 0x32,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* at */ /* at */
{ .keysym = 0x0040, .scancode = 0x0B, { .keysym = 0x0040, .scancode = 0x0B,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* A */ /* A */
{ .keysym = 0x0041, .scancode = 0x10, { .keysym = 0x0041, .scancode = 0x10,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* B */ /* B */
{ .keysym = 0x0042, .scancode = 0x30, { .keysym = 0x0042, .scancode = 0x30,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* C */ /* C */
{ .keysym = 0x0043, .scancode = 0x2E, { .keysym = 0x0043, .scancode = 0x2E,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* D */ /* D */
{ .keysym = 0x0044, .scancode = 0x20, { .keysym = 0x0044, .scancode = 0x20,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* E */ /* E */
{ .keysym = 0x0045, .scancode = 0x12, { .keysym = 0x0045, .scancode = 0x12,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* F */ /* F */
{ .keysym = 0x0046, .scancode = 0x21, { .keysym = 0x0046, .scancode = 0x21,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* G */ /* G */
{ .keysym = 0x0047, .scancode = 0x22, { .keysym = 0x0047, .scancode = 0x22,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* H */ /* H */
{ .keysym = 0x0048, .scancode = 0x23, { .keysym = 0x0048, .scancode = 0x23,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* I */ /* I */
{ .keysym = 0x0049, .scancode = 0x17, { .keysym = 0x0049, .scancode = 0x17,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* J */ /* J */
{ .keysym = 0x004a, .scancode = 0x24, { .keysym = 0x004a, .scancode = 0x24,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* K */ /* K */
{ .keysym = 0x004b, .scancode = 0x25, { .keysym = 0x004b, .scancode = 0x25,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* L */ /* L */
{ .keysym = 0x004c, .scancode = 0x26, { .keysym = 0x004c, .scancode = 0x26,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* M */ /* M */
{ .keysym = 0x004d, .scancode = 0x27, { .keysym = 0x004d, .scancode = 0x27,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* N */ /* N */
{ .keysym = 0x004e, .scancode = 0x31, { .keysym = 0x004e, .scancode = 0x31,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* O */ /* O */
{ .keysym = 0x004f, .scancode = 0x18, { .keysym = 0x004f, .scancode = 0x18,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* P */ /* P */
{ .keysym = 0x0050, .scancode = 0x19, { .keysym = 0x0050, .scancode = 0x19,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* Q */ /* Q */
{ .keysym = 0x0051, .scancode = 0x1E, { .keysym = 0x0051, .scancode = 0x1E,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* R */ /* R */
{ .keysym = 0x0052, .scancode = 0x13, { .keysym = 0x0052, .scancode = 0x13,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* S */ /* S */
{ .keysym = 0x0053, .scancode = 0x1F, { .keysym = 0x0053, .scancode = 0x1F,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* T */ /* T */
{ .keysym = 0x0054, .scancode = 0x14, { .keysym = 0x0054, .scancode = 0x14,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* U */ /* U */
{ .keysym = 0x0055, .scancode = 0x16, { .keysym = 0x0055, .scancode = 0x16,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* V */ /* V */
{ .keysym = 0x0056, .scancode = 0x2F, { .keysym = 0x0056, .scancode = 0x2F,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* W */ /* W */
{ .keysym = 0x0057, .scancode = 0x2C, { .keysym = 0x0057, .scancode = 0x2C,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* X */ /* X */
{ .keysym = 0x0058, .scancode = 0x2D, { .keysym = 0x0058, .scancode = 0x2D,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* Y */ /* Y */
{ .keysym = 0x0059, .scancode = 0x15, { .keysym = 0x0059, .scancode = 0x15,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* Z */ /* Z */
{ .keysym = 0x005a, .scancode = 0x11, { .keysym = 0x005a, .scancode = 0x11,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* bracketleft */ /* bracketleft */
{ .keysym = 0x005b, .scancode = 0x06, { .keysym = 0x005b, .scancode = 0x06,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* backslash */ /* backslash */
{ .keysym = 0x005c, .scancode = 0x09, { .keysym = 0x005c, .scancode = 0x09,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* bracketright */ /* bracketright */
{ .keysym = 0x005d, .scancode = 0x0c, { .keysym = 0x005d, .scancode = 0x0c,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* asciicircum */ /* asciicircum */
{ .keysym = 0x005e, .scancode = 0x0a, { .keysym = 0x005e, .scancode = 0x0a,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* underscore */ /* underscore */
{ .keysym = 0x005f, .scancode = 0x09, { .keysym = 0x005f, .scancode = 0x09,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* quoteleft */ /* quoteleft */
{ .keysym = 0x0060, .scancode = 0x08, { .keysym = 0x0060, .scancode = 0x08,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* a */ /* a */
{ .keysym = 0x0061, .scancode = 0x10, { .keysym = 0x0061, .scancode = 0x10,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* b */ /* b */
{ .keysym = 0x0062, .scancode = 0x30, { .keysym = 0x0062, .scancode = 0x30,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* c */ /* c */
{ .keysym = 0x0063, .scancode = 0x2E, { .keysym = 0x0063, .scancode = 0x2E,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* d */ /* d */
{ .keysym = 0x0064, .scancode = 0x20, { .keysym = 0x0064, .scancode = 0x20,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* e */ /* e */
{ .keysym = 0x0065, .scancode = 0x12, { .keysym = 0x0065, .scancode = 0x12,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* f */ /* f */
{ .keysym = 0x0066, .scancode = 0x21, { .keysym = 0x0066, .scancode = 0x21,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* g */ /* g */
{ .keysym = 0x0067, .scancode = 0x22, { .keysym = 0x0067, .scancode = 0x22,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* h */ /* h */
{ .keysym = 0x0068, .scancode = 0x23, { .keysym = 0x0068, .scancode = 0x23,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* i */ /* i */
{ .keysym = 0x0069, .scancode = 0x17, { .keysym = 0x0069, .scancode = 0x17,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* j */ /* j */
{ .keysym = 0x006a, .scancode = 0x24, { .keysym = 0x006a, .scancode = 0x24,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* k */ /* k */
{ .keysym = 0x006b, .scancode = 0x25, { .keysym = 0x006b, .scancode = 0x25,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* l */ /* l */
{ .keysym = 0x006c, .scancode = 0x26, { .keysym = 0x006c, .scancode = 0x26,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* m */ /* m */
{ .keysym = 0x006d, .scancode = 0x27, { .keysym = 0x006d, .scancode = 0x27,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* n */ /* n */
{ .keysym = 0x006e, .scancode = 0x31, { .keysym = 0x006e, .scancode = 0x31,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* o */ /* o */
{ .keysym = 0x006f, .scancode = 0x18, { .keysym = 0x006f, .scancode = 0x18,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* p */ /* p */
{ .keysym = 0x0070, .scancode = 0x19, { .keysym = 0x0070, .scancode = 0x19,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* q */ /* q */
{ .keysym = 0x0071, .scancode = 0x1E, { .keysym = 0x0071, .scancode = 0x1E,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* r */ /* r */
{ .keysym = 0x0072, .scancode = 0x13, { .keysym = 0x0072, .scancode = 0x13,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* s */ /* s */
{ .keysym = 0x0073, .scancode = 0x1F, { .keysym = 0x0073, .scancode = 0x1F,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* t */ /* t */
{ .keysym = 0x0074, .scancode = 0x14, { .keysym = 0x0074, .scancode = 0x14,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* u */ /* u */
{ .keysym = 0x0075, .scancode = 0x16, { .keysym = 0x0075, .scancode = 0x16,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* v */ /* v */
{ .keysym = 0x0076, .scancode = 0x2F, { .keysym = 0x0076, .scancode = 0x2F,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* w */ /* w */
{ .keysym = 0x0077, .scancode = 0x2C, { .keysym = 0x0077, .scancode = 0x2C,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* x */ /* x */
{ .keysym = 0x0078, .scancode = 0x2D, { .keysym = 0x0078, .scancode = 0x2D,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* y */ /* y */
{ .keysym = 0x0079, .scancode = 0x15, { .keysym = 0x0079, .scancode = 0x15,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* z */ /* z */
{ .keysym = 0x007a, .scancode = 0x11, { .keysym = 0x007a, .scancode = 0x11,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* braceleft */ /* braceleft */
{ .keysym = 0x007b, .scancode = 0x05, { .keysym = 0x007b, .scancode = 0x05,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* bar */ /* bar */
{ .keysym = 0x007c, .scancode = 0x07, { .keysym = 0x007c, .scancode = 0x07,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* braceright */ /* braceright */
{ .keysym = 0x007d, .scancode = 0x0D, { .keysym = 0x007d, .scancode = 0x0D,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* asciitilde */ /* asciitilde */
{ .keysym = 0x007e, .scancode = 0x03, { .keysym = 0x007e, .scancode = 0x03,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* pound */ /* pound */
{ .keysym = 0x00a3, .scancode = 0x1b, { .keysym = 0x00a3, .scancode = 0x1b,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* currency */ /* currency */
{ .keysym = 0x00a4, .scancode = 0x1b, { .keysym = 0x00a4, .scancode = 0x1b,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* section */ /* section */
{ .keysym = 0x00a7, .scancode = 0x35, { .keysym = 0x00a7, .scancode = 0x35,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* degree */ /* degree */
{ .keysym = 0x00b0, .scancode = 0x0c, { .keysym = 0x00b0, .scancode = 0x0c,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* micro */ /* micro */
{ .keysym = 0x00b5, .scancode = 0x2b, { .keysym = 0x00b5, .scancode = 0x2b,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* dead umlaut */ /* dead umlaut */
{ .keysym = 0xfe57, .scancode = 0x1a, { .keysym = 0xfe57, .scancode = 0x1a,
.clear_keysyms = GUAC_KEYSYMS_ALTGR,
.set_keysyms = GUAC_KEYSYMS_SHIFT }, .set_keysyms = GUAC_KEYSYMS_SHIFT },
/* dead circum */ /* dead circum */
{ .keysym = 0xfe52, .scancode = 0x1a, { .keysym = 0xfe52, .scancode = 0x1a,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* à */ /* à */
{ .keysym = 0x00e0, .scancode = 0x0b, { .keysym = 0x00e0, .scancode = 0x0b,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* ç */ /* ç */
{ .keysym = 0x00e7, .scancode = 0x0a, { .keysym = 0x00e7, .scancode = 0x0a,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* è */ /* è */
{ .keysym = 0x00e8, .scancode = 0x08, { .keysym = 0x00e8, .scancode = 0x08,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* é */ /* é */
{ .keysym = 0x00e9, .scancode = 0x03, { .keysym = 0x00e9, .scancode = 0x03,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* ù */ /* ù */
{ .keysym = 0x00f9, .scancode = 0x28, { .keysym = 0x00f9, .scancode = 0x28,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
/* euro */ /* euro */
{ .keysym = 0x10020ac, .scancode = 0x12, { .keysym = 0x10020ac, .scancode = 0x12,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT,
.set_keysyms = GUAC_KEYSYMS_CTRL_ALT }, .set_keysyms = GUAC_KEYSYMS_ALTGR },
/* two superior */ /* two superior */
{ .keysym = 0x00b2, .scancode = 0x29, { .keysym = 0x00b2, .scancode = 0x29,
.clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT }, .clear_keysyms = GUAC_KEYSYMS_ALL_SHIFT_ALTGR },
{0} {0}