blob: 530fd910a8dc2801ef1ee478adf2ce19512f7955 [file] [log] [blame]
swissChili19ef4182021-02-21 17:45:51 -08001#include "kbd.h"
2
3
4const struct kbd_scan_codes scan_code_set_1[0xff] =
5{
6 [41] = { .ascii = true, .symbol = '`',
7 .up_symbol = '~', .prefix = 169 },
8 [169] = { .ascii = true, .symbol = '`',
9 .up_symbol = '~', .prefix = 169, .brk = true },
10 [2] = { .ascii = true, .symbol = '1',
11 .up_symbol = '!', .prefix = 130 },
12 [130] = { .ascii = true, .symbol = '1',
13 .up_symbol = '!', .prefix = 130, .brk = true },
14 [3] = { .ascii = true, .symbol = '2',
15 .up_symbol = '@', .prefix = 131 },
16 [131] = { .ascii = true, .symbol = '2',
17 .up_symbol = '@', .prefix = 131, .brk = true },
18 [4] = { .ascii = true, .symbol = '3',
19 .up_symbol = '#', .prefix = 132 },
20 [132] = { .ascii = true, .symbol = '3',
21 .up_symbol = '#', .prefix = 132, .brk = true },
22 [5] = { .ascii = true, .symbol = '4',
23 .up_symbol = '$', .prefix = 133 },
24 [133] = { .ascii = true, .symbol = '4',
25 .up_symbol = '$', .prefix = 133, .brk = true },
26 [6] = { .ascii = true, .symbol = '5',
27 .up_symbol = '%', .prefix = 134 },
28 [134] = { .ascii = true, .symbol = '5',
29 .up_symbol = '%', .prefix = 134, .brk = true },
30 [7] = { .ascii = true, .symbol = '6',
31 .up_symbol = '^', .prefix = 135 },
32 [135] = { .ascii = true, .symbol = '6',
33 .up_symbol = '^', .prefix = 135, .brk = true },
34 [8] = { .ascii = true, .symbol = '7',
35 .up_symbol = '&', .prefix = 136 },
36 [136] = { .ascii = true, .symbol = '7',
37 .up_symbol = '&', .prefix = 136, .brk = true },
38 [9] = { .ascii = true, .symbol = '8',
39 .up_symbol = '*', .prefix = 137 },
40 [137] = { .ascii = true, .symbol = '8',
41 .up_symbol = '*', .prefix = 137, .brk = true },
42 [10] = { .ascii = true, .symbol = '9',
43 .up_symbol = '(', .prefix = 138 },
44 [138] = { .ascii = true, .symbol = '9',
45 .up_symbol = '(', .prefix = 138, .brk = true },
46 [11] = { .ascii = true, .symbol = '0',
47 .up_symbol = ')', .prefix = 139 },
48 [139] = { .ascii = true, .symbol = '0',
49 .up_symbol = ')', .prefix = 139, .brk = true },
50 [12] = { .ascii = true, .symbol = '-',
51 .up_symbol = '_', .prefix = 140 },
52 [140] = { .ascii = true, .symbol = '-',
53 .up_symbol = '_', .prefix = 140, .brk = true },
54 [13] = { .ascii = true, .symbol = '=',
55 .up_symbol = '+', .prefix = 141 },
56 [141] = { .ascii = true, .symbol = '=',
57 .up_symbol = '+', .prefix = 141, .brk = true },
58 [14] = { .ascii = false, .symbol = KBD_BACKSPACE,
59 .up_symbol = NULL, .prefix = 142 },
60 [142] = { .ascii = false, .symbol = KBD_BACKSPACE,
61 .up_symbol = NULL, .prefix = 142, .brk = true },
62 [15] = { .ascii = false, .symbol = KBD_TAB,
63 .up_symbol = NULL, .prefix = 143 },
64 [143] = { .ascii = false, .symbol = KBD_TAB,
65 .up_symbol = NULL, .prefix = 143, .brk = true },
66 [16] = { .ascii = true, .symbol = 'q',
67 .up_symbol = 'Q', .prefix = 144 },
68 [144] = { .ascii = true, .symbol = 'q',
69 .up_symbol = 'Q', .prefix = 144, .brk = true },
70 [17] = { .ascii = true, .symbol = 'w',
71 .up_symbol = 'W', .prefix = 145 },
72 [145] = { .ascii = true, .symbol = 'w',
73 .up_symbol = 'W', .prefix = 145, .brk = true },
74 [18] = { .ascii = true, .symbol = 'e',
75 .up_symbol = 'E', .prefix = 146 },
76 [146] = { .ascii = true, .symbol = 'e',
77 .up_symbol = 'E', .prefix = 146, .brk = true },
78 [19] = { .ascii = true, .symbol = 'r',
79 .up_symbol = 'R', .prefix = 147 },
80 [147] = { .ascii = true, .symbol = 'r',
81 .up_symbol = 'R', .prefix = 147, .brk = true },
82 [20] = { .ascii = true, .symbol = 't',
83 .up_symbol = 'T', .prefix = 148 },
84 [148] = { .ascii = true, .symbol = 't',
85 .up_symbol = 'T', .prefix = 148, .brk = true },
86 [21] = { .ascii = true, .symbol = 'y',
87 .up_symbol = 'Y', .prefix = 149 },
88 [149] = { .ascii = true, .symbol = 'y',
89 .up_symbol = 'Y', .prefix = 149, .brk = true },
90 [22] = { .ascii = true, .symbol = 'u',
91 .up_symbol = 'U', .prefix = 150 },
92 [150] = { .ascii = true, .symbol = 'u',
93 .up_symbol = 'U', .prefix = 150, .brk = true },
94 [23] = { .ascii = true, .symbol = 'i',
95 .up_symbol = 'I', .prefix = 151 },
96 [151] = { .ascii = true, .symbol = 'i',
97 .up_symbol = 'I', .prefix = 151, .brk = true },
98 [24] = { .ascii = true, .symbol = 'o',
99 .up_symbol = 'O', .prefix = 152 },
100 [152] = { .ascii = true, .symbol = 'o',
101 .up_symbol = 'O', .prefix = 152, .brk = true },
102 [25] = { .ascii = true, .symbol = 'p',
103 .up_symbol = 'P', .prefix = 153 },
104 [153] = { .ascii = true, .symbol = 'p',
105 .up_symbol = 'P', .prefix = 153, .brk = true },
106 [26] = { .ascii = true, .symbol = '[',
107 .up_symbol = '{', .prefix = 154 },
108 [154] = { .ascii = true, .symbol = '[',
109 .up_symbol = '{', .prefix = 154, .brk = true },
110 [27] = { .ascii = true, .symbol = ']',
111 .up_symbol = '}', .prefix = 155 },
112 [155] = { .ascii = true, .symbol = ']',
113 .up_symbol = '}', .prefix = 155, .brk = true },
114 [58] = { .ascii = false, .symbol = KBD_CAPS_LOCK,
115 .up_symbol = NULL, .prefix = 186 },
116 [186] = { .ascii = false, .symbol = KBD_CAPS_LOCK,
117 .up_symbol = NULL, .prefix = 186, .brk = true },
118 [30] = { .ascii = true, .symbol = 'a',
119 .up_symbol = 'A', .prefix = 158 },
120 [158] = { .ascii = true, .symbol = 'a',
121 .up_symbol = 'A', .prefix = 158, .brk = true },
122 [31] = { .ascii = true, .symbol = 's',
123 .up_symbol = 'S', .prefix = 159 },
124 [159] = { .ascii = true, .symbol = 's',
125 .up_symbol = 'S', .prefix = 159, .brk = true },
126 [32] = { .ascii = true, .symbol = 'd',
127 .up_symbol = 'D', .prefix = 160 },
128 [160] = { .ascii = true, .symbol = 'd',
129 .up_symbol = 'D', .prefix = 160, .brk = true },
130 [33] = { .ascii = true, .symbol = 'f',
131 .up_symbol = 'F', .prefix = 161 },
132 [161] = { .ascii = true, .symbol = 'f',
133 .up_symbol = 'F', .prefix = 161, .brk = true },
134 [34] = { .ascii = true, .symbol = 'g',
135 .up_symbol = 'G', .prefix = 162 },
136 [162] = { .ascii = true, .symbol = 'g',
137 .up_symbol = 'G', .prefix = 162, .brk = true },
138 [35] = { .ascii = true, .symbol = 'h',
139 .up_symbol = 'H', .prefix = 163 },
140 [163] = { .ascii = true, .symbol = 'h',
141 .up_symbol = 'H', .prefix = 163, .brk = true },
142 [36] = { .ascii = true, .symbol = 'j',
143 .up_symbol = 'J', .prefix = 164 },
144 [164] = { .ascii = true, .symbol = 'j',
145 .up_symbol = 'J', .prefix = 164, .brk = true },
146 [37] = { .ascii = true, .symbol = 'k',
147 .up_symbol = 'K', .prefix = 165 },
148 [165] = { .ascii = true, .symbol = 'k',
149 .up_symbol = 'K', .prefix = 165, .brk = true },
150 [38] = { .ascii = true, .symbol = 'l',
151 .up_symbol = 'L', .prefix = 166 },
152 [166] = { .ascii = true, .symbol = 'l',
153 .up_symbol = 'L', .prefix = 166, .brk = true },
154 [39] = { .ascii = true, .symbol = ';',
155 .up_symbol = ':', .prefix = 167 },
156 [167] = { .ascii = true, .symbol = ';',
157 .up_symbol = ':', .prefix = 167, .brk = true },
158 [40] = { .ascii = true, .symbol = '\'',
159 .up_symbol = '"', .prefix = 168 },
160 [168] = { .ascii = true, .symbol = '\'',
161 .up_symbol = '"', .prefix = 168, .brk = true },
162 [28] = { .ascii = false, .symbol = KBD_ENTER,
163 .up_symbol = NULL, .prefix = 156 },
164 [156] = { .ascii = false, .symbol = KBD_ENTER,
165 .up_symbol = NULL, .prefix = 156, .brk = true },
166 [42] = { .ascii = false, .symbol = KBD_LEFT_SHIFT,
167 .up_symbol = NULL, .prefix = 170 },
168 [170] = { .ascii = false, .symbol = KBD_LEFT_SHIFT,
169 .up_symbol = NULL, .prefix = 170, .brk = true },
170 [44] = { .ascii = true, .symbol = 'z',
171 .up_symbol = 'Z', .prefix = 172 },
172 [172] = { .ascii = true, .symbol = 'z',
173 .up_symbol = 'Z', .prefix = 172, .brk = true },
174 [45] = { .ascii = true, .symbol = 'x',
175 .up_symbol = 'X', .prefix = 173 },
176 [173] = { .ascii = true, .symbol = 'x',
177 .up_symbol = 'X', .prefix = 173, .brk = true },
178 [46] = { .ascii = true, .symbol = 'c',
179 .up_symbol = 'C', .prefix = 174 },
180 [174] = { .ascii = true, .symbol = 'c',
181 .up_symbol = 'C', .prefix = 174, .brk = true },
182 [47] = { .ascii = true, .symbol = 'v',
183 .up_symbol = 'V', .prefix = 175 },
184 [175] = { .ascii = true, .symbol = 'v',
185 .up_symbol = 'V', .prefix = 175, .brk = true },
186 [48] = { .ascii = true, .symbol = 'b',
187 .up_symbol = 'B', .prefix = 176 },
188 [176] = { .ascii = true, .symbol = 'b',
189 .up_symbol = 'B', .prefix = 176, .brk = true },
190 [49] = { .ascii = true, .symbol = 'n',
191 .up_symbol = 'N', .prefix = 177 },
192 [177] = { .ascii = true, .symbol = 'n',
193 .up_symbol = 'N', .prefix = 177, .brk = true },
194 [50] = { .ascii = true, .symbol = 'm',
195 .up_symbol = 'M', .prefix = 178 },
196 [178] = { .ascii = true, .symbol = 'm',
197 .up_symbol = 'M', .prefix = 178, .brk = true },
198 [51] = { .ascii = true, .symbol = ',',
199 .up_symbol = '<', .prefix = 179 },
200 [179] = { .ascii = true, .symbol = ',',
201 .up_symbol = '<', .prefix = 179, .brk = true },
202 [52] = { .ascii = true, .symbol = '.',
203 .up_symbol = '>', .prefix = 180 },
204 [180] = { .ascii = true, .symbol = '.',
205 .up_symbol = '>', .prefix = 180, .brk = true },
206 [53] = { .ascii = true, .symbol = '/',
207 .up_symbol = '?', .prefix = 181 },
208 [181] = { .ascii = true, .symbol = '/',
209 .up_symbol = '?', .prefix = 181, .brk = true },
210 [54] = { .ascii = false, .symbol = KBD_RIGHT_SHIFT,
211 .up_symbol = NULL, .prefix = 182 },
212 [182] = { .ascii = false, .symbol = KBD_RIGHT_SHIFT,
213 .up_symbol = NULL, .prefix = 182, .brk = true },
214 [29] = { .ascii = false, .symbol = KBD_LEFT_CTRL,
215 .up_symbol = NULL, .prefix = 157 },
216 [157] = { .ascii = false, .symbol = KBD_LEFT_CTRL,
217 .up_symbol = NULL, .prefix = 157, .brk = true },
218 [56] = { .ascii = false, .symbol = KBD_LEFT_ALT,
219 .up_symbol = NULL, .prefix = 184 },
220 [184] = { .ascii = false, .symbol = KBD_LEFT_ALT,
221 .up_symbol = NULL, .prefix = 184, .brk = true },
222 [57] = { .ascii = false, .symbol = KBD_SPACEBAR,
223 .up_symbol = NULL, .prefix = 185 },
224 [185] = { .ascii = false, .symbol = KBD_SPACEBAR,
225 .up_symbol = NULL, .prefix = 185, .brk = true },
226 [69] = { .ascii = false, .symbol = KBD_NUM_LOCK,
227 .up_symbol = NULL, .prefix = 197 },
228 [197] = { .ascii = false, .symbol = KBD_NUM_LOCK,
229 .up_symbol = NULL, .prefix = 197, .brk = true },
230 [71] = { .ascii = false, .symbol = KBD_KEYPAD_7,
231 .up_symbol = NULL, .prefix = 199 },
232 [199] = { .ascii = false, .symbol = KBD_KEYPAD_7,
233 .up_symbol = NULL, .prefix = 199, .brk = true },
234 [75] = { .ascii = false, .symbol = KBD_KEYPAD_4,
235 .up_symbol = NULL, .prefix = 203 },
236 [203] = { .ascii = false, .symbol = KBD_KEYPAD_4,
237 .up_symbol = NULL, .prefix = 203, .brk = true },
238 [79] = { .ascii = false, .symbol = KBD_KEYPAD_1,
239 .up_symbol = NULL, .prefix = 207 },
240 [207] = { .ascii = false, .symbol = KBD_KEYPAD_1,
241 .up_symbol = NULL, .prefix = 207, .brk = true },
242 [72] = { .ascii = false, .symbol = KBD_KEYPAD_8,
243 .up_symbol = NULL, .prefix = 200 },
244 [200] = { .ascii = false, .symbol = KBD_KEYPAD_8,
245 .up_symbol = NULL, .prefix = 200, .brk = true },
246 [76] = { .ascii = false, .symbol = KBD_KEYPAD_5,
247 .up_symbol = NULL, .prefix = 204 },
248 [204] = { .ascii = false, .symbol = KBD_KEYPAD_5,
249 .up_symbol = NULL, .prefix = 204, .brk = true },
250 [80] = { .ascii = false, .symbol = KBD_KEYPAD_2,
251 .up_symbol = NULL, .prefix = 208 },
252 [208] = { .ascii = false, .symbol = KBD_KEYPAD_2,
253 .up_symbol = NULL, .prefix = 208, .brk = true },
254 [82] = { .ascii = false, .symbol = KBD_KEYPAD_0,
255 .up_symbol = NULL, .prefix = 210 },
256 [210] = { .ascii = false, .symbol = KBD_KEYPAD_0,
257 .up_symbol = NULL, .prefix = 210, .brk = true },
258 [55] = { .ascii = false, .symbol = KBD_KEYPAD_TIMES,
259 .up_symbol = NULL, .prefix = 183 },
260 [183] = { .ascii = false, .symbol = KBD_KEYPAD_TIMES,
261 .up_symbol = NULL, .prefix = 183, .brk = true },
262 [73] = { .ascii = false, .symbol = KBD_KEYPAD_9,
263 .up_symbol = NULL, .prefix = 201 },
264 [201] = { .ascii = false, .symbol = KBD_KEYPAD_9,
265 .up_symbol = NULL, .prefix = 201, .brk = true },
266 [77] = { .ascii = false, .symbol = KBD_KEYPAD_6,
267 .up_symbol = NULL, .prefix = 205 },
268 [205] = { .ascii = false, .symbol = KBD_KEYPAD_6,
269 .up_symbol = NULL, .prefix = 205, .brk = true },
270 [81] = { .ascii = false, .symbol = KBD_KEYPAD_3,
271 .up_symbol = NULL, .prefix = 209 },
272 [209] = { .ascii = false, .symbol = KBD_KEYPAD_3,
273 .up_symbol = NULL, .prefix = 209, .brk = true },
274 [83] = { .ascii = false, .symbol = KBD_KEYPAD_DOT,
275 .up_symbol = NULL, .prefix = 211 },
276 [211] = { .ascii = false, .symbol = KBD_KEYPAD_DOT,
277 .up_symbol = NULL, .prefix = 211, .brk = true },
278 [74] = { .ascii = false, .symbol = KBD_KEYPAD_MINUS,
279 .up_symbol = NULL, .prefix = 202 },
280 [202] = { .ascii = false, .symbol = KBD_KEYPAD_MINUS,
281 .up_symbol = NULL, .prefix = 202, .brk = true },
282 [78] = { .ascii = false, .symbol = KBD_KEYPAD_PLUS,
283 .up_symbol = NULL, .prefix = 206 },
284 [206] = { .ascii = false, .symbol = KBD_KEYPAD_PLUS,
285 .up_symbol = NULL, .prefix = 206, .brk = true },
286 [1] = { .ascii = false, .symbol = KBD_ESC,
287 .up_symbol = NULL, .prefix = 129 },
288 [129] = { .ascii = false, .symbol = KBD_ESC,
289 .up_symbol = NULL, .prefix = 129, .brk = true },
290 [59] = { .ascii = false, .symbol = KBD_F1,
291 .up_symbol = NULL, .prefix = 187 },
292 [187] = { .ascii = false, .symbol = KBD_F1,
293 .up_symbol = NULL, .prefix = 187, .brk = true },
294 [60] = { .ascii = false, .symbol = KBD_F2,
295 .up_symbol = NULL, .prefix = 188 },
296 [188] = { .ascii = false, .symbol = KBD_F2,
297 .up_symbol = NULL, .prefix = 188, .brk = true },
298 [61] = { .ascii = false, .symbol = KBD_F3,
299 .up_symbol = NULL, .prefix = 189 },
300 [189] = { .ascii = false, .symbol = KBD_F3,
301 .up_symbol = NULL, .prefix = 189, .brk = true },
302 [62] = { .ascii = false, .symbol = KBD_F4,
303 .up_symbol = NULL, .prefix = 190 },
304 [190] = { .ascii = false, .symbol = KBD_F4,
305 .up_symbol = NULL, .prefix = 190, .brk = true },
306 [63] = { .ascii = false, .symbol = KBD_F5,
307 .up_symbol = NULL, .prefix = 191 },
308 [191] = { .ascii = false, .symbol = KBD_F5,
309 .up_symbol = NULL, .prefix = 191, .brk = true },
310 [64] = { .ascii = false, .symbol = KBD_F6,
311 .up_symbol = NULL, .prefix = 192 },
312 [192] = { .ascii = false, .symbol = KBD_F6,
313 .up_symbol = NULL, .prefix = 192, .brk = true },
314 [65] = { .ascii = false, .symbol = KBD_F7,
315 .up_symbol = NULL, .prefix = 193 },
316 [193] = { .ascii = false, .symbol = KBD_F7,
317 .up_symbol = NULL, .prefix = 193, .brk = true },
318 [66] = { .ascii = false, .symbol = KBD_F8,
319 .up_symbol = NULL, .prefix = 194 },
320 [194] = { .ascii = false, .symbol = KBD_F8,
321 .up_symbol = NULL, .prefix = 194, .brk = true },
322 [67] = { .ascii = false, .symbol = KBD_F9,
323 .up_symbol = NULL, .prefix = 195 },
324 [195] = { .ascii = false, .symbol = KBD_F9,
325 .up_symbol = NULL, .prefix = 195, .brk = true },
326 [68] = { .ascii = false, .symbol = KBD_F10,
327 .up_symbol = NULL, .prefix = 196 },
328 [196] = { .ascii = false, .symbol = KBD_F10,
329 .up_symbol = NULL, .prefix = 196, .brk = true },
330 [87] = { .ascii = false, .symbol = KBD_F11,
331 .up_symbol = NULL, .prefix = 215 },
332 [215] = { .ascii = false, .symbol = KBD_F11,
333 .up_symbol = NULL, .prefix = 215, .brk = true },
334 [88] = { .ascii = false, .symbol = KBD_F12,
335 .up_symbol = NULL, .prefix = 216 },
336 [216] = { .ascii = false, .symbol = KBD_F12,
337 .up_symbol = NULL, .prefix = 216, .brk = true },
338 [70] = { .ascii = false, .symbol = KBD_SCROLL_LOCK,
339 .up_symbol = NULL, .prefix = 198 },
340 [198] = { .ascii = false, .symbol = KBD_SCROLL_LOCK,
341 .up_symbol = NULL, .prefix = 198, .brk = true },
342 [43] = { .ascii = true, .symbol = '\\',
343 .up_symbol = '|', .prefix = 171 },
344 [171] = { .ascii = true, .symbol = '\\',
345 .up_symbol = '|', .prefix = 171, .brk = true },
346};
347
348
349const struct kbd_scan_codes scan_code_set_3[0xff] =
350{
351 [14] = { .ascii = true, .symbol = '`',
352 .up_symbol = '~', .prefix = 240 },
353 [22] = { .ascii = true, .symbol = '1',
354 .up_symbol = '!', .prefix = 240 },
355 [30] = { .ascii = true, .symbol = '2',
356 .up_symbol = '@', .prefix = 240 },
357 [38] = { .ascii = true, .symbol = '3',
358 .up_symbol = '#', .prefix = 240 },
359 [37] = { .ascii = true, .symbol = '4',
360 .up_symbol = '$', .prefix = 240 },
361 [46] = { .ascii = true, .symbol = '5',
362 .up_symbol = '%', .prefix = 240 },
363 [54] = { .ascii = true, .symbol = '6',
364 .up_symbol = '^', .prefix = 240 },
365 [61] = { .ascii = true, .symbol = '7',
366 .up_symbol = '&', .prefix = 240 },
367 [62] = { .ascii = true, .symbol = '8',
368 .up_symbol = '*', .prefix = 240 },
369 [70] = { .ascii = true, .symbol = '9',
370 .up_symbol = '(', .prefix = 240 },
371 [69] = { .ascii = true, .symbol = '0',
372 .up_symbol = ')', .prefix = 240 },
373 [78] = { .ascii = true, .symbol = '-',
374 .up_symbol = '_', .prefix = 240 },
375 [85] = { .ascii = true, .symbol = '=',
376 .up_symbol = '+', .prefix = 240 },
377 [102] = { .ascii = false, .symbol = KBD_BACKSPACE,
378 .up_symbol = NULL, .prefix = 240 },
379 [13] = { .ascii = false, .symbol = KBD_TAB,
380 .up_symbol = NULL, .prefix = 240 },
381 [21] = { .ascii = true, .symbol = 'q',
382 .up_symbol = 'Q', .prefix = 240 },
383 [29] = { .ascii = true, .symbol = 'w',
384 .up_symbol = 'W', .prefix = 240 },
385 [36] = { .ascii = true, .symbol = 'e',
386 .up_symbol = 'E', .prefix = 240 },
387 [45] = { .ascii = true, .symbol = 'r',
388 .up_symbol = 'R', .prefix = 240 },
389 [44] = { .ascii = true, .symbol = 't',
390 .up_symbol = 'T', .prefix = 240 },
391 [53] = { .ascii = true, .symbol = 'y',
392 .up_symbol = 'Y', .prefix = 240 },
393 [60] = { .ascii = true, .symbol = 'u',
394 .up_symbol = 'U', .prefix = 240 },
395 [67] = { .ascii = true, .symbol = 'i',
396 .up_symbol = 'I', .prefix = 240 },
397 [68] = { .ascii = true, .symbol = 'o',
398 .up_symbol = 'O', .prefix = 240 },
399 [77] = { .ascii = true, .symbol = 'p',
400 .up_symbol = 'P', .prefix = 240 },
401 [84] = { .ascii = true, .symbol = '[',
402 .up_symbol = '{', .prefix = 240 },
403 [91] = { .ascii = true, .symbol = ']',
404 .up_symbol = '}', .prefix = 240 },
405 [88] = { .ascii = false, .symbol = KBD_CAPS_LOCK,
406 .up_symbol = NULL, .prefix = 240 },
407 [28] = { .ascii = true, .symbol = 'a',
408 .up_symbol = 'A', .prefix = 240 },
409 [27] = { .ascii = true, .symbol = 's',
410 .up_symbol = 'S', .prefix = 240 },
411 [35] = { .ascii = true, .symbol = 'd',
412 .up_symbol = 'D', .prefix = 240 },
413 [43] = { .ascii = true, .symbol = 'f',
414 .up_symbol = 'F', .prefix = 240 },
415 [52] = { .ascii = true, .symbol = 'g',
416 .up_symbol = 'G', .prefix = 240 },
417 [51] = { .ascii = true, .symbol = 'h',
418 .up_symbol = 'H', .prefix = 240 },
419 [59] = { .ascii = true, .symbol = 'j',
420 .up_symbol = 'J', .prefix = 240 },
421 [66] = { .ascii = true, .symbol = 'k',
422 .up_symbol = 'K', .prefix = 240 },
423 [75] = { .ascii = true, .symbol = 'l',
424 .up_symbol = 'L', .prefix = 240 },
425 [76] = { .ascii = true, .symbol = ';',
426 .up_symbol = ':', .prefix = 240 },
427 [82] = { .ascii = true, .symbol = '\'',
428 .up_symbol = '"', .prefix = 240 },
429 [90] = { .ascii = false, .symbol = KBD_ENTER,
430 .up_symbol = NULL, .prefix = 240 },
431 [18] = { .ascii = false, .symbol = KBD_LEFT_SHIFT,
432 .up_symbol = NULL, .prefix = 240 },
433 [26] = { .ascii = true, .symbol = 'z',
434 .up_symbol = 'Z', .prefix = 240 },
435 [34] = { .ascii = true, .symbol = 'x',
436 .up_symbol = 'X', .prefix = 240 },
437 [33] = { .ascii = true, .symbol = 'c',
438 .up_symbol = 'C', .prefix = 240 },
439 [42] = { .ascii = true, .symbol = 'v',
440 .up_symbol = 'V', .prefix = 240 },
441 [50] = { .ascii = true, .symbol = 'b',
442 .up_symbol = 'B', .prefix = 240 },
443 [49] = { .ascii = true, .symbol = 'n',
444 .up_symbol = 'N', .prefix = 240 },
445 [58] = { .ascii = true, .symbol = 'm',
446 .up_symbol = 'M', .prefix = 240 },
447 [65] = { .ascii = true, .symbol = ',',
448 .up_symbol = '<', .prefix = 240 },
449 [73] = { .ascii = true, .symbol = '.',
450 .up_symbol = '>', .prefix = 240 },
451 [74] = { .ascii = true, .symbol = '/',
452 .up_symbol = '?', .prefix = 240 },
453 [89] = { .ascii = false, .symbol = KBD_RIGHT_SHIFT,
454 .up_symbol = NULL, .prefix = 240 },
455 [17] = { .ascii = false, .symbol = KBD_LEFT_CTRL,
456 .up_symbol = NULL, .prefix = 240 },
457 [25] = { .ascii = false, .symbol = KBD_LEFT_ALT,
458 .up_symbol = NULL, .prefix = 240 },
459 [41] = { .ascii = false, .symbol = KBD_SPACEBAR,
460 .up_symbol = NULL, .prefix = 240 },
461 [57] = { .ascii = false, .symbol = KBD_RIGHT_ALT,
462 .up_symbol = NULL, .prefix = 240 },
463 [88] = { .ascii = false, .symbol = KBD_RIGHT_CTRL,
464 .up_symbol = NULL, .prefix = 240 },
465 [103] = { .ascii = false, .symbol = KBD_INSERT,
466 .up_symbol = NULL, .prefix = 240 },
467 [100] = { .ascii = false, .symbol = KBD_DELETE,
468 .up_symbol = NULL, .prefix = 240 },
469 [97] = { .ascii = false, .symbol = KBD_LEFT_ARROW,
470 .up_symbol = NULL, .prefix = 240 },
471 [110] = { .ascii = false, .symbol = KBD_HOME,
472 .up_symbol = NULL, .prefix = 240 },
473 [101] = { .ascii = false, .symbol = KBD_END,
474 .up_symbol = NULL, .prefix = 240 },
475 [99] = { .ascii = false, .symbol = KBD_UP_ARROW,
476 .up_symbol = NULL, .prefix = 240 },
477 [96] = { .ascii = false, .symbol = KBD_DOWN_ARROW,
478 .up_symbol = NULL, .prefix = 240 },
479 [111] = { .ascii = false, .symbol = KBD_PAGE_UP,
480 .up_symbol = NULL, .prefix = 240 },
481 [109] = { .ascii = false, .symbol = KBD_PAGE_DOWN,
482 .up_symbol = NULL, .prefix = 240 },
483 [106] = { .ascii = false, .symbol = KBD_RIGHT_ARROW,
484 .up_symbol = NULL, .prefix = 240 },
485 [118] = { .ascii = false, .symbol = KBD_NUM_LOCK,
486 .up_symbol = NULL, .prefix = 240 },
487 [108] = { .ascii = false, .symbol = KBD_KEYPAD_7,
488 .up_symbol = NULL, .prefix = 240 },
489 [107] = { .ascii = false, .symbol = KBD_KEYPAD_4,
490 .up_symbol = NULL, .prefix = 240 },
491 [105] = { .ascii = false, .symbol = KBD_KEYPAD_1,
492 .up_symbol = NULL, .prefix = 240 },
493 [119] = { .ascii = false, .symbol = KBD_KEYPAD_DIV,
494 .up_symbol = NULL, .prefix = 240 },
495 [117] = { .ascii = false, .symbol = KBD_KEYPAD_8,
496 .up_symbol = NULL, .prefix = 240 },
497 [115] = { .ascii = false, .symbol = KBD_KEYPAD_5,
498 .up_symbol = NULL, .prefix = 240 },
499 [114] = { .ascii = false, .symbol = KBD_KEYPAD_2,
500 .up_symbol = NULL, .prefix = 240 },
501 [112] = { .ascii = false, .symbol = KBD_KEYPAD_0,
502 .up_symbol = NULL, .prefix = 240 },
503 [126] = { .ascii = false, .symbol = KBD_KEYPAD_TIMES,
504 .up_symbol = NULL, .prefix = 240 },
505 [125] = { .ascii = false, .symbol = KBD_KEYPAD_9,
506 .up_symbol = NULL, .prefix = 240 },
507 [116] = { .ascii = false, .symbol = KBD_KEYPAD_6,
508 .up_symbol = NULL, .prefix = 240 },
509 [122] = { .ascii = false, .symbol = KBD_KEYPAD_3,
510 .up_symbol = NULL, .prefix = 240 },
511 [113] = { .ascii = false, .symbol = KBD_KEYPAD_DOT,
512 .up_symbol = NULL, .prefix = 240 },
513 [132] = { .ascii = false, .symbol = KBD_KEYPAD_MINUS,
514 .up_symbol = NULL, .prefix = 240 },
515 [124] = { .ascii = false, .symbol = KBD_KEYPAD_PLUS,
516 .up_symbol = NULL, .prefix = 240 },
517 [121] = { .ascii = false, .symbol = KBD_KEYPAD_ENTER,
518 .up_symbol = NULL, .prefix = 240 },
519 [8] = { .ascii = false, .symbol = KBD_ESC,
520 .up_symbol = NULL, .prefix = 240 },
521 [7] = { .ascii = false, .symbol = KBD_F1,
522 .up_symbol = NULL, .prefix = 240 },
523 [15] = { .ascii = false, .symbol = KBD_F2,
524 .up_symbol = NULL, .prefix = 240 },
525 [23] = { .ascii = false, .symbol = KBD_F3,
526 .up_symbol = NULL, .prefix = 240 },
527 [31] = { .ascii = false, .symbol = KBD_F4,
528 .up_symbol = NULL, .prefix = 240 },
529 [39] = { .ascii = false, .symbol = KBD_F5,
530 .up_symbol = NULL, .prefix = 240 },
531 [47] = { .ascii = false, .symbol = KBD_F6,
532 .up_symbol = NULL, .prefix = 240 },
533 [55] = { .ascii = false, .symbol = KBD_F7,
534 .up_symbol = NULL, .prefix = 240 },
535 [63] = { .ascii = false, .symbol = KBD_F8,
536 .up_symbol = NULL, .prefix = 240 },
537 [71] = { .ascii = false, .symbol = KBD_F9,
538 .up_symbol = NULL, .prefix = 240 },
539 [79] = { .ascii = false, .symbol = KBD_F10,
540 .up_symbol = NULL, .prefix = 240 },
541 [86] = { .ascii = false, .symbol = KBD_F11,
542 .up_symbol = NULL, .prefix = 240 },
543 [94] = { .ascii = false, .symbol = KBD_F12,
544 .up_symbol = NULL, .prefix = 240 },
545 [87] = { .ascii = false, .symbol = KBD_PRINT_SCREEN,
546 .up_symbol = NULL, .prefix = 240 },
547 [95] = { .ascii = false, .symbol = KBD_SCROLL_LOCK,
548 .up_symbol = NULL, .prefix = 240 },
549 [98] = { .ascii = false, .symbol = KBD_PAUSE_BREAK,
550 .up_symbol = NULL, .prefix = 240 },
551 [92] = { .ascii = true, .symbol = '\\',
552 .up_symbol = '|', .prefix = 240 },
553};