wskbdmap_amiga.c revision 1.2 1 /*-
2 * Copyright (c) 1997 The NetBSD Foundation, Inc.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to The NetBSD Foundation
6 * by Juergen Hannken-Illjes.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the distribution.
16 * 3. All advertising materials mentioning features or use of this software
17 * must display the following acknowledgement:
18 * This product includes software developed by the NetBSD
19 * Foundation, Inc. and its contributors.
20 * 4. Neither the name of The NetBSD Foundation nor the names of its
21 * contributors may be used to endorse or promote products derived
22 * from this software without specific prior written permission.
23 *
24 * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
25 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
26 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
27 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
28 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
29 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
30 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
32 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
33 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34 * POSSIBILITY OF SUCH DAMAGE.
35 */
36
37 /*
38 * Amiga keyboard map for wscons.
39 *
40 * Modified from wskbdmap_mfii.c
41 * The parts which have not been converted to use Amiga keycodes have
42 * been commented out.
43 *
44 * US/DE keymaps are the ones that are supposed to work at least
45 * partially.
46 */
47
48 #include <sys/types.h>
49 #include <dev/wscons/wsksymdef.h>
50 #include <dev/wscons/wsksymvar.h>
51 #include <dev/pckbc/wskbdmap_mfii.h>
52
53 #define KC(n) KS_KEYCODE(n)
54
55 static const keysym_t amikbd_keydesc_us[] = {
56 /* pos command normal shifted */
57 KC(69), KS_Cmd_Debugger, KS_Escape,
58 KC(1), KS_1, KS_exclam,
59 KC(2), KS_2, KS_at,
60 KC(3), KS_3, KS_numbersign,
61 KC(4), KS_4, KS_dollar,
62 KC(5), KS_5, KS_percent,
63 KC(6), KS_6, KS_asciicircum,
64 KC(7), KS_7, KS_ampersand,
65 KC(8), KS_8, KS_asterisk,
66 KC(9), KS_9, KS_parenleft,
67 KC(10), KS_0, KS_parenright,
68 KC(11), KS_minus, KS_underscore,
69 KC(12), KS_equal, KS_plus,
70 KC(65), KS_Cmd_ResetEmul, KS_Delete,
71 KC(66), KS_Tab,
72 KC(16), KS_q,
73 KC(17), KS_w,
74 KC(18), KS_e,
75 KC(19), KS_r,
76 KC(20), KS_t,
77 KC(21), KS_y,
78 KC(22), KS_u,
79 KC(23), KS_i,
80 KC(24), KS_o,
81 KC(25), KS_p,
82 KC(26), KS_bracketleft, KS_braceleft,
83 KC(27), KS_bracketright, KS_braceright,
84 KC(68), KS_Return,
85 KC(99), KS_Cmd1, KS_Control_L,
86 KC(32), KS_a,
87 KC(33), KS_s,
88 KC(34), KS_d,
89 KC(35), KS_f,
90 KC(36), KS_g,
91 KC(37), KS_h,
92 KC(38), KS_j,
93 KC(39), KS_k,
94 KC(40), KS_l,
95 KC(41), KS_semicolon, KS_colon,
96 KC(42), KS_apostrophe, KS_quotedbl,
97 KC(0), KS_grave, KS_asciitilde,
98 KC(96), KS_Shift_L,
99 KC(13), KS_backslash, KS_bar,
100 KC(48), KS_less, KS_greater,
101 KC(49), KS_z,
102 KC(50), KS_x,
103 KC(51), KS_c,
104 KC(52), KS_v,
105 KC(53), KS_b,
106 KC(54), KS_n,
107 KC(55), KS_m,
108 KC(56), KS_comma, KS_less,
109 KC(57), KS_period, KS_greater,
110 KC(58), KS_slash, KS_question,
111 KC(97), KS_Shift_R,
112 KC(100), KS_Cmd2, KS_Alt_L,
113 KC(64), KS_space,
114 /* KC(58), KS_Caps_Lock,*/
115 KC(80), KS_Cmd_Screen0, KS_f1,
116 KC(81), KS_Cmd_Screen1, KS_f2,
117 KC(82), KS_Cmd_Screen2, KS_f3,
118 KC(83), KS_Cmd_Screen3, KS_f4,
119 KC(84), KS_Cmd_Screen4, KS_f5,
120 KC(85), KS_Cmd_Screen5, KS_f6,
121 KC(86), KS_Cmd_Screen6, KS_f7,
122 KC(87), KS_Cmd_Screen7, KS_f8,
123 KC(88), KS_Cmd_Screen8, KS_f9,
124 KC(89), KS_Cmd_Screen9, KS_f10,
125
126 /* KC(70), KS_Hold_Screen,*/
127
128 /* numeric keypad */
129
130 KC(61), KS_KP_7, KS_KP_Home,
131 KC(62), KS_KP_8, KS_KP_Up,
132 KC(63), KS_KP_9, KS_KP_Prior,
133 KC(74), KS_KP_Subtract,
134 KC(45), KS_KP_4, KS_KP_Left,
135 KC(46), KS_KP_5, KS_KP_Begin,
136 KC(47), KS_KP_6, KS_KP_Right,
137 KC(94), KS_KP_Add,
138 KC(29), KS_KP_1, KS_KP_End,
139 KC(30), KS_KP_2, KS_KP_Down,
140 KC(31), KS_KP_3, KS_KP_Next,
141 KC(15), KS_KP_0, KS_KP_Insert,
142 KC(60), KS_KP_Decimal, KS_KP_Delete,
143 KC(67), KS_KP_Enter,
144 KC(90), KS_bracketleft, KS_braceleft,
145 KC(91), KS_bracketright,KS_braceright,
146 KC(92), KS_KP_Divide,
147 KC(93), KS_KP_Multiply,
148
149 /* KC(87), KS_f11,*/
150 /* KC(88), KS_f12,*/
151
152 /* KC(127), KS_Pause,*/ /* Break */
153 /* KC(157), KS_Control_R,*/
154 /* KC(170), KS_Print_Screen,*/
155 /* KC(183), KS_Print_Screen,*/
156 KC(101), KS_Alt_R, KS_Multi_key,
157 /* KC(199), KS_Home,*/
158 KC(76), KS_Up,
159 /* KC(90), KS_Prior,*/
160 KC(79), KS_Left,
161 KC(78), KS_Right,
162 /* KC(207), KS_End,*/
163 KC(77), KS_Down,
164 /* KC(91), KS_Next,*/
165 /* KC(210), KS_Insert,*/
166 /* KC(211), KS_KP_Delete,*/
167 KC(102), KS_Cmd, KS_Meta_L,
168 KC(103), KS_Cmd, KS_Meta_R,
169 /* KC(221), KS_Menu,*/
170 };
171
172 static const keysym_t amikbd_keydesc_de[] = {
173 /* pos normal shifted altgr shift-altgr */
174 KC(2), KS_2, KS_quotedbl, KS_twosuperior,
175 KC(3), KS_3, KS_section, KS_threesuperior,
176 KC(6), KS_6, KS_ampersand,
177 KC(7), KS_7, KS_slash, KS_braceleft,
178 KC(8), KS_8, KS_parenleft, KS_bracketleft,
179 KC(9), KS_9, KS_parenright, KS_bracketright,
180 KC(10), KS_0, KS_equal, KS_braceright,
181 KC(11), KS_ssharp, KS_question, KS_backslash,
182 KC(12), KS_dead_acute, KS_dead_grave,
183 KC(16), KS_q, KS_Q, KS_at,
184 KC(21), KS_z,
185 KC(26), KS_udiaeresis,
186 KC(27), KS_plus, KS_asterisk, KS_dead_tilde,
187 KC(41), KS_odiaeresis,
188 KC(42), KS_adiaeresis,
189 KC(13), KS_dead_circumflex,KS_dead_abovering,
190 KC(43), KS_numbersign, KS_apostrophe,
191 KC(49), KS_y,
192 KC(55), KS_m, KS_M, KS_mu,
193 KC(56), KS_comma, KS_semicolon,
194 KC(57), KS_period, KS_colon,
195 KC(58), KS_minus, KS_underscore,
196 KC(48), KS_less, KS_greater, KS_bar, KS_brokenbar,
197 KC(101), KS_Mode_switch, KS_Multi_key,
198 };
199
200 static const keysym_t amikbd_keydesc_de_nodead[] = {
201 /* pos normal shifted altgr shift-altgr */
202 KC(12), KS_apostrophe, KS_grave,
203 KC(27), KS_plus, KS_asterisk, KS_asciitilde,
204 KC(0), KS_asciicircum, KS_degree,
205 };
206
207 static const keysym_t amikbd_keydesc_dk[] = {
208 /* pos normal shifted altgr shift-altgr */
209 KC(2), KS_2, KS_quotedbl, KS_at,
210 KC(3), KS_3, KS_numbersign, KS_sterling,
211 KC(4), KS_4, KS_currency, KS_dollar,
212 KC(6), KS_6, KS_ampersand,
213 KC(7), KS_7, KS_slash, KS_braceleft,
214 KC(8), KS_8, KS_parenleft, KS_bracketleft,
215 KC(9), KS_9, KS_parenright, KS_bracketright,
216 KC(10), KS_0, KS_equal, KS_braceright,
217 KC(11), KS_plus, KS_question,
218 KC(12), KS_dead_acute, KS_dead_grave, KS_bar,
219 KC(26), KS_aring,
220 KC(27), KS_dead_diaeresis, KS_dead_circumflex, KS_dead_tilde,
221 KC(41), KS_ae,
222 KC(42), KS_oslash,
223 KC(43), KS_apostrophe, KS_asterisk,
224 KC(56), KS_comma, KS_semicolon,
225 KC(57), KS_period, KS_colon,
226 KC(58), KS_minus, KS_underscore,
227 KC(48), KS_less, KS_greater, KS_backslash,
228 KC(101), KS_Mode_switch, KS_Multi_key,
229 };
230
231 static const keysym_t amikbd_keydesc_dk_nodead[] = {
232 /* pos normal shifted altgr shift-altgr */
233 KC(12), KS_apostrophe, KS_grave, KS_bar,
234 KC(27), KS_diaeresis, KS_asciicircum, KS_asciitilde,
235 };
236
237 static const keysym_t amikbd_keydesc_sv[] = {
238 /* pos normal shifted altgr shift-altgr */
239 KC(11), KS_plus, KS_question, KS_backslash,
240 KC(27), KS_dead_diaeresis, KS_dead_circumflex, KS_dead_tilde,
241 KC(41), KS_odiaeresis,
242 KC(42), KS_adiaeresis,
243 KC(48), KS_less, KS_greater, KS_bar,
244 KC(101), KS_Mode_switch, KS_Multi_key,
245 };
246
247 static const keysym_t amikbd_keydesc_sv_nodead[] = {
248 /* pos normal shifted altgr shift-altgr */
249 KC(12), KS_apostrophe, KS_grave, KS_bar,
250 KC(27), KS_diaeresis, KS_asciicircum, KS_asciitilde,
251 };
252
253 static const keysym_t amikbd_keydesc_no[] = {
254 /* pos normal shifted altgr shift-altgr */
255 KC(12), KS_backslash, KS_dead_grave, KS_dead_acute,
256 KC(27), KS_dead_diaeresis, KS_dead_circumflex, KS_dead_tilde,
257 KC(41), KS_oslash,
258 KC(42), KS_ae,
259 KC(48), KS_less, KS_greater,
260 };
261
262 static const keysym_t amikbd_keydesc_no_nodead[] = {
263 /* pos normal shifted altgr shift-altgr */
264 KC(12), KS_backslash, KS_grave, KS_acute,
265 KC(27), KS_diaeresis, KS_asciicircum, KS_asciitilde,
266 };
267
268 static const keysym_t pckbd_keydesc_fr[] = {
269 /* pos normal shifted altgr shift-altgr */
270 KC(2), KS_ampersand, KS_1,
271 KC(3), KS_eacute, KS_2, KS_asciitilde,
272 KC(4), KS_quotedbl, KS_3, KS_numbersign,
273 KC(5), KS_apostrophe, KS_4, KS_braceleft,
274 KC(6), KS_parenleft, KS_5, KS_bracketleft,
275 KC(7), KS_minus, KS_6, KS_bar,
276 KC(8), KS_egrave, KS_7, KS_grave,
277 KC(9), KS_underscore, KS_8, KS_backslash,
278 KC(10), KS_ccedilla, KS_9, KS_asciicircum,
279 KC(11), KS_agrave, KS_0, KS_at,
280 KC(12), KS_parenright, KS_degree, KS_bracketright,
281 KC(13), KS_equal, KS_plus, KS_braceright,
282 KC(16), KS_a,
283 KC(17), KS_z,
284 KC(26), KS_dead_circumflex, KS_dead_diaeresis,
285 KC(27), KS_dollar, KS_sterling, KS_currency,
286 KC(30), KS_q,
287 KC(39), KS_m,
288 KC(40), KS_ugrave, KS_percent,
289 KC(41), KS_twosuperior,
290 KC(43), KS_asterisk, KS_mu,
291 KC(44), KS_w,
292 KC(50), KS_comma, KS_question,
293 KC(51), KS_semicolon, KS_period,
294 KC(52), KS_colon, KS_slash,
295 KC(53), KS_exclam, KS_section,
296 KC(86), KS_less, KS_greater,
297 KC(184), KS_Mode_switch, KS_Multi_key,
298 };
299
300 static const keysym_t pckbd_keydesc_it[] = {
301 /* pos normal shifted altgr shift-altgr */
302 KC(3), KS_2, KS_quotedbl, KS_twosuperior,
303 KC(4), KS_3, KS_sterling, KS_threesuperior,
304 KC(5), KS_4, KS_dollar,
305 KC(6), KS_5, KS_percent,
306 KC(7), KS_6, KS_ampersand,
307 KC(8), KS_7, KS_slash,
308 KC(9), KS_8, KS_parenleft,
309 KC(10), KS_9, KS_parenright,
310 KC(11), KS_0, KS_equal,
311 KC(12), KS_apostrophe, KS_question,
312 KC(13), KS_igrave, KS_asciicircum,
313 KC(26), KS_egrave, KS_eacute, KS_braceleft, KS_bracketleft,
314 KC(27), KS_plus, KS_asterisk, KS_braceright, KS_bracketright,
315 KC(39), KS_ograve, KS_Ccedilla, KS_at,
316 KC(40), KS_agrave, KS_degree, KS_numbersign,
317 KC(41), KS_backslash, KS_bar,
318 KC(43), KS_ugrave, KS_section,
319 KC(51), KS_comma, KS_semicolon,
320 KC(52), KS_period, KS_colon,
321 KC(53), KS_minus, KS_underscore,
322 KC(86), KS_less, KS_greater,
323 KC(184), KS_Mode_switch, KS_Multi_key,
324 };
325
326 static const keysym_t pckbd_keydesc_uk[] = {
327 /* pos normal shifted altgr shift-altgr */
328 KC(2), KS_1, KS_exclam, KS_plusminus, KS_exclamdown,
329 KC(3), KS_2, KS_quotedbl, KS_twosuperior, KS_cent,
330 KC(4), KS_3, KS_sterling, KS_threesuperior,
331 KC(5), KS_4, KS_dollar, KS_acute, KS_currency,
332 KC(6), KS_5, KS_percent, KS_mu, KS_yen,
333 KC(7), KS_6, KS_asciicircum, KS_paragraph,
334 KC(8), KS_7, KS_ampersand, KS_periodcentered, KS_brokenbar,
335 KC(9), KS_8, KS_asterisk, KS_cedilla, KS_ordfeminine,
336 KC(10), KS_9, KS_parenleft, KS_onesuperior, KS_diaeresis,
337 KC(11), KS_0, KS_parenright, KS_masculine, KS_copyright,
338 KC(12), KS_minus, KS_underscore, KS_hyphen, KS_ssharp,
339 KC(13), KS_equal, KS_plus, KS_onehalf, KS_guillemotleft,
340 KC(40), KS_apostrophe, KS_at, KS_section, KS_Agrave,
341 KC(41), KS_grave, KS_grave, KS_agrave, KS_agrave,
342 KC(43), KS_numbersign, KS_asciitilde, KS_sterling, KS_thorn,
343 KC(86), KS_backslash, KS_bar, KS_Udiaeresis,
344 };
345
346 static const keysym_t pckbd_keydesc_jp[] = {
347 /* pos normal shifted altgr shift-altgr */
348 KC(3), KS_2, KS_quotedbl,
349 KC(7), KS_6, KS_ampersand,
350 KC(8), KS_7, KS_apostrophe,
351 KC(9), KS_8, KS_parenleft,
352 KC(10), KS_9, KS_parenright,
353 KC(11), KS_0,
354 KC(12), KS_minus, KS_equal,
355 KC(13), KS_asciicircum, KS_asciitilde,
356 KC(26), KS_at, KS_grave,
357 KC(27), KS_bracketleft, KS_braceleft,
358 KC(39), KS_semicolon, KS_plus,
359 KC(40), KS_colon, KS_asterisk,
360 KC(41), KS_Zenkaku_Hankaku, /* replace grave/tilde */
361 KC(43), KS_bracketright, KS_braceright,
362 KC(112), KS_Hiragana_Katakana,
363 KC(115), KS_backslash, KS_underscore,
364 KC(121), KS_Henkan,
365 KC(123), KS_Muhenkan,
366 KC(125), KS_backslash, KS_bar,
367 };
368
369 static const keysym_t pckbd_keydesc_es[] = {
370 /* pos normal shifted altgr shift-altgr */
371 KC(2), KS_1, KS_exclam, KS_bar,
372 KC(3), KS_2, KS_quotedbl, KS_at,
373 KC(4), KS_3, KS_periodcentered, KS_numbersign,
374 KC(5), KS_4, KS_dollar, KS_asciitilde,
375 KC(7), KS_6, KS_ampersand,
376 KC(8), KS_7, KS_slash,
377 KC(9), KS_8, KS_parenleft,
378 KC(10), KS_9, KS_parenright,
379 KC(11), KS_0, KS_equal,
380 KC(12), KS_grave, KS_question,
381 KC(13), KS_exclamdown, KS_questiondown,
382 KC(26), KS_dead_grave, KS_dead_circumflex, KS_bracketleft,
383 KC(27), KS_plus, KS_asterisk, KS_bracketright,
384 KC(39), KS_ntilde,
385 KC(40), KS_dead_acute, KS_dead_diaeresis, KS_braceleft,
386 KC(41), KS_degree, KS_ordfeminine, KS_backslash,
387 KC(43), KS_ccedilla, KS_Ccedilla, KS_braceright,
388 KC(51), KS_comma, KS_semicolon,
389 KC(52), KS_period, KS_colon,
390 KC(53), KS_minus, KS_underscore,
391 KC(86), KS_less, KS_greater,
392 KC(184), KS_Mode_switch, KS_Multi_key,
393 };
394
395 static const keysym_t pckbd_keydesc_us_declk[] = {
396 /* pos normal shifted altgr shift-altgr */
397 KC(1), KS_grave, KS_asciitilde, /* replace escape */
398 KC(41), KS_less, KS_greater, /* replace grave/tilde */
399 KC(143), KS_Multi_key, /* left compose */
400 KC(157), KS_Multi_key, /* right compose, replace right control */
401 KC(87), KS_Cmd_Debugger, KS_Escape, /* replace F11 */
402 KC(189), KS_f13,
403 KC(190), KS_f14,
404 KC(191), KS_Help,
405 KC(192), KS_Execute,
406 KC(193), KS_f17,
407 KC(183), KS_f18,
408 KC(70), KS_f19, /* replace scroll lock */
409 KC(127), KS_f20, /* replace break */
410 KC(69), KS_KP_F1, /* replace num lock */
411 KC(181), KS_KP_F2, /* replace divide */
412 KC(55), KS_KP_F3, /* replace multiply */
413 KC(74), KS_KP_F4, /* replace subtract */
414
415 /* keypad is numbers only - no num lock */
416 KC(71), KS_KP_7,
417 KC(72), KS_KP_8,
418 KC(73), KS_KP_9,
419 KC(75), KS_KP_4,
420 KC(76), KS_KP_5,
421 KC(77), KS_KP_6,
422 KC(79), KS_KP_1,
423 KC(80), KS_KP_2,
424 KC(81), KS_KP_3,
425 KC(82), KS_KP_0,
426 KC(83), KS_KP_Decimal,
427
428 KC(206), KS_KP_Subtract,
429 KC(78), KS_KP_Separator, /* replace add */
430 KC(199), KS_Find, /* replace home */
431 KC(207), KS_Select, /* replace end */
432 };
433
434 static const keysym_t pckbd_keydesc_us_dvorak[] = {
435 /* pos command normal shifted */
436 KC(12), KS_bracketleft, KS_braceleft,
437 KC(13), KS_bracketright, KS_braceright,
438 KC(16), KS_apostrophe, KS_quotedbl,
439 KC(17), KS_comma, KS_less,
440 KC(18), KS_period, KS_greater,
441 KC(19), KS_p,
442 KC(20), KS_y,
443 KC(21), KS_f,
444 KC(22), KS_g,
445 KC(23), KS_c,
446 KC(24), KS_r,
447 KC(25), KS_l,
448 KC(26), KS_slash, KS_question,
449 KC(27), KS_equal, KS_plus,
450 KC(31), KS_o,
451 KC(32), KS_e,
452 KC(33), KS_u,
453 KC(34), KS_i,
454 KC(35), KS_d,
455 KC(36), KS_h,
456 KC(37), KS_t,
457 KC(38), KS_n,
458 KC(39), KS_s,
459 KC(40), KS_minus, KS_underscore,
460 KC(44), KS_semicolon, KS_colon,
461 KC(45), KS_q,
462 KC(46), KS_j,
463 KC(47), KS_k,
464 KC(48), KS_x,
465 KC(49), KS_b,
466 KC(51), KS_w,
467 KC(52), KS_v,
468 KC(53), KS_z,
469 };
470
471 static const keysym_t pckbd_keydesc_swapctrlcaps[] = {
472 /* pos command normal shifted */
473 KC(29), KS_Caps_Lock,
474 KC(58), KS_Cmd1, KS_Control_L,
475 };
476
477 #define KBD_MAP(name, base, map) \
478 { name, base, sizeof(map)/sizeof(keysym_t), map }
479
480 const struct wscons_keydesc amigakbd_keydesctab[] = {
481 KBD_MAP(KB_US, 0, amikbd_keydesc_us),
482 KBD_MAP(KB_DE, KB_US, amikbd_keydesc_de),
483 KBD_MAP(KB_DE | KB_NODEAD, KB_DE, amikbd_keydesc_de_nodead),
484 /* KBD_MAP(KB_FR, KB_US, pckbd_keydesc_fr),*/
485 KBD_MAP(KB_DK, KB_US, amikbd_keydesc_dk),
486 KBD_MAP(KB_DK | KB_NODEAD, KB_DK, amikbd_keydesc_dk_nodead),
487 /* KBD_MAP(KB_IT, KB_US, pckbd_keydesc_it),
488 KBD_MAP(KB_UK, KB_US, pckbd_keydesc_uk),
489 KBD_MAP(KB_JP, KB_US, pckbd_keydesc_jp),*/
490 KBD_MAP(KB_SV, KB_DK, amikbd_keydesc_sv),
491 KBD_MAP(KB_SV | KB_NODEAD, KB_SV, amikbd_keydesc_sv_nodead),
492 KBD_MAP(KB_NO, KB_DK, amikbd_keydesc_no),
493 KBD_MAP(KB_NO | KB_NODEAD, KB_NO, amikbd_keydesc_no_nodead),
494 /* KBD_MAP(KB_US | KB_DECLK, KB_US, pckbd_keydesc_us_declk),
495 KBD_MAP(KB_US | KB_DVORAK, KB_US, pckbd_keydesc_us_dvorak),
496 KBD_MAP(KB_US | KB_SWAPCTRLCAPS, KB_US, pckbd_keydesc_swapctrlcaps),
497 KBD_MAP(KB_JP | KB_SWAPCTRLCAPS, KB_JP, pckbd_keydesc_swapctrlcaps),
498 KBD_MAP(KB_FR | KB_SWAPCTRLCAPS, KB_FR, pckbd_keydesc_swapctrlcaps),
499 KBD_MAP(KB_US | KB_DVORAK | KB_SWAPCTRLCAPS, KB_US | KB_DVORAK,
500 pckbd_keydesc_swapctrlcaps),
501 KBD_MAP(KB_ES , KB_US, pckbd_keydesc_es),
502 */
503 {0, 0, 0, 0}
504 };
505
506 #undef KBD_MAP
507 #undef KC
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527