File: xf86Keymap.h

package info (click to toggle)
svncviewer 1:0.1.1-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 336 kB
  • ctags: 304
  • sloc: ansic: 2,608; makefile: 60; sh: 29
file content (449 lines) | stat: -rw-r--r-- 25,974 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
/* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86Keymap.h,v 3.9 1996/12/23 06:43:35 dawes Exp $ */
/*
 *
 * For Scancodes see notes in atKeynames.h  !!!!
 *
 */
/* $XConsortium: xf86Keymap.h /main/14 1996/02/21 17:38:47 kaleb $ */

static KeySym map[NUM_KEYCODES * GLYPHS_PER_KEY] = { 
#ifndef PC98
    /* 0x00 */  NoSymbol,       NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x01 */  XK_Escape,      NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x02 */  XK_1,           XK_exclam,	NoSymbol,	NoSymbol,
    /* 0x03 */  XK_2,           XK_at,		NoSymbol,	NoSymbol,
    /* 0x04 */  XK_3,           XK_numbersign,	NoSymbol,	NoSymbol,
    /* 0x05 */  XK_4,           XK_dollar,	NoSymbol,	NoSymbol,
    /* 0x06 */  XK_5,           XK_percent,	NoSymbol,	NoSymbol,
    /* 0x07 */  XK_6,           XK_asciicircum,	NoSymbol,	NoSymbol,
    /* 0x08 */  XK_7,           XK_ampersand,	NoSymbol,	NoSymbol,
    /* 0x09 */  XK_8,           XK_asterisk,	NoSymbol,	NoSymbol,
    /* 0x0a */  XK_9,           XK_parenleft,	NoSymbol,	NoSymbol,
    /* 0x0b */  XK_0,           XK_parenright,	NoSymbol,	NoSymbol,
    /* 0x0c */  XK_minus,       XK_underscore,	NoSymbol,	NoSymbol,
    /* 0x0d */  XK_equal,       XK_plus,	NoSymbol,	NoSymbol,
    /* 0x0e */  XK_BackSpace,   NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x0f */  XK_Tab,         NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x10 */  XK_Q,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x11 */  XK_W,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x12 */  XK_E,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x13 */  XK_R,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x14 */  XK_T,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x15 */  XK_Y,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x16 */  XK_U,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x17 */  XK_I,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x18 */  XK_O,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x19 */  XK_P,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x1a */  XK_bracketleft, XK_braceleft,	NoSymbol,	NoSymbol,
    /* 0x1b */  XK_bracketright,XK_braceright,	NoSymbol,	NoSymbol,
    /* 0x1c */  XK_Return,      NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x1d */  XK_Control_L,   NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x1e */  XK_A,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x1f */  XK_S,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x20 */  XK_D,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x21 */  XK_F,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x22 */  XK_G,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x23 */  XK_H,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x24 */  XK_J,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x25 */  XK_K,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x26 */  XK_L,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x27 */  XK_semicolon,   XK_colon,	NoSymbol,	NoSymbol,
    /* 0x28 */  XK_quoteright,  XK_quotedbl,	NoSymbol,	NoSymbol,
    /* 0x29 */  XK_quoteleft,	XK_asciitilde,	NoSymbol,	NoSymbol,
    /* 0x2a */  XK_Shift_L,     NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x2b */  XK_backslash,   XK_bar,		NoSymbol,	NoSymbol,
    /* 0x2c */  XK_Z,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x2d */  XK_X,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x2e */  XK_C,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x2f */  XK_V,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x30 */  XK_B,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x31 */  XK_N,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x32 */  XK_M,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x33 */  XK_comma,       XK_less,	NoSymbol,	NoSymbol,
    /* 0x34 */  XK_period,      XK_greater,	NoSymbol,	NoSymbol,
    /* 0x35 */  XK_slash,       XK_question,	NoSymbol,	NoSymbol,
    /* 0x36 */  XK_Shift_R,     NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x37 */  XK_KP_Multiply, NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x38 */  XK_Alt_L,	XK_Meta_L,	NoSymbol,	NoSymbol,
    /* 0x39 */  XK_space,       NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3a */  XK_Caps_Lock,   NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3b */  XK_F1,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3c */  XK_F2,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3d */  XK_F3,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3e */  XK_F4,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3f */  XK_F5,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x40 */  XK_F6,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x41 */  XK_F7,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x42 */  XK_F8,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x43 */  XK_F9,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x44 */  XK_F10,         NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x45 */  XK_Num_Lock,    NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x46 */  XK_Scroll_Lock,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x47 */  XK_KP_Home,	XK_KP_7,	NoSymbol,	NoSymbol,
    /* 0x48 */  XK_KP_Up,	XK_KP_8,	NoSymbol,	NoSymbol,
    /* 0x49 */  XK_KP_Prior,	XK_KP_9,	NoSymbol,	NoSymbol,
    /* 0x4a */  XK_KP_Subtract, NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x4b */  XK_KP_Left,	XK_KP_4,	NoSymbol,	NoSymbol,
    /* 0x4c */  NoSymbol,	XK_KP_5,	NoSymbol,	NoSymbol,
    /* 0x4d */  XK_KP_Right,	XK_KP_6,	NoSymbol,	NoSymbol,
    /* 0x4e */  XK_KP_Add,      NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x4f */  XK_KP_End,	XK_KP_1,	NoSymbol,	NoSymbol,
    /* 0x50 */  XK_KP_Down,	XK_KP_2,	NoSymbol,	NoSymbol,
    /* 0x51 */  XK_KP_Next,	XK_KP_3,	NoSymbol,	NoSymbol,
    /* 0x52 */  XK_KP_Insert,	XK_KP_0,	NoSymbol,	NoSymbol,
    /* 0x53 */  XK_KP_Delete,	XK_KP_Decimal,	NoSymbol,	NoSymbol,
    /* 0x54 */  XK_Sys_Req,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x55 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x56 */  XK_less,	XK_greater,	NoSymbol,	NoSymbol,
    /* 0x57 */  XK_F11,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x58 */  XK_F12,		NoSymbol,	NoSymbol,	NoSymbol,

    /* 0x59 */  XK_Home,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5a */  XK_Up,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5b */  XK_Prior,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5c */  XK_Left,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5d */  XK_Begin,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5e */  XK_Right,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5f */  XK_End,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x60 */  XK_Down,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x61 */  XK_Next,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x62 */  XK_Insert,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x63 */  XK_Delete,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x64 */  XK_KP_Enter,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x65 */  XK_Control_R,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x66 */  XK_Pause,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x67 */  XK_Print,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x68 */  XK_KP_Divide,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x69 */  XK_Alt_R,	XK_Meta_R,	NoSymbol,	NoSymbol,
    /* 0x6a */  XK_Break,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x6b */  XK_Meta_L,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x6c */  XK_Meta_R,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x6d */  XK_Menu,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x6e */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x6f */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x70 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x71 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x72 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x73 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x74 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x75 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x76 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x77 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x78 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x79 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x7a */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x7b */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x7c */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x7d */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x7e */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
#else /* PC98 */
    /* 0x00 */  XK_Escape,      NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x01 */  XK_1,      	XK_exclam,	XK_kana_NU,	NoSymbol,
    /* 0x02 */  XK_2,           XK_quotedbl,	XK_kana_FU,	NoSymbol,
    /* 0x03 */  XK_3,           XK_numbersign,	XK_kana_A,	XK_kana_a,
    /* 0x04 */  XK_4,           XK_dollar,	XK_kana_U,	XK_kana_u,
    /* 0x05 */  XK_5,           XK_percent,	XK_kana_E,	XK_kana_e,
    /* 0x06 */  XK_6,           XK_ampersand,	XK_kana_O,	XK_kana_o,
    /* 0x07 */  XK_7,           XK_quoteright,	XK_kana_YA,	XK_kana_ya,
    /* 0x08 */  XK_8,           XK_parenleft,	XK_kana_YU,	XK_kana_yu,
    /* 0x09 */  XK_9,           XK_parenright,	XK_kana_YO,	XK_kana_yo,
    /* 0x0a */  XK_0,           NoSymbol,	XK_kana_WA,	XK_kana_WO,
    /* 0x0b */  XK_minus,       XK_equal,	XK_kana_HO,	NoSymbol,
    /* 0x0c */  XK_asciicircum, XK_quoteleft,	XK_kana_HE,	NoSymbol,
    /* 0x0d */  XK_backslash,   XK_bar,		XK_prolongedsound,	NoSymbol,
    /* 0x0e */  XK_BackSpace,   NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x0f */  XK_Tab,         NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x10 */  XK_Q,           NoSymbol,	XK_kana_TA,	NoSymbol,
    /* 0x11 */  XK_W,           NoSymbol,	XK_kana_TE,	NoSymbol,
    /* 0x12 */  XK_E,           NoSymbol,	XK_kana_I,	XK_kana_i,
    /* 0x13 */  XK_R,           NoSymbol,	XK_kana_SU,	NoSymbol,
    /* 0x14 */  XK_T,           NoSymbol,	XK_kana_KA,	NoSymbol,
    /* 0x15 */  XK_Y,           NoSymbol,	XK_kana_N,	NoSymbol,
    /* 0x16 */  XK_U,           NoSymbol,	XK_kana_NA,	NoSymbol,
    /* 0x17 */  XK_I,           NoSymbol,	XK_kana_NI,	NoSymbol,
    /* 0x18 */  XK_O,           NoSymbol,	XK_kana_RA,	NoSymbol,
    /* 0x19 */  XK_P,           NoSymbol,	XK_kana_SE,	NoSymbol,
    /* 0x1a */  XK_at,          XK_asciitilde,	XK_voicedsound,	NoSymbol,
    /* 0x1b */  XK_bracketleft, XK_braceleft,	XK_semivoicedsound,	XK_kana_openingbracket,
    /* 0x1c */  XK_Return,      NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x1d */  XK_A,		NoSymbol,	XK_kana_CHI,	NoSymbol,
    /* 0x1e */  XK_S,   	NoSymbol,	XK_kana_TO,	NoSymbol,
    /* 0x1f */  XK_D,           NoSymbol,	XK_kana_SHI,	NoSymbol,
    /* 0x20 */  XK_F,           NoSymbol,	XK_kana_HA,	NoSymbol,
    /* 0x21 */  XK_G,           NoSymbol,	XK_kana_KI,	NoSymbol,
    /* 0x22 */  XK_H,           NoSymbol,	XK_kana_KU,	NoSymbol,
    /* 0x23 */  XK_J,           NoSymbol,	XK_kana_MA,	NoSymbol,
    /* 0x24 */  XK_K,           NoSymbol,	XK_kana_NO,	NoSymbol,
    /* 0x25 */  XK_L,           NoSymbol,	XK_kana_RI,	NoSymbol,
    /* 0x26 */  XK_semicolon,   XK_plus,	XK_kana_RE,	NoSymbol,
    /* 0x27 */  XK_colon,	XK_asterisk,	XK_kana_KE,	NoSymbol,
    /* 0x28 */  XK_bracketright,XK_braceright,	XK_kana_MU,	XK_kana_closingbracket,
    /* 0x29 */  XK_Z,		NoSymbol,	XK_kana_TSU,	NoSymbol,
    /* 0x2a */  XK_X,		NoSymbol,	XK_kana_SA,	NoSymbol,
    /* 0x2b */  XK_C,		NoSymbol,	XK_kana_SO,	NoSymbol,
    /* 0x2c */  XK_V,           NoSymbol,	XK_kana_HI,	NoSymbol,
    /* 0x2d */  XK_B,           NoSymbol,	XK_kana_KO,	NoSymbol,
    /* 0x2e */  XK_N,           NoSymbol,	XK_kana_MI,	NoSymbol,
    /* 0x2f */  XK_M,           NoSymbol,	XK_kana_MO,	NoSymbol,
    /* 0x30 */  XK_comma,       XK_less,	XK_kana_NE,	XK_kana_comma,
    /* 0x31 */  XK_period,      XK_greater,	XK_kana_RU,	XK_kana_fullstop,
    /* 0x32 */  XK_slash,       XK_question,	XK_kana_ME,	XK_kana_middledot,
    /* 0x33 */  XK_underscore,	XK_underscore,	XK_kana_RO,	NoSymbol,
    /* 0x34 */  XK_space,       NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x35 */  XK_Henkan,	XK_Kanji,	NoSymbol,	NoSymbol,
    /* 0x36 */  XK_Next,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x37 */  XK_Prior,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x38 */  XK_Insert,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x39 */  XK_Delete,      NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3a */  XK_Up,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3b */  XK_Left,        NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3c */  XK_Right,       NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3d */  XK_Down,        NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3e */  XK_Clear,       XK_Home,	NoSymbol,	NoSymbol,
    /* 0x3f */  XK_Help,        NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x40 */  XK_KP_Subtract,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x41 */  XK_KP_Divide,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x42 */  XK_KP_7,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x43 */  XK_KP_8,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x44 */  XK_KP_9,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x45 */  XK_KP_Multiply,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x46 */  XK_KP_4,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x47 */  XK_KP_5,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x48 */  XK_KP_6,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x49 */  XK_KP_Add,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x4a */  XK_KP_1,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x4b */  XK_KP_2,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x4c */  XK_KP_3,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x4d */  XK_KP_Equal,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x4e */  XK_KP_0,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x4f */  XK_KP_Separator,NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x50 */  XK_KP_Decimal,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x51 */  XK_Muhenkan,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x52 */  XK_F11,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x53 */  XK_F12,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x54 */  XK_F13,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x55 */  XK_F14,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x56 */  XK_F15,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x57 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x58 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x59 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5a */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5b */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5c */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5d */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5e */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5f */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x60 */  XK_Break,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x61 */  XK_Print,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x62 */  XK_F1,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x63 */  XK_F2,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x64 */  XK_F3,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x65 */  XK_F4,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x66 */  XK_F5,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x67 */  XK_F6,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x68 */  XK_F7,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x69 */  XK_F8,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x6a */  XK_F9,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x6b */ 	XK_F10,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x6c */ 	NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x6d */ 	NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x6e */ 	NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x6f */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x70 */ 	XK_Shift_L,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x71 */ 	XK_Caps_Lock,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x72 */  XK_kana_switch,	NoSymbol,	XK_kana_switch,	NoSymbol,
    /* 0x73 */ 	XK_Alt_L,	XK_Meta_L,	NoSymbol,	NoSymbol,
    /* 0x74 */ 	XK_Control_L,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x75 */ 	NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x76 */ 	NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x77 */ 	NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x78 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x79 */ 	NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x7a */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x7b */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x7c */ 	NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x7d */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x7e */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
#endif /* PC98 */
    /* 0x7f */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,

    /* These are for ServerNumLock handling */
    /* 0x80 */  XK_KP_7,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x81 */  XK_KP_8,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x82 */  XK_KP_9,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x83 */  XK_KP_4,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x84 */  XK_KP_5,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x85 */  XK_KP_6,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x86 */  XK_KP_1,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x87 */  XK_KP_2,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x88 */  XK_KP_3,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x89 */  XK_KP_0,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x8a */  XK_KP_Decimal,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x8b */  XK_Home,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x8c */  XK_Up,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x8d */  XK_Prior,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x8e */  XK_Left,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x8f */  XK_Begin,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x90 */  XK_Right,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x91 */  XK_End,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x92 */  XK_Down,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x93 */  XK_Next,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x94 */  XK_Insert,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x95 */  XK_Delete,	NoSymbol,	NoSymbol,	NoSymbol,
};

