43 #include "x11keysym/keysym.h"
59 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
60 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
61 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
62 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
63 0x0029, 0x0116, 0x0152, 0x0126, 0x0125, 0x012e, 0x013d, 0x0052,
64 0x0146, 0x0145, 0x013e, 0x0155, 0x0041, 0x004e, 0x0049, 0x004a,
65 0x0045, 0x0016, 0x001e, 0x0026, 0x0025, 0x002e, 0x0036, 0x003d,
66 0x003e, 0x0046, 0x014c, 0x004c, 0x0141, 0x0055, 0x0149, 0x014a,
67 0x011e, 0x011c, 0x0132, 0x0121, 0x0123, 0x0124, 0x012b, 0x0134,
68 0x0133, 0x0143, 0x013b, 0x0142, 0x014b, 0x013a, 0x0131, 0x0144,
69 0x014d, 0x0115, 0x012d, 0x011b, 0x012c, 0x013c, 0x012a, 0x011d,
70 0x0122, 0x0135, 0x011a, 0x0054, 0x005d, 0x005b, 0x0136, 0x014e,
71 0x000e, 0x001c, 0x0032, 0x0021, 0x0023, 0x0024, 0x002b, 0x0034,
72 0x0033, 0x0043, 0x003b, 0x0042, 0x004b, 0x003a, 0x0031, 0x0044,
73 0x004d, 0x0015, 0x002d, 0x001b, 0x002c, 0x003c, 0x002a, 0x001d,
74 0x0022, 0x0035, 0x001a, 0x0154, 0x015d, 0x015b, 0x010e, 0x0000
86 if (key <= XK_asciitilde) {
88 uint8_t code = tmp & 0xff;
89 bool shift = tmp >> 8;
104 keys.push_back(code);
108 bool extended =
false;
111 keys.push_back(0x66);
114 keys.push_back(0x0d);
117 keys.push_back(0x5a);
120 keys.push_back(0x76);
124 keys.push_back(0x71);
128 keys.push_back(0x6c);
132 keys.push_back(0x6b);
136 keys.push_back(0x74);
140 keys.push_back(0x72);
144 keys.push_back(0x75);
148 keys.push_back(0x7d);
152 keys.push_back(0x7a);
156 keys.push_back(0x69);
159 keys.push_back(0x12);
166 keys.push_back(0x59);
173 keys.push_back(0x14);
177 keys.push_back(0x14);
180 keys.push_back(0x11);
184 keys.push_back(0x11);
187 warn(
"Unknown extended key %#x\n", key);