3 * For Scancodes see notes in winkeynames.h !!!!
7 static KeySym map
[NUM_KEYCODES
* GLYPHS_PER_KEY
] = {
8 /* 0x00 */ NoSymbol
, NoSymbol
, NoSymbol
, NoSymbol
,
9 /* 0x01 */ XK_Escape
, NoSymbol
, NoSymbol
, NoSymbol
,
10 /* 0x02 */ XK_1
, XK_exclam
, NoSymbol
, NoSymbol
,
11 /* 0x03 */ XK_2
, XK_at
, NoSymbol
, NoSymbol
,
12 /* 0x04 */ XK_3
, XK_numbersign
, NoSymbol
, NoSymbol
,
13 /* 0x05 */ XK_4
, XK_dollar
, NoSymbol
, NoSymbol
,
14 /* 0x06 */ XK_5
, XK_percent
, NoSymbol
, NoSymbol
,
15 /* 0x07 */ XK_6
, XK_asciicircum
, NoSymbol
, NoSymbol
,
16 /* 0x08 */ XK_7
, XK_ampersand
, NoSymbol
, NoSymbol
,
17 /* 0x09 */ XK_8
, XK_asterisk
, NoSymbol
, NoSymbol
,
18 /* 0x0a */ XK_9
, XK_parenleft
, NoSymbol
, NoSymbol
,
19 /* 0x0b */ XK_0
, XK_parenright
, NoSymbol
, NoSymbol
,
20 /* 0x0c */ XK_minus
, XK_underscore
, NoSymbol
, NoSymbol
,
21 /* 0x0d */ XK_equal
, XK_plus
, NoSymbol
, NoSymbol
,
22 /* 0x0e */ XK_BackSpace
, NoSymbol
, NoSymbol
, NoSymbol
,
23 /* 0x0f */ XK_Tab
, XK_ISO_Left_Tab
,NoSymbol
, NoSymbol
,
24 /* 0x10 */ XK_Q
, NoSymbol
, NoSymbol
, NoSymbol
,
25 /* 0x11 */ XK_W
, NoSymbol
, NoSymbol
, NoSymbol
,
26 /* 0x12 */ XK_E
, NoSymbol
, NoSymbol
, NoSymbol
,
27 /* 0x13 */ XK_R
, NoSymbol
, NoSymbol
, NoSymbol
,
28 /* 0x14 */ XK_T
, NoSymbol
, NoSymbol
, NoSymbol
,
29 /* 0x15 */ XK_Y
, NoSymbol
, NoSymbol
, NoSymbol
,
30 /* 0x16 */ XK_U
, NoSymbol
, NoSymbol
, NoSymbol
,
31 /* 0x17 */ XK_I
, NoSymbol
, NoSymbol
, NoSymbol
,
32 /* 0x18 */ XK_O
, NoSymbol
, NoSymbol
, NoSymbol
,
33 /* 0x19 */ XK_P
, NoSymbol
, NoSymbol
, NoSymbol
,
34 /* 0x1a */ XK_bracketleft
, XK_braceleft
, NoSymbol
, NoSymbol
,
35 /* 0x1b */ XK_bracketright
,XK_braceright
, NoSymbol
, NoSymbol
,
36 /* 0x1c */ XK_Return
, NoSymbol
, NoSymbol
, NoSymbol
,
37 /* 0x1d */ XK_Control_L
, NoSymbol
, NoSymbol
, NoSymbol
,
38 /* 0x1e */ XK_A
, NoSymbol
, NoSymbol
, NoSymbol
,
39 /* 0x1f */ XK_S
, NoSymbol
, NoSymbol
, NoSymbol
,
40 /* 0x20 */ XK_D
, NoSymbol
, NoSymbol
, NoSymbol
,
41 /* 0x21 */ XK_F
, NoSymbol
, NoSymbol
, NoSymbol
,
42 /* 0x22 */ XK_G
, NoSymbol
, NoSymbol
, NoSymbol
,
43 /* 0x23 */ XK_H
, NoSymbol
, NoSymbol
, NoSymbol
,
44 /* 0x24 */ XK_J
, NoSymbol
, NoSymbol
, NoSymbol
,
45 /* 0x25 */ XK_K
, NoSymbol
, NoSymbol
, NoSymbol
,
46 /* 0x26 */ XK_L
, NoSymbol
, NoSymbol
, NoSymbol
,
47 /* 0x27 */ XK_semicolon
, XK_colon
, NoSymbol
, NoSymbol
,
48 /* 0x28 */ XK_quoteright
, XK_quotedbl
, NoSymbol
, NoSymbol
,
49 /* 0x29 */ XK_quoteleft
, XK_asciitilde
, NoSymbol
, NoSymbol
,
50 /* 0x2a */ XK_Shift_L
, NoSymbol
, NoSymbol
, NoSymbol
,
51 /* 0x2b */ XK_backslash
, XK_bar
, NoSymbol
, NoSymbol
,
52 /* 0x2c */ XK_Z
, NoSymbol
, NoSymbol
, NoSymbol
,
53 /* 0x2d */ XK_X
, NoSymbol
, NoSymbol
, NoSymbol
,
54 /* 0x2e */ XK_C
, NoSymbol
, NoSymbol
, NoSymbol
,
55 /* 0x2f */ XK_V
, NoSymbol
, NoSymbol
, NoSymbol
,
56 /* 0x30 */ XK_B
, NoSymbol
, NoSymbol
, NoSymbol
,
57 /* 0x31 */ XK_N
, NoSymbol
, NoSymbol
, NoSymbol
,
58 /* 0x32 */ XK_M
, NoSymbol
, NoSymbol
, NoSymbol
,
59 /* 0x33 */ XK_comma
, XK_less
, NoSymbol
, NoSymbol
,
60 /* 0x34 */ XK_period
, XK_greater
, NoSymbol
, NoSymbol
,
61 /* 0x35 */ XK_slash
, XK_question
, NoSymbol
, NoSymbol
,
62 /* 0x36 */ XK_Shift_R
, NoSymbol
, NoSymbol
, NoSymbol
,
63 /* 0x37 */ XK_KP_Multiply
, NoSymbol
, NoSymbol
, NoSymbol
,
64 /* 0x38 */ XK_Alt_L
, XK_Meta_L
, NoSymbol
, NoSymbol
,
65 /* 0x39 */ XK_space
, NoSymbol
, NoSymbol
, NoSymbol
,
66 /* 0x3a */ XK_Caps_Lock
, NoSymbol
, NoSymbol
, NoSymbol
,
67 /* 0x3b */ XK_F1
, NoSymbol
, NoSymbol
, NoSymbol
,
68 /* 0x3c */ XK_F2
, NoSymbol
, NoSymbol
, NoSymbol
,
69 /* 0x3d */ XK_F3
, NoSymbol
, NoSymbol
, NoSymbol
,
70 /* 0x3e */ XK_F4
, NoSymbol
, NoSymbol
, NoSymbol
,
71 /* 0x3f */ XK_F5
, NoSymbol
, NoSymbol
, NoSymbol
,
72 /* 0x40 */ XK_F6
, NoSymbol
, NoSymbol
, NoSymbol
,
73 /* 0x41 */ XK_F7
, NoSymbol
, NoSymbol
, NoSymbol
,
74 /* 0x42 */ XK_F8
, NoSymbol
, NoSymbol
, NoSymbol
,
75 /* 0x43 */ XK_F9
, NoSymbol
, NoSymbol
, NoSymbol
,
76 /* 0x44 */ XK_F10
, NoSymbol
, NoSymbol
, NoSymbol
,
77 /* 0x45 */ XK_Num_Lock
, NoSymbol
, NoSymbol
, NoSymbol
,
78 /* 0x46 */ XK_Scroll_Lock
, NoSymbol
, NoSymbol
, NoSymbol
,
79 /* 0x47 */ XK_KP_Home
, XK_KP_7
, NoSymbol
, NoSymbol
,
80 /* 0x48 */ XK_KP_Up
, XK_KP_8
, NoSymbol
, NoSymbol
,
81 /* 0x49 */ XK_KP_Prior
, XK_KP_9
, NoSymbol
, NoSymbol
,
82 /* 0x4a */ XK_KP_Subtract
, NoSymbol
, NoSymbol
, NoSymbol
,
83 /* 0x4b */ XK_KP_Left
, XK_KP_4
, NoSymbol
, NoSymbol
,
84 /* 0x4c */ XK_KP_Begin
, XK_KP_5
, NoSymbol
, NoSymbol
,
85 /* 0x4d */ XK_KP_Right
, XK_KP_6
, NoSymbol
, NoSymbol
,
86 /* 0x4e */ XK_KP_Add
, NoSymbol
, NoSymbol
, NoSymbol
,
87 /* 0x4f */ XK_KP_End
, XK_KP_1
, NoSymbol
, NoSymbol
,
88 /* 0x50 */ XK_KP_Down
, XK_KP_2
, NoSymbol
, NoSymbol
,
89 /* 0x51 */ XK_KP_Next
, XK_KP_3
, NoSymbol
, NoSymbol
,
90 /* 0x52 */ XK_KP_Insert
, XK_KP_0
, NoSymbol
, NoSymbol
,
91 /* 0x53 */ XK_KP_Delete
, XK_KP_Decimal
, NoSymbol
, NoSymbol
,
92 /* 0x54 */ XK_Sys_Req
, NoSymbol
, NoSymbol
, NoSymbol
,
93 /* 0x55 */ NoSymbol
, NoSymbol
, NoSymbol
, NoSymbol
,
94 /* 0x56 */ XK_less
, XK_greater
, NoSymbol
, NoSymbol
,
95 /* 0x57 */ XK_F11
, NoSymbol
, NoSymbol
, NoSymbol
,
96 /* 0x58 */ XK_F12
, NoSymbol
, NoSymbol
, NoSymbol
,
97 /* 0x59 */ XK_Home
, NoSymbol
, NoSymbol
, NoSymbol
,
98 /* 0x5a */ XK_Up
, NoSymbol
, NoSymbol
, NoSymbol
,
99 /* 0x5b */ XK_Prior
, NoSymbol
, NoSymbol
, NoSymbol
,
100 /* 0x5c */ XK_Left
, NoSymbol
, NoSymbol
, NoSymbol
,
101 /* 0x5d */ XK_Begin
, NoSymbol
, NoSymbol
, NoSymbol
,
102 /* 0x5e */ XK_Right
, NoSymbol
, NoSymbol
, NoSymbol
,
103 /* 0x5f */ XK_End
, NoSymbol
, NoSymbol
, NoSymbol
,
104 /* 0x60 */ XK_Down
, NoSymbol
, NoSymbol
, NoSymbol
,
105 /* 0x61 */ XK_Next
, NoSymbol
, NoSymbol
, NoSymbol
,
106 /* 0x62 */ XK_Insert
, NoSymbol
, NoSymbol
, NoSymbol
,
107 /* 0x63 */ XK_Delete
, NoSymbol
, NoSymbol
, NoSymbol
,
108 /* 0x64 */ XK_KP_Enter
, NoSymbol
, NoSymbol
, NoSymbol
,
109 /* 0x65 */ XK_Control_R
, NoSymbol
, NoSymbol
, NoSymbol
,
110 /* 0x66 */ XK_Pause
, NoSymbol
, NoSymbol
, NoSymbol
,
111 /* 0x67 */ XK_Print
, NoSymbol
, NoSymbol
, NoSymbol
,
112 /* 0x68 */ XK_KP_Divide
, NoSymbol
, NoSymbol
, NoSymbol
,
113 /* 0x69 */ XK_Alt_R
, XK_Meta_R
, NoSymbol
, NoSymbol
,
114 /* 0x6a */ XK_Break
, NoSymbol
, NoSymbol
, NoSymbol
,
115 /* 0x6b */ XK_Meta_L
, NoSymbol
, NoSymbol
, NoSymbol
,
116 /* 0x6c */ XK_Meta_R
, NoSymbol
, NoSymbol
, NoSymbol
,
117 /* 0x6d */ XK_Menu
, NoSymbol
, NoSymbol
, NoSymbol
,
118 /* 0x6e */ XK_F13
, NoSymbol
, NoSymbol
, NoSymbol
,
119 /* 0x6f */ XK_F14
, NoSymbol
, NoSymbol
, NoSymbol
,
120 /* 0x70 */ XK_F15
, NoSymbol
, NoSymbol
, NoSymbol
,
121 /* 0x71 */ XK_F16
, NoSymbol
, NoSymbol
, NoSymbol
,
122 /* 0x72 */ XK_F17
, NoSymbol
, NoSymbol
, NoSymbol
,
123 /* 0x73 */ XK_backslash
, XK_underscore
, NoSymbol
, NoSymbol
,
124 /* 0x74 */ NoSymbol
, NoSymbol
, NoSymbol
, NoSymbol
,
125 /* 0x75 */ NoSymbol
, NoSymbol
, NoSymbol
, NoSymbol
,
126 /* 0x76 */ NoSymbol
, NoSymbol
, NoSymbol
, NoSymbol
,
127 /* 0x77 */ NoSymbol
, NoSymbol
, NoSymbol
, NoSymbol
,
128 /* 0x78 */ NoSymbol
, NoSymbol
, NoSymbol
, NoSymbol
,
129 /* 0x79 */ XK_Henkan
, XK_Mode_switch
, NoSymbol
, NoSymbol
,
130 /* 0x7a */ NoSymbol
, NoSymbol
, NoSymbol
, NoSymbol
,
131 /* 0x7b */ XK_Muhenkan
, NoSymbol
, NoSymbol
, NoSymbol
,
132 /* 0x7c */ NoSymbol
, NoSymbol
, NoSymbol
, NoSymbol
,
133 /* 0x7d */ XK_backslash
, XK_bar
, NoSymbol
, NoSymbol
,
134 /* 0x7e */ NoSymbol
, NoSymbol
, NoSymbol
, NoSymbol
,
135 /* 0x7f */ NoSymbol
, NoSymbol
, NoSymbol
, NoSymbol
,