Subversion Repositories HelenOS

Rev

Rev 4042 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4042 Rev 4223
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
/** @addtogroup genarch
29
/** @addtogroup genarch
30
 * @{
30
 * @{
31
 */
31
 */
32
/**
32
/**
33
 * @file
33
 * @file
34
 * @brief   Scan codes for Sun keyboards.
34
 * @brief Scan codes for Sun keyboards.
35
 */
35
 */
36
 
36
 
37
#include <genarch/kbrd/scanc.h>
37
#include <genarch/kbrd/scanc.h>
-
 
38
#include <typedefs.h>
-
 
39
#include <string.h>
38
 
40
 
39
/** Primary meaning of scancodes. */
41
/** Primary meaning of scancodes. */
40
char sc_primary_map[] = {
42
wchar_t sc_primary_map[SCANCODES] = {
41
    [0x00] = SPECIAL,
43
    [0x00] = U_SPECIAL,
42
    [0x01] = SPECIAL,
44
    [0x01] = U_SPECIAL,
43
    [0x02] = SPECIAL,
45
    [0x02] = U_SPECIAL,
44
    [0x03] = SPECIAL,
46
    [0x03] = U_SPECIAL,
45
    [0x04] = SPECIAL,
47
    [0x04] = U_SPECIAL,
46
    [0x05] = SPECIAL,   /* F1 */
48
    [0x05] = U_SPECIAL,      /* F1 */
47
    [0x06] = SPECIAL,   /* F2 */
49
    [0x06] = U_SPECIAL,      /* F2 */
48
    [0x07] = SPECIAL,   /* F10 */
50
    [0x07] = U_SPECIAL,      /* F10 */
49
    [0x08] = SPECIAL,   /* F3 */
51
    [0x08] = U_SPECIAL,      /* F3 */
50
    [0x09] = SPECIAL,   /* F11 */
52
    [0x09] = U_SPECIAL,      /* F11 */
51
    [0x0a] = SPECIAL,   /* F4 */
53
    [0x0a] = U_SPECIAL,      /* F4 */
52
    [0x0b] = SPECIAL,   /* F12 */
54
    [0x0b] = U_SPECIAL,      /* F12 */
53
    [0x0c] = SPECIAL,   /* F5 */
55
    [0x0c] = U_SPECIAL,      /* F5 */
54
    [0x0d] = SPECIAL,   /* RAlt */
56
    [0x0d] = U_SPECIAL,      /* Right Alt */
55
    [0x0e] = SPECIAL,   /* F6 */
57
    [0x0e] = U_SPECIAL,      /* F6 */
56
    [0x0f] = SPECIAL,
58
    [0x0f] = U_SPECIAL,
57
    [0x10] = SPECIAL,   /* F7 */
59
    [0x10] = U_SPECIAL,      /* F7 */
58
    [0x11] = SPECIAL,   /* F8 */
60
    [0x11] = U_SPECIAL,      /* F8 */
59
    [0x12] = SPECIAL,   /* F9 */
61
    [0x12] = U_SPECIAL,      /* F9 */
60
    [0x13] = SPECIAL,   /* LAlt */
62
    [0x13] = U_SPECIAL,      /* Left Alt */
61
    [0x14] = SPECIAL,   /* Up Arrow */
63
    [0x14] = U_UP_ARROW,     /* Up Arrow */
62
    [0x15] = SPECIAL,   /* Pause */
64
    [0x15] = U_SPECIAL,      /* Pause */
63
    [0x16] = SPECIAL,
65
    [0x16] = U_SPECIAL,
64
    [0x17] = SPECIAL,   /* Scroll Lock */
66
    [0x17] = U_SPECIAL,      /* Scroll Lock */
65
    [0x18] = SPECIAL,   /* Left Arrow */
67
    [0x18] = U_LEFT_ARROW,   /* Left Arrow */
66
    [0x19] = SPECIAL,
68
    [0x19] = U_SPECIAL,
67
    [0x1a] = SPECIAL,
69
    [0x1a] = U_SPECIAL,
68
    [0x1b] = SPECIAL,   /* Down Arrow */
70
    [0x1b] = U_DOWN_ARROW,   /* Down Arrow */
69
    [0x1c] = SPECIAL,   /* Right Arrow */
71
    [0x1c] = U_RIGHT_ARROW,  /* Right Arrow */
70
    [0x1d] = SPECIAL,   /* Esc */
72
    [0x1d] = U_ESCAPE,       /* Esc */
71
    [0x1e] = '1',
73
    [0x1e] = '1',
72
    [0x1f] = '2',
74
    [0x1f] = '2',
73
    [0x20] = '3',
75
    [0x20] = '3',
74
    [0x21] = '4',
76
    [0x21] = '4',
75
    [0x22] = '5',
77
    [0x22] = '5',
Line 79... Line 81...
79
    [0x26] = '9',
81
    [0x26] = '9',
80
    [0x27] = '0',
82
    [0x27] = '0',
81
    [0x28] = '-',
83
    [0x28] = '-',
82
    [0x29] = '=',
84
    [0x29] = '=',
83
    [0x2a] = '`',
85
    [0x2a] = '`',
84
    [0x2b] = '\b',      /* Backspace */
86
    [0x2b] = '\b',           /* Backspace */
85
    [0x2c] = SPECIAL,   /* Insert */
87
    [0x2c] = U_SPECIAL,      /* Insert */
86
    [0x2d] = SPECIAL,
88
    [0x2d] = U_SPECIAL,
87
    [0x2e] = '/',       /* numeric keypad */
89
    [0x2e] = '/',            /* Numpad / */
88
    [0x2f] = '*',       /* numeric keypad */
90
    [0x2f] = '*',            /* Numpad * */
89
    [0x30] = SPECIAL,
91
    [0x30] = U_SPECIAL,
90
    [0x31] = SPECIAL,
92
    [0x31] = U_SPECIAL,
91
    [0x32] = '.',       /* numeric keypad */
93
    [0x32] = '.',            /* Numpad . */
92
    [0x33] = SPECIAL,
94
    [0x33] = U_SPECIAL,
93
    [0x34] = SPECIAL,   /* Home */
95
    [0x34] = U_HOME_ARROW,   /* Home */
94
    [0x35] = '\t',      /* Tab */
96
    [0x35] = '\t',           /* Tab */
95
    [0x36] = 'q',
97
    [0x36] = 'q',
96
    [0x37] = 'w',
98
    [0x37] = 'w',
97
    [0x38] = 'e',
99
    [0x38] = 'e',
98
    [0x39] = 'r',
100
    [0x39] = 'r',
99
    [0x3a] = 't',
101
    [0x3a] = 't',
Line 102... Line 104...
102
    [0x3d] = 'i',
104
    [0x3d] = 'i',
103
    [0x3e] = 'o',
105
    [0x3e] = 'o',
104
    [0x3f] = 'p',
106
    [0x3f] = 'p',
105
    [0x40] = '[',
107
    [0x40] = '[',
106
    [0x41] = ']',
108
    [0x41] = ']',
107
    [0x42] = SPECIAL,   /* Del */
109
    [0x42] = U_DELETE,       /* Delete */
108
    [0x43] = SPECIAL,
110
    [0x43] = U_SPECIAL,
109
    [0x44] = '7',       /* numeric keypad */
111
    [0x44] = '7',            /* Numpad 7 */
110
    [0x45] = '8',       /* numeric keypad */
112
    [0x45] = '8',            /* Numpad 8 */
111
    [0x46] = '9',       /* numeric keypad */
113
    [0x46] = '9',            /* Numpad 9 */
112
    [0x47] = '-',       /* numeric keypad */
114
    [0x47] = '-',            /* Numpad - */
113
    [0x48] = SPECIAL,
115
    [0x48] = U_SPECIAL,
114
    [0x49] = SPECIAL,
116
    [0x49] = U_SPECIAL,
115
    [0x4a] = SPECIAL,   /* End */
117
    [0x4a] = U_END_ARROW,    /* End */
116
    [0x4b] = SPECIAL,
118
    [0x4b] = U_SPECIAL,
117
    [0x4c] = SPECIAL,   /* Control */
119
    [0x4c] = U_SPECIAL,      /* Control */
118
    [0x4d] = 'a',
120
    [0x4d] = 'a',
119
    [0x4e] = 's',
121
    [0x4e] = 's',
120
    [0x4f] = 'd',
122
    [0x4f] = 'd',
121
    [0x50] = 'f',
123
    [0x50] = 'f',
122
    [0x51] = 'g',
124
    [0x51] = 'g',
Line 125... Line 127...
125
    [0x54] = 'k',
127
    [0x54] = 'k',
126
    [0x55] = 'l',
128
    [0x55] = 'l',
127
    [0x56] = ';',
129
    [0x56] = ';',
128
    [0x57] = '\'',
130
    [0x57] = '\'',
129
    [0x58] = '\\',
131
    [0x58] = '\\',
130
    [0x59] = '\n',      /* Enter */
132
    [0x59] = '\n',           /* Enter */
131
    [0x5a] = '\n',      /* Enter on numeric keypad */
133
    [0x5a] = '\n',           /* Numpad Enter */
132
    [0x5b] = '4',       /* numeric keypad */
134
    [0x5b] = '4',            /* Numpad 4 */
133
    [0x5c] = '5',       /* numeric keypad */
135
    [0x5c] = '5',            /* Numpad 5 */
134
    [0x5d] = '6',       /* numeric keypad */
136
    [0x5d] = '6',            /* Numpad 6 */
135
    [0x5e] = '0',       /* numeric keypad */
137
    [0x5e] = '0',            /* Numpad 0 */
136
    [0x5f] = SPECIAL,
138
    [0x5f] = U_SPECIAL,
137
    [0x60] = SPECIAL,   /* Page Up */
139
    [0x60] = U_PAGE_UP,      /* Page Up */
138
    [0x61] = SPECIAL,
140
    [0x61] = U_SPECIAL,
139
    [0x62] = SPECIAL,   /* Num Lock */
141
    [0x62] = U_SPECIAL,      /* NumLock */
140
    [0x63] = SPECIAL,   /* LShift */
142
    [0x63] = U_SPECIAL,      /* Left Shift */
141
    [0x64] = 'z',
143
    [0x64] = 'z',
142
    [0x65] = 'x',
144
    [0x65] = 'x',
143
    [0x66] = 'c',
145
    [0x66] = 'c',
144
    [0x67] = 'v',
146
    [0x67] = 'v',
145
    [0x68] = 'b',
147
    [0x68] = 'b',
146
    [0x69] = 'n',
148
    [0x69] = 'n',
147
    [0x6a] = 'm',
149
    [0x6a] = 'm',
148
    [0x6b] = ',',
150
    [0x6b] = ',',
149
    [0x6c] = '.',
151
    [0x6c] = '.',
150
    [0x6d] = '/',
152
    [0x6d] = '/',
151
    [0x6e] = SPECIAL,   /* RShift */
153
    [0x6e] = U_SPECIAL,      /* Right Shift */
152
    [0x6f] = SPECIAL,
154
    [0x6f] = U_SPECIAL,
153
    [0x70] = '1',       /* numeric keypad */
155
    [0x70] = '1',            /* Numpad 1 */
154
    [0x71] = '2',       /* numeric keypad */
156
    [0x71] = '2',            /* Numpad 2 */
155
    [0x72] = '3',       /* numeric keypad */
157
    [0x72] = '3',            /* Numpad 3 */
156
    [0x73] = SPECIAL,
158
    [0x73] = U_SPECIAL,
157
    [0x74] = SPECIAL,
159
    [0x74] = U_SPECIAL,
158
    [0x75] = SPECIAL,
160
    [0x75] = U_SPECIAL,
159
    [0x76] = SPECIAL,
161
    [0x76] = U_SPECIAL,
160
    [0x77] = SPECIAL,   /* Caps Lock */
162
    [0x77] = U_SPECIAL,      /* CapsLock */
161
    [0x78] = SPECIAL,
163
    [0x78] = U_SPECIAL,
162
    [0x79] = ' ',
164
    [0x79] = ' ',
163
    [0x7a] = SPECIAL,
165
    [0x7a] = U_SPECIAL,
164
    [0x7b] = SPECIAL,   /* Page Down */
166
    [0x7b] = U_PAGE_DOWN,    /* Page Down */
165
    [0x7c] = SPECIAL,
167
    [0x7c] = U_SPECIAL,
166
    [0x7d] = '+',       /* numeric key pad */
168
    [0x7d] = '+',            /* Numpad + */
167
    [0x7e] = SPECIAL,
169
    [0x7e] = U_SPECIAL,
168
    [0x7f] = SPECIAL
170
    [0x7f] = U_SPECIAL
169
};
171
};
170
 