static KeySym map84[NUM_KEYCODES * GLYPHS_PER_KEY] = { 
    /* 0x00 */  NoSymbol,       NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x01 */  XK_Escape,      NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x02 */  XK_1,           XK_exclam,	NoSymbol,	NoSymbol,
    /* 0x03 */  XK_2,           XK_at,		NoSymbol,	NoSymbol,
    /* 0x04 */  XK_3,           XK_numbersign,	NoSymbol,	NoSymbol,
    /* 0x05 */  XK_4,           XK_dollar,	NoSymbol,	NoSymbol,
    /* 0x06 */  XK_5,           XK_percent,	NoSymbol,	NoSymbol,
    /* 0x07 */  XK_6,           XK_asciicircum,	NoSymbol,	NoSymbol,
    /* 0x08 */  XK_7,           XK_ampersand,	NoSymbol,	NoSymbol,
    /* 0x09 */  XK_8,           XK_asterisk,	NoSymbol,	NoSymbol,
    /* 0x0a */  XK_9,           XK_parenleft,	NoSymbol,	NoSymbol,
    /* 0x0b */  XK_0,           XK_parenright,	NoSymbol,	NoSymbol,
    /* 0x0c */  XK_minus,       XK_underscore,	NoSymbol,	NoSymbol,
    /* 0x0d */  XK_equal,       XK_plus,	NoSymbol,	NoSymbol,
    /* 0x0e */  XK_BackSpace,   NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x0f */  XK_Tab,         NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x10 */  XK_Q,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x11 */  XK_W,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x12 */  XK_E,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x13 */  XK_R,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x14 */  XK_T,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x15 */  XK_Y,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x16 */  XK_U,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x17 */  XK_I,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x18 */  XK_O,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x19 */  XK_P,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x1a */  XK_bracketleft, XK_braceleft,	NoSymbol,	NoSymbol,
    /* 0x1b */  XK_bracketright,XK_braceright,	NoSymbol,	NoSymbol,
    /* 0x1c */  XK_Return,      NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x1d */  XK_Control_L,   NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x1e */  XK_A,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x1f */  XK_S,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x20 */  XK_D,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x21 */  XK_F,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x22 */  XK_G,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x23 */  XK_H,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x24 */  XK_J,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x25 */  XK_K,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x26 */  XK_L,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x27 */  XK_semicolon,   XK_colon,	NoSymbol,	NoSymbol,
    /* 0x28 */  XK_quoteright,  XK_quotedbl,	NoSymbol,	NoSymbol,
    /* 0x29 */  XK_quoteleft,	XK_asciitilde,	NoSymbol,	NoSymbol,
    /* 0x2a */  XK_Shift_L,     NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x2b */  XK_backslash,   XK_bar,		NoSymbol,	NoSymbol,
    /* 0x2c */  XK_Z,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x2d */  XK_X,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x2e */  XK_C,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x2f */  XK_V,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x30 */  XK_B,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x31 */  XK_N,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x32 */  XK_M,           NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x33 */  XK_comma,       XK_less,	NoSymbol,	NoSymbol,
    /* 0x34 */  XK_period,      XK_greater,	NoSymbol,	NoSymbol,
    /* 0x35 */  XK_slash,       XK_question,	NoSymbol,	NoSymbol,
    /* 0x36 */  XK_Shift_R,     NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x37 */  XK_KP_Multiply, NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x38 */  XK_Alt_L,	XK_Meta_L,	NoSymbol,	NoSymbol,
    /* 0x39 */  XK_space,       NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3a */  XK_Caps_Lock,   NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3b */  XK_F1,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3c */  XK_F2,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3d */  XK_F3,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3e */  XK_F4,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x3f */  XK_F5,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x40 */  XK_F6,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x41 */  XK_F7,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x42 */  XK_F8,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x43 */  XK_F9,          NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x44 */  XK_F10,         NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x45 */  XK_Num_Lock,    NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x46 */  XK_Scroll_Lock,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x47 */  XK_KP_Home,	XK_KP_7,	NoSymbol,	NoSymbol,
    /* 0x48 */  XK_KP_Up,	XK_KP_8,	NoSymbol,	NoSymbol,
    /* 0x49 */  XK_KP_Prior,	XK_KP_9,	NoSymbol,	NoSymbol,
    /* 0x4a */  XK_KP_Subtract, NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x4b */  XK_KP_Left,	XK_KP_4,	NoSymbol,	NoSymbol,
    /* 0x4c */  NoSymbol,	XK_KP_5,	NoSymbol,	NoSymbol,
    /* 0x4d */  XK_KP_Right,	XK_KP_6,	NoSymbol,	NoSymbol,
    /* 0x4e */  XK_KP_Add,      NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x4f */  XK_KP_End,	XK_KP_1,	NoSymbol,	NoSymbol,
    /* 0x50 */  XK_KP_Down,	XK_KP_2,	NoSymbol,	NoSymbol,
    /* 0x51 */  XK_KP_Next,	XK_KP_3,	NoSymbol,	NoSymbol,
    /* 0x52 */  XK_KP_Insert,	XK_KP_0,	NoSymbol,	NoSymbol,
    /* 0x53 */  XK_KP_Delete,	XK_KP_Decimal,	NoSymbol,	NoSymbol,
    /* 0x54 */  XK_Sys_Req,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x55 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x56 */  XK_less,	XK_greater,	NoSymbol,	NoSymbol,
    /* 0x57 */  XK_F11,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x58 */  XK_F12,		NoSymbol,	NoSymbol,	NoSymbol,

    /* 0x59 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5a */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5b */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5c */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5d */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5e */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x5f */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x60 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x61 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x62 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x63 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x64 */  XK_KP_Enter,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x65 */  XK_Control_R,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x66 */  XK_Pause,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x67 */  XK_Print,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x68 */  XK_KP_Divide,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x69 */  XK_Alt_R,	XK_Meta_R,	NoSymbol,	NoSymbol,
    /* 0x6a */  XK_Break,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x6b */  XK_Meta_L,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x6c */  XK_Meta_R,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x6d */  XK_Menu,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x6e */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x6f */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x70 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x71 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x72 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x73 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x74 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x75 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x76 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x77 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x78 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x79 */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x7a */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x7b */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x7c */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x7d */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x7e */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x7f */  NoSymbol,	NoSymbol,	NoSymbol,	NoSymbol,

    /* These are for ServerNumLock handling */
    /* 0x80 */  XK_KP_7,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x81 */  XK_KP_8,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x82 */  XK_KP_9,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x83 */  XK_KP_4,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x84 */  XK_KP_5,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x85 */  XK_KP_6,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x86 */  XK_KP_1,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x87 */  XK_KP_2,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x88 */  XK_KP_3,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x89 */  XK_KP_0,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x8a */  XK_KP_Decimal,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x8b */  XK_Home,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x8c */  XK_Up,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x8d */  XK_Prior,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x8e */  XK_Left,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x8f */  XK_Begin,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x90 */  XK_Right,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x91 */  XK_End,		NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x92 */  XK_Down,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x93 */  XK_Next,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x94 */  XK_Insert,	NoSymbol,	NoSymbol,	NoSymbol,
    /* 0x95 */  XK_Delete,	NoSymbol,	NoSymbol,	NoSymbol,
};