172
 
171
/** Secondary meaning of scancodes. */
173
/** Secondary meaning of scancodes. */
172
char sc_secondary_map[] = {
174
wchar_t sc_secondary_map[SCANCODES] = {
173
    [0x00] = SPECIAL,
175
    [0x00] = U_SPECIAL,
174
    [0x01] = SPECIAL,
176
    [0x01] = U_SPECIAL,
175
    [0x02] = SPECIAL,
177
    [0x02] = U_SPECIAL,
176
    [0x03] = SPECIAL,
178
    [0x03] = U_SPECIAL,
177
    [0x04] = SPECIAL,
179
    [0x04] = U_SPECIAL,
178
    [0x05] = SPECIAL,   /* F1 */
180
    [0x05] = U_SPECIAL,      /* F1 */
179
    [0x06] = SPECIAL,   /* F2 */
181
    [0x06] = U_SPECIAL,      /* F2 */
180
    [0x07] = SPECIAL,   /* F10 */
182
    [0x07] = U_SPECIAL,      /* F10 */
181
    [0x08] = SPECIAL,   /* F3 */
183
    [0x08] = U_SPECIAL,      /* F3 */
182
    [0x09] = SPECIAL,   /* F11 */
184
    [0x09] = U_SPECIAL,      /* F11 */
183
    [0x0a] = SPECIAL,   /* F4 */
185
    [0x0a] = U_SPECIAL,      /* F4 */
184
    [0x0b] = SPECIAL,   /* F12 */
186
    [0x0b] = U_SPECIAL,      /* F12 */
185
    [0x0c] = SPECIAL,   /* F5 */
187
    [0x0c] = U_SPECIAL,      /* F5 */
186
    [0x0d] = SPECIAL,   /* RAlt */
188
    [0x0d] = U_SPECIAL,      /* Right Alt */
187
    [0x0e] = SPECIAL,   /* F6 */
189
    [0x0e] = U_SPECIAL,      /* F6 */
188
    [0x0f] = SPECIAL,
190
    [0x0f] = U_SPECIAL,
189
    [0x10] = SPECIAL,   /* F7 */
191
    [0x10] = U_SPECIAL,      /* F7 */
190
    [0x11] = SPECIAL,   /* F8 */
192
    [0x11] = U_SPECIAL,      /* F8 */
191
    [0x12] = SPECIAL,   /* F9 */
193
    [0x12] = U_SPECIAL,      /* F9 */
192
    [0x13] = SPECIAL,   /* LAlt */
194
    [0x13] = U_SPECIAL,      /* Left Alt */
193
    [0x14] = SPECIAL,   /* Up Arrow */
195
    [0x14] = U_UP_ARROW,     /* Up Arrow */
194
    [0x15] = SPECIAL,   /* Pause */
196
    [0x15] = U_SPECIAL,      /* Pause */
195
    [0x16] = SPECIAL,
197
    [0x16] = U_SPECIAL,
196
    [0x17] = SPECIAL,   /* Scroll Lock */
198
    [0x17] = U_SPECIAL,      /* Scroll Lock */
197
    [0x18] = SPECIAL,   /* Left Arrow */
199
    [0x18] = U_LEFT_ARROW,   /* Left Arrow */
198
    [0x19] = SPECIAL,
200
    [0x19] = U_SPECIAL,
199
    [0x1a] = SPECIAL,
201
    [0x1a] = U_SPECIAL,
200
    [0x1b] = SPECIAL,   /* Down Arrow */
202
    [0x1b] = U_DOWN_ARROW,   /* Down Arrow */
201
    [0x1c] = SPECIAL,   /* Right Arrow */
203
    [0x1c] = U_RIGHT_ARROW,  /* Right Arrow */
202
    [0x1d] = SPECIAL,   /* Esc */
204
    [0x1d] = U_ESCAPE,       /* Esc */
203
    [0x1e] = '!',
205
    [0x1e] = '!',
204
    [0x1f] = '@',
206
    [0x1f] = '@',
205
    [0x20] = '#',
207
    [0x20] = '#',
206
    [0x21] = '$',
208
    [0x21] = '$',
207
    [0x22] = '%',
209
    [0x22] = '%',
Line 211... Line 213...
211
    [0x26] = '(',
213
    [0x26] = '(',
212
    [0x27] = ')',
214
    [0x27] = ')',
213
    [0x28] = '_',
215
    [0x28] = '_',
214
    [0x29] = '+',
216
    [0x29] = '+',
215
    [0x2a] = '~',
217
    [0x2a] = '~',
216
    [0x2b] = SPECIAL,   /* Backspace */
218
    [0x2b] = '\b',           /* Backspace */
217
    [0x2c] = SPECIAL,   /* Insert */
219
    [0x2c] = U_SPECIAL,      /* Insert */
218
    [0x2d] = SPECIAL,
220
    [0x2d] = U_SPECIAL,
219
    [0x2e] = '/',       /* numeric keypad */
221
    [0x2e] = '/',            /* Numpad / */
220
    [0x2f] = '*',       /* numeric keypad */
222
    [0x2f] = '*',            /* Numpad * */
221
    [0x30] = SPECIAL,
223
    [0x30] = U_SPECIAL,
222
    [0x31] = SPECIAL,
224
    [0x31] = U_SPECIAL,
223
    [0x32] = '.',       /* numeric keypad */
225
    [0x32] = '.',            /* Numpad . */
224
    [0x33] = SPECIAL,
226
    [0x33] = U_SPECIAL,
225
    [0x34] = SPECIAL,   /* Home */
227
    [0x34] = U_HOME_ARROW,   /* Home */
226
    [0x35] = SPECIAL,   /* Tab */
228
    [0x35] = '\t',           /* Tab */
227
    [0x36] = 'Q',
229
    [0x36] = 'Q',
228
    [0x37] = 'W',
230
    [0x37] = 'W',
229
    [0x38] = 'E',
231
    [0x38] = 'E',
230
    [0x39] = 'R',
232
    [0x39] = 'R',
231
    [0x3a] = 'T',
233
    [0x3a] = 'T',
Line 234... Line 236...
234
    [0x3d] = 'I',
236
    [0x3d] = 'I',
235
    [0x3e] = 'O',
237
    [0x3e] = 'O',
236
    [0x3f] = 'P',
238
    [0x3f] = 'P',
237
    [0x40] = '{',
239
    [0x40] = '{',
238
    [0x41] = '}',
240
    [0x41] = '}',
239
    [0x42] = SPECIAL,   /* Del */
241
    [0x42] = U_DELETE,       /* Delete */
240
    [0x43] = SPECIAL,
242
    [0x43] = U_SPECIAL,
241
    [0x44] = '7',       /* numeric keypad */
243
    [0x44] = '7',            /* Numpad 7 */
242
    [0x45] = '8',       /* numeric keypad */
244
    [0x45] = '8',            /* Numpad 8 */
243
    [0x46] = '9',       /* numeric keypad */
245
    [0x46] = '9',            /* Numpad 9 */
244
    [0x47] = '-',       /* numeric keypad */
246
    [0x47] = '-',            /* Numpad - */
245
    [0x48] = SPECIAL,
247
    [0x48] = U_SPECIAL,
246
    [0x49] = SPECIAL,
248
    [0x49] = U_SPECIAL,
247
    [0x4a] = SPECIAL,   /* End */
249
    [0x4a] = U_END_ARROW,    /* End */
248
    [0x4b] = SPECIAL,
250
    [0x4b] = U_SPECIAL,
249
    [0x4c] = SPECIAL,   /* Control */
251
    [0x4c] = U_SPECIAL,      /* Control */
250
    [0x4d] = 'A',
252
    [0x4d] = 'A',
251
    [0x4e] = 'S',
253
    [0x4e] = 'S',
252
    [0x4f] = 'D',
254
    [0x4f] = 'D',
253
    [0x50] = 'F',
255
    [0x50] = 'F',
254
    [0x51] = 'G',
256
    [0x51] = 'G',
Line 257... Line 259...
257
    [0x54] = 'K',
259
    [0x54] = 'K',
258
    [0x55] = 'L',
260
    [0x55] = 'L',
259
    [0x56] = ':',
261
    [0x56] = ':',
260
    [0x57] = '"',
262
    [0x57] = '"',
261
    [0x58] = '|',
263
    [0x58] = '|',
262
    [0x59] = SPECIAL,   /* Enter */
264
    [0x59] = '\n',           /* Enter */
263
    [0x5a] = SPECIAL,   /* Enter on numeric keypad */
265
    [0x5a] = '\n',           /* Numpad Enter */
264
    [0x5b] = '4',       /* numeric keypad */
266
    [0x5b] = '4',            /* Numpad 4 */
265
    [0x5c] = '5',       /* numeric keypad */
267
    [0x5c] = '5',            /* Numpad 5 */
266
    [0x5d] = '6',       /* numeric keypad */
268
    [0x5d] = '6',            /* Numpad 6 */
267
    [0x5e] = '0',       /* numeric keypad */
269
    [0x5e] = '0',            /* Numpad 0 */
268
    [0x5f] = SPECIAL,
270
    [0x5f] = U_SPECIAL,
269
    [0x60] = SPECIAL,   /* Page Up */
271
    [0x60] = U_PAGE_UP,      /* Page Up */
270
    [0x61] = SPECIAL,
272
    [0x61] = U_SPECIAL,
271
    [0x62] = SPECIAL,   /* Num Lock */
273
    [0x62] = U_SPECIAL,      /* NumLock */
272
    [0x63] = SPECIAL,   /* LShift */
274
    [0x63] = U_SPECIAL,      /* Left Shift */
273
    [0x64] = 'Z',
275
    [0x64] = 'Z',
274
    [0x65] = 'X',
276
    [0x65] = 'X',
275
    [0x66] = 'C',
277
    [0x66] = 'C',
276
    [0x67] = 'V',
278
    [0x67] = 'V',
277
    [0x68] = 'B',
279
    [0x68] = 'B',
278
    [0x69] = 'N',
280
    [0x69] = 'N',
279
    [0x6a] = 'M',
281
    [0x6a] = 'M',
280
    [0x6b] = '<',
282
    [0x6b] = '<',
281
    [0x6c] = '>',
283
    [0x6c] = '>',
282
    [0x6d] = '?',
284
    [0x6d] = '?',
283
    [0x6e] = SPECIAL,   /* RShift */
285
    [0x6e] = U_SPECIAL,      /* Right Shift */
284
    [0x6f] = SPECIAL,
286
    [0x6f] = U_SPECIAL,
285
    [0x70] = '1',       /* numeric keypad */
287
    [0x70] = '1',            /* Numpad 1 */
286
    [0x71] = '2',       /* numeric keypad */
288
    [0x71] = '2',            /* Numpad 2 */
287
    [0x72] = '3',       /* numeric keypad */
289
    [0x72] = '3',            /* Numpad 3 */
288
    [0x73] = SPECIAL,
290
    [0x73] = U_SPECIAL,
289
    [0x74] = SPECIAL,
291
    [0x74] = U_SPECIAL,
290
    [0x75] = SPECIAL,
292
    [0x75] = U_SPECIAL,
291
    [0x76] = SPECIAL,
293
    [0x76] = U_SPECIAL,
292
    [0x77] = SPECIAL,   /* Caps Lock */
294
    [0x77] = U_SPECIAL,      /* CapsLock */
293
    [0x78] = SPECIAL,
295
    [0x78] = U_SPECIAL,
294
    [0x79] = ' ',
296
    [0x79] = ' ',
295
    [0x7a] = SPECIAL,
297
    [0x7a] = U_SPECIAL,
296
    [0x7b] = SPECIAL,   /* Page Down */
298
    [0x7b] = U_PAGE_DOWN,    /* Page Down */
297
    [0x7c] = SPECIAL,
299
    [0x7c] = U_SPECIAL,
298
    [0x7d] = '+',       /* numeric key pad */
300
    [0x7d] = '+',            /* Numpad + */
299
    [0x7e] = SPECIAL,
301
    [0x7e] = U_SPECIAL,
300
    [0x7f] = SPECIAL
302
    [0x7f] = U_SPECIAL
301
};
303
};
302
 
304
 
303
/** @}
305
/** @}
304
 */
306
 */