jcs's openbsd hax
openbsd
1/* $OpenBSD: ukbdmap.c,v 1.51 2026/01/06 18:52:40 helg Exp $ */
2
3/*
4 * THIS FILE IS AUTOMAGICALLY GENERATED. DO NOT EDIT.
5 *
6 * generated by:
7 * OpenBSD: makemap.awk,v 1.18 2026/01/06 18:42:18 helg Exp
8 * generated from:
9 */
10/* OpenBSD: wskbdmap_mfii.c,v 1.49 2025/11/09 16:21:56 matthieu Exp */
11/* $NetBSD: wskbdmap_mfii.c,v 1.15 2000/05/19 16:40:04 drochner Exp $ */
12
13/*
14 * PLEASE DO NOT FORGET TO REGEN
15 * sys/dev/usb/ukbdmap.c
16 * AFTER ANY CHANGES TO THIS FILE!
17 */
18
19/*-
20 * Copyright (c) 1997 The NetBSD Foundation, Inc.
21 * All rights reserved.
22 *
23 * This code is derived from software contributed to The NetBSD Foundation
24 * by Juergen Hannken-Illjes.
25 *
26 * Redistribution and use in source and binary forms, with or without
27 * modification, are permitted provided that the following conditions
28 * are met:
29 * 1. Redistributions of source code must retain the above copyright
30 * notice, this list of conditions and the following disclaimer.
31 * 2. Redistributions in binary form must reproduce the above copyright
32 * notice, this list of conditions and the following disclaimer in the
33 * documentation and/or other materials provided with the distribution.
34 *
35 * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
36 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
37 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
38 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
39 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
40 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
41 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
42 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
43 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
44 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
45 * POSSIBILITY OF SUCH DAMAGE.
46 */
47
48#include <sys/types.h>
49#include <dev/wscons/wsksymdef.h>
50#include <dev/wscons/wsksymvar.h>
51
52#define KC(n) KS_KEYCODE(n)
53
54static const keysym_t ukbd_keydesc_us[] = {
55/* pos command normal shifted */
56 KC(4), KS_a,
57 KC(5), KS_b,
58 KC(6), KS_c,
59 KC(7), KS_d,
60 KC(8), KS_e,
61 KC(9), KS_f,
62 KC(10), KS_g,
63 KC(11), KS_h,
64 KC(12), KS_i,
65 KC(13), KS_j,
66 KC(14), KS_k,
67 KC(15), KS_l,
68 KC(16), KS_m,
69 KC(17), KS_n,
70 KC(18), KS_o,
71 KC(19), KS_p,
72 KC(20), KS_q,
73 KC(21), KS_r,
74 KC(22), KS_s,
75 KC(23), KS_t,
76 KC(24), KS_u,
77 KC(25), KS_v,
78 KC(26), KS_w,
79 KC(27), KS_x,
80 KC(28), KS_y,
81 KC(29), KS_z,
82 KC(30), KS_1, KS_exclam,
83 KC(31), KS_2, KS_at,
84 KC(32), KS_3, KS_numbersign,
85 KC(33), KS_4, KS_dollar,
86 KC(34), KS_5, KS_percent,
87 KC(35), KS_6, KS_asciicircum,
88 KC(36), KS_7, KS_ampersand,
89 KC(37), KS_8, KS_asterisk,
90 KC(38), KS_9, KS_parenleft,
91 KC(39), KS_0, KS_parenright,
92 KC(40), KS_Return,
93 KC(41), KS_Cmd_Debugger,KS_Escape,
94 KC(42), KS_Cmd_ResetEmul,KS_Delete,
95 KC(43), KS_Tab, KS_Backtab,
96 KC(44), KS_space,
97 KC(45), KS_minus, KS_underscore,
98 KC(46), KS_equal, KS_plus,
99 KC(47), KS_bracketleft, KS_braceleft,
100 KC(48), KS_bracketright,KS_braceright,
101 KC(49), KS_backslash, KS_bar,
102 KC(50), KS_backslash, KS_bar,
103 KC(51), KS_semicolon, KS_colon,
104 KC(52), KS_apostrophe, KS_quotedbl,
105 KC(53), KS_grave, KS_asciitilde,
106 KC(54), KS_comma, KS_less,
107 KC(55), KS_period, KS_greater,
108 KC(56), KS_slash, KS_question,
109 KC(57), KS_Caps_Lock,
110 KC(58), KS_Cmd_Screen0, KS_f1,
111 KC(59), KS_Cmd_Screen1, KS_f2,
112 KC(60), KS_Cmd_Screen2, KS_f3,
113 KC(61), KS_Cmd_Screen3, KS_f4,
114 KC(62), KS_Cmd_Screen4, KS_f5,
115 KC(63), KS_Cmd_Screen5, KS_f6,
116 KC(64), KS_Cmd_Screen6, KS_f7,
117 KC(65), KS_Cmd_Screen7, KS_f8,
118 KC(66), KS_Cmd_Screen8, KS_f9,
119 KC(67), KS_Cmd_Screen9, KS_f10,
120 KC(68), KS_Cmd_Screen10,KS_f11,
121 KC(69), KS_Cmd_Screen11,KS_f12,
122 KC(70), KS_Print_Screen,
123 KC(71), KS_Hold_Screen,
124 KC(72), KS_Pause, /*Break*/
125 KC(73), KS_Insert,
126 KC(74), KS_Home,
127 KC(75), KS_Cmd_ScrollBack,KS_Prior,
128 KC(76), KS_Cmd_KbdReset,KS_KP_Delete,
129 KC(77), KS_End,
130 KC(78), KS_Cmd_ScrollFwd,KS_Next,
131 KC(79), KS_Right,
132 KC(80), KS_Left,
133 KC(81), KS_Down,
134 KC(82), KS_Up,
135 KC(83), KS_Num_Lock,
136 KC(84), KS_KP_Divide,
137 KC(85), KS_KP_Multiply,
138 KC(86), KS_KP_Subtract,
139 KC(87), KS_KP_Add,
140 KC(88), KS_KP_Enter,
141 KC(89), KS_KP_End, KS_KP_1,
142 KC(90), KS_KP_Down, KS_KP_2,
143 KC(91), KS_KP_Next, KS_KP_3,
144 KC(92), KS_KP_Left, KS_KP_4,
145 KC(93), KS_KP_Begin, KS_KP_5,
146 KC(94), KS_KP_Right, KS_KP_6,
147 KC(95), KS_KP_Home, KS_KP_7,
148 KC(96), KS_KP_Up, KS_KP_8,
149 KC(97), KS_KP_Prior, KS_KP_9,
150 KC(98), KS_KP_Insert, KS_KP_0,
151 KC(99), KS_KP_Delete, KS_KP_Decimal,
152 KC(101), KS_Menu,
153 KC(102), KS_Cmd_Sleep,
154 KC(104), KS_f13,
155 KC(105), KS_f14,
156 KC(106), KS_f15,
157 KC(107), KS_f16,
158 KC(108), KS_f17,
159 KC(109), KS_f18,
160 KC(110), KS_f19,
161 KC(111), KS_f20,
162 KC(112), KS_f21,
163 KC(113), KS_f22,
164 KC(114), KS_f23,
165 KC(115), KS_f24,
166 KC(116), KS_Open,
167 KC(117), KS_Help,
168 KC(118), KS_Props,
169 KC(119), KS_Front,
170 KC(120), KS_Cmd,
171 KC(121), KS_Again,
172 KC(122), KS_Undo,
173 KC(123), KS_Cut,
174 KC(124), KS_Copy,
175 KC(125), KS_Paste,
176 KC(126), KS_Find,
177 KC(127), KS_AudioMute,
178 KC(128), KS_AudioRaise,
179 KC(129), KS_AudioLower,
180 KC(224), KS_Cmd1, KS_Control_L,
181 KC(225), KS_Shift_L,
182 KC(226), KS_Cmd2, KS_Alt_L,
183 KC(227), KS_Meta_L,
184 KC(228), KS_Cmd1, KS_Control_R,
185 KC(229), KS_Shift_R,
186 KC(230), KS_Cmd2, KS_Alt_R, KS_Multi_key,
187 KC(231), KS_Meta_R,
188 KC(232), KS_Cmd_BrightnessUp,
189 KC(233), KS_Cmd_BrightnessDown,
190 KC(234), KS_Cmd_KbdBacklightToggle,
191 KC(235), KS_Cmd_KbdBacklightUp,
192 KC(236), KS_Cmd_KbdBacklightDown,
193};
194
195#if !defined(WSKBD_NO_INTL_LAYOUTS)
196
197static const keysym_t ukbd_keydesc_de[] = {
198/* pos normal shifted altgr shift-altgr */
199 KC(16), KS_m, KS_M, KS_mu,
200 KC(20), KS_q, KS_Q, KS_at,
201 KC(28), KS_z,
202 KC(29), KS_y,
203 KC(31), KS_2, KS_quotedbl, KS_twosuperior,
204 KC(32), KS_3, KS_section, KS_threesuperior,
205 KC(35), KS_6, KS_ampersand,
206 KC(36), KS_7, KS_slash, KS_braceleft,
207 KC(37), KS_8, KS_parenleft, KS_bracketleft,
208 KC(38), KS_9, KS_parenright, KS_bracketright,
209 KC(39), KS_0, KS_equal, KS_braceright,
210 KC(45), KS_ssharp, KS_question, KS_backslash,
211 KC(46), KS_dead_acute, KS_dead_grave,
212 KC(47), KS_udiaeresis,
213 KC(48), KS_plus, KS_asterisk, KS_dead_tilde,
214 KC(49), KS_numbersign, KS_apostrophe,
215 KC(50), KS_numbersign, KS_apostrophe,
216 KC(51), KS_odiaeresis,
217 KC(52), KS_adiaeresis,
218 KC(53), KS_dead_circumflex,KS_dead_abovering,
219 KC(54), KS_comma, KS_semicolon,
220 KC(55), KS_period, KS_colon,
221 KC(56), KS_minus, KS_underscore,
222 KC(100), KS_less, KS_greater, KS_bar, KS_brokenbar,
223 KC(230), KS_Mode_switch, KS_Multi_key,
224};
225
226static const keysym_t ukbd_keydesc_de_apple[] = {
227/* pos normal shifted altgr shifted-altgr */
228 KC(15), KS_l, KS_L, KS_at,
229 KC(34), KS_5, KS_percent, KS_bracketleft,
230 KC(35), KS_6, KS_ampersand, KS_bracketright,
231 KC(36), KS_7, KS_slash, KS_bar, KS_backslash,
232 KC(37), KS_8, KS_parenleft, KS_braceleft,
233 KC(38), KS_9, KS_parenright, KS_braceright,
234 KC(17), KS_n, KS_N, KS_asciitilde,
235};
236
237static const keysym_t ukbd_keydesc_de_nodead[] = {
238/* pos normal shifted altgr shift-altgr */
239 KC(46), KS_apostrophe, KS_grave,
240 KC(48), KS_plus, KS_asterisk, KS_asciitilde,
241 KC(53), KS_asciicircum, KS_degree,
242};
243
244static const keysym_t ukbd_keydesc_dk[] = {
245/* pos normal shifted altgr shift-altgr */
246 KC(31), KS_2, KS_quotedbl, KS_at,
247 KC(32), KS_3, KS_numbersign, KS_sterling,
248 KC(33), KS_4, KS_currency, KS_dollar,
249 KC(35), KS_6, KS_ampersand,
250 KC(36), KS_7, KS_slash, KS_braceleft,
251 KC(37), KS_8, KS_parenleft, KS_bracketleft,
252 KC(38), KS_9, KS_parenright, KS_bracketright,
253 KC(39), KS_0, KS_equal, KS_braceright,
254 KC(45), KS_plus, KS_question,
255 KC(46), KS_dead_acute, KS_dead_grave, KS_bar,
256 KC(47), KS_aring,
257 KC(48), KS_dead_diaeresis,KS_dead_circumflex,KS_dead_tilde,
258 KC(49), KS_apostrophe, KS_asterisk,
259 KC(50), KS_apostrophe, KS_asterisk,
260 KC(51), KS_ae,
261 KC(52), KS_oslash,
262 KC(53), KS_onehalf, KS_paragraph,
263 KC(54), KS_comma, KS_semicolon,
264 KC(55), KS_period, KS_colon,
265 KC(56), KS_minus, KS_underscore,
266 KC(100), KS_less, KS_greater, KS_backslash,
267 KC(230), KS_Mode_switch, KS_Multi_key,
268};
269
270static const keysym_t ukbd_keydesc_dk_nodead[] = {
271/* pos normal shifted altgr shift-altgr */
272 KC(46), KS_apostrophe, KS_grave, KS_bar,
273 KC(48), KS_diaeresis, KS_asciicircum, KS_asciitilde,
274};
275
276static const keysym_t ukbd_keydesc_sv[] = {
277/* pos normal shifted altgr shift-altgr */
278 KC(45), KS_plus, KS_question, KS_backslash,
279 KC(48), KS_dead_diaeresis,KS_dead_circumflex,KS_dead_tilde,
280 KC(51), KS_odiaeresis,
281 KC(52), KS_adiaeresis,
282 KC(53), KS_section, KS_onehalf,
283 KC(100), KS_less, KS_greater, KS_bar,
284 KC(230), KS_Mode_switch, KS_Multi_key,
285};
286
287static const keysym_t ukbd_keydesc_sv_nodead[] = {
288/* pos normal shifted altgr shift-altgr */
289 KC(46), KS_apostrophe, KS_grave, KS_bar,
290 KC(48), KS_diaeresis, KS_asciicircum, KS_asciitilde,
291};
292
293static const keysym_t ukbd_keydesc_no[] = {
294/* pos normal shifted altgr shift-altgr */
295 KC(46), KS_backslash, KS_dead_grave, KS_dead_acute,
296 KC(48), KS_dead_diaeresis,KS_dead_circumflex,KS_dead_tilde,
297 KC(51), KS_oslash,
298 KC(52), KS_ae,
299 KC(53), KS_bar, KS_paragraph,
300 KC(100), KS_less, KS_greater,
301};
302
303static const keysym_t ukbd_keydesc_no_nodead[] = {
304/* pos normal shifted altgr shift-altgr */
305 KC(46), KS_backslash, KS_grave, KS_acute,
306 KC(48), KS_diaeresis, KS_asciicircum, KS_asciitilde,
307};
308
309static const keysym_t ukbd_keydesc_fr[] = {
310/* pos normal shifted altgr shift-altgr */
311 KC(4), KS_q,
312 KC(16), KS_comma, KS_question,
313 KC(20), KS_a,
314 KC(26), KS_z,
315 KC(29), KS_w,
316 KC(30), KS_ampersand, KS_1,
317 KC(31), KS_eacute, KS_2, KS_asciitilde,
318 KC(32), KS_quotedbl, KS_3, KS_numbersign,
319 KC(33), KS_apostrophe, KS_4, KS_braceleft,
320 KC(34), KS_parenleft, KS_5, KS_bracketleft,
321 KC(35), KS_minus, KS_6, KS_bar,
322 KC(36), KS_egrave, KS_7, KS_grave,
323 KC(37), KS_underscore, KS_8, KS_backslash,
324 KC(38), KS_ccedilla, KS_9, KS_asciicircum,
325 KC(39), KS_agrave, KS_0, KS_at,
326 KC(45), KS_parenright, KS_degree, KS_bracketright,
327 KC(46), KS_equal, KS_plus, KS_braceright,
328 KC(47), KS_dead_circumflex,KS_dead_diaeresis,
329 KC(48), KS_dollar, KS_sterling, KS_currency,
330 KC(49), KS_asterisk, KS_mu,
331 KC(50), KS_asterisk, KS_mu,
332 KC(51), KS_m,
333 KC(52), KS_ugrave, KS_percent,
334 KC(53), KS_twosuperior,
335 KC(54), KS_semicolon, KS_period,
336 KC(55), KS_colon, KS_slash,
337 KC(56), KS_exclam, KS_section,
338 KC(100), KS_less, KS_greater,
339 KC(230), KS_Mode_switch, KS_Multi_key,
340};
341
342static const keysym_t ukbd_keydesc_fr_apple[] = {
343 KC(5), KS_b, KS_B, KS_ssharp,
344 KC(8), KS_e, KS_E, KS_ecircumflex, KS_Ecircumflex,
345 KC(11), KS_h, KS_H, KS_Igrave, KS_Icircumflex,
346 KC(12), KS_i, KS_I, KS_icircumflex, KS_idiaeresis,
347 KC(13), KS_j, KS_J, KS_Idiaeresis, KS_Iacute,
348 KC(14), KS_k, KS_K, KS_Egrave, KS_Ediaeresis,
349 KC(15), KS_l, KS_L, KS_voidSymbol, KS_bar,
350 KC(16), KS_comma, KS_question, KS_voidSymbol, KS_questiondown,
351 KC(17), KS_n, KS_N, KS_asciitilde,
352 KC(20), KS_a, KS_A, KS_ae, KS_AE,
353 KC(21), KS_r, KS_R, KS_registered, KS_comma,
354 KC(22), KS_s, KS_S, KS_Ograve,
355 KC(26), KS_z, KS_Z, KS_Acircumflex, KS_Aring,
356 KC(28), KS_y, KS_Y, KS_Uacute,
357 KC(31), KS_eacute, KS_2, KS_ediaeresis,
358 KC(32), KS_quotedbl, KS_3,
359 KC(33), KS_apostrophe, KS_4,
360 KC(34), KS_parenleft, KS_5, KS_braceleft, KS_bracketleft,
361 KC(35), KS_section, KS_6,
362 KC(36), KS_egrave, KS_7, KS_guillemotleft,
363 KS_guillemotright,
364 KC(37), KS_exclam, KS_8,
365 KC(38), KS_ccedilla, KS_9, KS_Ccedilla, KS_Aacute,
366 KC(37), KS_exclam, KS_8, KS_exclamdown, KS_Ucircumflex,
367 KC(39), KS_agrave, KS_0, KS_oslash, KS_Ooblique,
368 KC(45), KS_parenright, KS_degree, KS_braceright, KS_bracketright,
369 KC(46), KS_minus, KS_underscore,
370 KC(47), KS_dead_circumflex, KS_dead_diaeresis,
371 KS_ocircumflex, KS_Ocircumflex,
372 KC(48), KS_dollar, KS_asterisk, KS_cent, KS_yen,
373 KC(50), KS_grave, KS_sterling, KS_at, KS_numbersign,
374 KC(51), KS_m, KS_M, KS_mu, KS_Oacute,
375 KC(52), KS_ugrave, KS_percent, KS_Ugrave,
376 KC(53), KS_at, KS_numbersign,
377 KC(55), KS_colon, KS_slash, KS_voidSymbol, KS_backslash,
378 KC(56), KS_equal, KS_plus,
379 KC(103), KS_KP_Equal,
380 KC(231), KS_Mode_switch, KS_Multi_key,
381};
382
383/*
384 * fr-dvorak-be'po layout, simplified map, per http://www.clavier-dvorak.org/
385 * (the complete map is still a moving target)
386 */
387static const keysym_t ukbd_keydesc_fr_dvorak_bepo[] = {
388 /* oe ligature */
389 /* euro currency */
390 KC(4), KS_a, KS_A, KS_ae, KS_AE,
391 KC(5), KS_k, KS_K, KS_asciitilde,
392 KC(6), KS_x, KS_X, KS_braceright,
393 KC(7), KS_i, KS_I, KS_dead_diaeresis,
394 KC(8), KS_p, KS_P, KS_ampersand,
395 KC(9), KS_e, KS_E,
396 KC(10), KS_comma, KS_semicolon,
397 KC(11), KS_c,
398 KC(12), KS_d,
399 KC(13), KS_t,
400 KC(14), KS_s,
401 KC(15), KS_r,
402 KC(16), KS_q, KS_Q,
403 KC(17), KS_apostrophe, KS_question,
404 KC(18), KS_l,
405 KC(19), KS_j,
406 KC(20), KS_b, KS_B, KS_bar,
407 KC(21), KS_o, KS_O,
408 KC(22), KS_u, KS_U, KS_ugrave, KS_Ugrave,
409 KC(23), KS_egrave, KS_Egrave, KS_dead_grave,
410 KC(24), KS_v,
411 KC(25), KS_period, KS_colon, /*ellipsis*/
412 KC(26), KS_eacute, KS_Eacute, KS_dead_acute,
413 KC(27), KS_y, KS_Y, KS_braceleft,
414 KC(28), KS_dead_circumflex,KS_exclam,
415 KC(29), KS_agrave, KS_Agrave, KS_backslash,
416 KC(30), KS_quotedbl, KS_1, KS_hyphen,
417 KC(31), KS_guillemotleft,KS_2, KS_less,
418 KC(32), KS_guillemotright,KS_3, KS_greater,
419 KC(33), KS_parenleft, KS_4, KS_bracketleft,
420 KC(34), KS_parenright, KS_5, KS_bracketright,
421 KC(35), KS_at, KS_6,
422 KC(36), KS_plus, KS_7,
423 KC(37), KS_minus, KS_8,
424 KC(38), KS_slash, KS_9,
425 KC(39), KS_asterisk, KS_0,
426 KC(44), KS_space, KS_nobreakspace,KS_underscore,
427 KC(45), KS_equal, KS_asciicircum,
428 KC(46), KS_percent, KS_grave,
429 KC(47), KS_z,
430 KC(48), KS_w,
431 KC(49), KS_ccedilla, KS_Ccedilla,
432 KC(50), KS_ccedilla, KS_Ccedilla,
433 KC(51), KS_n,
434 KC(52), KS_m,
435 KC(53), KS_dollar, KS_numbersign,
436 KC(54), KS_g, KS_G, KS_mu,
437 KC(55), KS_h,
438 KC(56), KS_f,
439 KC(100), KS_egrave, KS_Egrave, KS_slash,
440 KC(230), KS_Mode_switch, KS_Multi_key,
441};
442
443static const keysym_t ukbd_keydesc_it[] = {
444/* pos normal shifted altgr shift-altgr */
445 KC(31), KS_2, KS_quotedbl, KS_twosuperior,
446 KC(32), KS_3, KS_sterling, KS_threesuperior,
447 KC(34), KS_5, KS_percent,
448 KC(35), KS_6, KS_ampersand,
449 KC(36), KS_7, KS_slash,
450 KC(37), KS_8, KS_parenleft,
451 KC(38), KS_9, KS_parenright,
452 KC(39), KS_0, KS_equal,
453 KC(45), KS_apostrophe, KS_question,
454 KC(46), KS_igrave, KS_asciicircum,
455 KC(47), KS_egrave, KS_eacute, KS_braceleft, KS_bracketleft,
456 KC(48), KS_plus, KS_asterisk, KS_braceright, KS_bracketright,
457 KC(49), KS_ugrave, KS_section,
458 KC(50), KS_ugrave, KS_section,
459 KC(51), KS_ograve, KS_Ccedilla, KS_at,
460 KC(52), KS_agrave, KS_degree, KS_numbersign,
461 KC(53), KS_backslash, KS_bar,
462 KC(54), KS_comma, KS_semicolon,
463 KC(55), KS_period, KS_colon,
464 KC(56), KS_minus, KS_underscore,
465 KC(100), KS_less, KS_greater,
466 KC(230), KS_Mode_switch, KS_Multi_key,
467};
468
469static const keysym_t ukbd_keydesc_uk[] = {
470/* pos normal shifted altgr shift-altgr */
471 KC(30), KS_1, KS_exclam, KS_plusminus, KS_exclamdown,
472 KC(31), KS_2, KS_quotedbl, KS_twosuperior, KS_cent,
473 KC(32), KS_3, KS_sterling, KS_threesuperior,
474 KC(33), KS_4, KS_dollar, KS_acute, KS_currency,
475 KC(34), KS_5, KS_percent, KS_mu, KS_yen,
476 KC(35), KS_6, KS_asciicircum, KS_paragraph,
477 KC(36), KS_7, KS_ampersand, KS_periodcentered,KS_brokenbar,
478 KC(37), KS_8, KS_asterisk, KS_cedilla, KS_ordfeminine,
479 KC(38), KS_9, KS_parenleft, KS_onesuperior, KS_diaeresis,
480 KC(39), KS_0, KS_parenright, KS_masculine, KS_copyright,
481 KC(45), KS_minus, KS_underscore, KS_hyphen, KS_ssharp,
482 KC(46), KS_equal, KS_plus, KS_onehalf, KS_guillemotleft,
483 KC(49), KS_numbersign, KS_asciitilde, KS_sterling, KS_thorn,
484 KC(50), KS_numbersign, KS_asciitilde, KS_sterling, KS_thorn,
485 KC(52), KS_apostrophe, KS_at, KS_section, KS_Agrave,
486 KC(53), KS_grave, KS_grave, KS_agrave, KS_agrave,
487 KC(100), KS_backslash, KS_bar, KS_Udiaeresis,
488};
489
490static const keysym_t ukbd_keydesc_jp[] = {
491/* pos normal shifted altgr shift-altgr */
492 KC(31), KS_2, KS_quotedbl,
493 KC(35), KS_6, KS_ampersand,
494 KC(36), KS_7, KS_apostrophe,
495 KC(37), KS_8, KS_parenleft,
496 KC(38), KS_9, KS_parenright,
497 KC(39), KS_0,
498 KC(45), KS_minus, KS_equal,
499 KC(46), KS_asciicircum, KS_asciitilde,
500 KC(47), KS_at, KS_grave,
501 KC(48), KS_bracketleft, KS_braceleft,
502 KC(49), KS_bracketright,KS_braceright,
503 KC(50), KS_bracketright,KS_braceright,
504 KC(51), KS_semicolon, KS_plus,
505 KC(52), KS_colon, KS_asterisk,
506 KC(53), KS_Zenkaku_Hankaku,/*replacegrave/tilde*/
507 KC(135), KS_backslash, KS_underscore,
508 KC(136), KS_Hiragana_Katakana,
509 KC(137), KS_backslash, KS_bar,
510 KC(138), KS_Henkan,
511 KC(139), KS_Muhenkan,
512};
513
514static const keysym_t ukbd_keydesc_es[] = {
515/* pos normal shifted altgr shift-altgr */
516 KC(30), KS_1, KS_exclam, KS_bar,
517 KC(31), KS_2, KS_quotedbl, KS_at,
518 KC(32), KS_3, KS_periodcentered,KS_numbersign,
519 KC(33), KS_4, KS_dollar, KS_asciitilde,
520 KC(35), KS_6, KS_ampersand,
521 KC(36), KS_7, KS_slash,
522 KC(37), KS_8, KS_parenleft,
523 KC(38), KS_9, KS_parenright,
524 KC(39), KS_0, KS_equal,
525 KC(45), KS_apostrophe, KS_question,
526 KC(46), KS_exclamdown, KS_questiondown,
527 KC(47), KS_dead_grave, KS_dead_circumflex,KS_bracketleft,
528 KC(48), KS_plus, KS_asterisk, KS_bracketright,
529 KC(49), KS_ccedilla, KS_Ccedilla, KS_braceright,
530 KC(50), KS_ccedilla, KS_Ccedilla, KS_braceright,
531 KC(51), KS_ntilde,
532 KC(52), KS_dead_acute, KS_dead_diaeresis,KS_braceleft,
533 KC(53), KS_degree, KS_ordfeminine, KS_backslash,
534 KC(54), KS_comma, KS_semicolon,
535 KC(55), KS_period, KS_colon,
536 KC(56), KS_minus, KS_underscore,
537 KC(100), KS_less, KS_greater,
538 KC(230), KS_Mode_switch, KS_Multi_key,
539};
540
541static const keysym_t ukbd_keydesc_lt[] = {
542/* pos normal shifted altgr shift-altgr */
543 KC(8), KS_e, KS_E, KS_currency,
544 KC(9), KS_L7_scaron, KS_L7_Scaron,
545 KC(20), KS_L7_aogonek, KS_L7_Aogonek,
546 KC(26), KS_L7_zcaron, KS_L7_Zcaron,
547 KC(27), KS_L7_umacron, KS_L7_Umacron,
548 KC(30), KS_exclam, KS_1, KS_at,
549 KC(31), KS_minus, KS_2, KS_underscore,
550 KC(32), KS_slash, KS_3, KS_numbersign,
551 KC(33), KS_semicolon, KS_4, KS_dollar,
552 KC(34), KS_colon, KS_5, KS_paragraph,
553 KC(35), KS_comma, KS_6, KS_asciicircum,
554 KC(36), KS_period, KS_7, KS_ampersand,
555 KC(37), KS_equal, KS_8, KS_asterisk,
556 KC(38), KS_bracketleft, KS_9, KS_parenleft,
557 KC(39), KS_bracketright,KS_0, KS_parenright,
558 KC(44), KS_space, KS_space, KS_nobreakspace,
559 KC(45), KS_question, KS_plus, KS_apostrophe,
560 KC(46), KS_x, KS_X, KS_percent,
561 KC(47), KS_L7_iogonek, KS_L7_Iogonek, KS_braceleft,
562 KC(48), KS_w, KS_W, KS_braceright,
563 KC(49), KS_q, KS_Q, KS_bar,
564 KC(50), KS_q, KS_Q, KS_bar,
565 KC(51), KS_L7_uogonek, KS_L7_Uogonek,
566 KC(52), KS_L7_edot, KS_L7_Edot, KS_quotedbl,
567 KC(53), KS_grave, KS_asciitilde,
568 KC(54), KS_L7_ccaron, KS_L7_Ccaron, KS_L7_dbllow9quot,
569 KC(55), KS_f, KS_F, KS_L7_leftdblquot,
570 KC(56), KS_L7_eogonek, KS_L7_Eogonek, KS_backslash,
571 KC(230), KS_Mode_switch, KS_Multi_key,
572};
573
574static const keysym_t ukbd_keydesc_be[] = {
575/* pos normal shifted altgr shift-altgr */
576 KC(4), KS_q,
577 KC(16), KS_comma, KS_question,
578 KC(20), KS_a,
579 KC(26), KS_z,
580 KC(29), KS_w,
581 KC(30), KS_ampersand, KS_1, KS_bar,
582 KC(31), KS_eacute, KS_2, KS_at,
583 KC(32), KS_quotedbl, KS_3, KS_numbersign,
584 KC(33), KS_apostrophe, KS_4,
585 KC(34), KS_parenleft, KS_5,
586 KC(35), KS_section, KS_6, KS_asciicircum,
587 KC(36), KS_egrave, KS_7,
588 KC(37), KS_exclam, KS_8,
589 KC(38), KS_ccedilla, KS_9, KS_braceleft,
590 KC(39), KS_agrave, KS_0, KS_braceright,
591 KC(45), KS_parenright, KS_degree,
592 KC(46), KS_minus, KS_underscore,
593 KC(47), KS_dead_circumflex,KS_dead_diaeresis,KS_bracketleft,
594 KC(48), KS_dollar, KS_asterisk, KS_bracketright,
595 KC(49), KS_mu, KS_sterling, KS_grave,
596 KC(50), KS_mu, KS_sterling, KS_grave,
597 KC(51), KS_m,
598 KC(52), KS_ugrave, KS_percent, KS_acute,
599 KC(53), KS_twosuperior, KS_threesuperior,
600 KC(54), KS_semicolon, KS_period,
601 KC(55), KS_colon, KS_slash,
602 KC(56), KS_equal, KS_plus, KS_asciitilde,
603 KC(100), KS_less, KS_greater, KS_backslash,
604 KC(230), KS_Mode_switch, KS_Multi_key,
605};
606
607
608static const keysym_t ukbd_keydesc_us_dvorak[] = {
609/* pos command normal shifted */
610 KC(5), KS_x,
611 KC(6), KS_j,
612 KC(7), KS_e,
613 KC(8), KS_period, KS_greater,
614 KC(9), KS_u,
615 KC(10), KS_i,
616 KC(11), KS_d,
617 KC(12), KS_c,
618 KC(13), KS_h,
619 KC(14), KS_t,
620 KC(15), KS_n,
621 KC(17), KS_b,
622 KC(18), KS_r,
623 KC(19), KS_l,
624 KC(20), KS_apostrophe, KS_quotedbl,
625 KC(21), KS_p,
626 KC(22), KS_o,
627 KC(23), KS_y,
628 KC(24), KS_g,
629 KC(25), KS_k,
630 KC(26), KS_comma, KS_less,
631 KC(27), KS_q,
632 KC(28), KS_f,
633 KC(29), KS_semicolon, KS_colon,
634 KC(45), KS_bracketleft, KS_braceleft,
635 KC(46), KS_bracketright,KS_braceright,
636 KC(47), KS_slash, KS_question,
637 KC(48), KS_equal, KS_plus,
638 KC(51), KS_s,
639 KC(52), KS_minus, KS_underscore,
640 KC(54), KS_w,
641 KC(55), KS_v,
642 KC(56), KS_z,
643};
644
645static const keysym_t ukbd_keydesc_us_colemak[] = {
646/* pos command normal shifted */
647 KC(7), KS_s,
648 KC(8), KS_f,
649 KC(9), KS_t,
650 KC(10), KS_d,
651 KC(12), KS_u,
652 KC(13), KS_n,
653 KC(14), KS_e,
654 KC(15), KS_i, KS_I,
655 KC(17), KS_k,
656 KC(18), KS_y,
657 KC(19), KS_semicolon, KS_colon,
658 KC(21), KS_p,
659 KC(22), KS_r,
660 KC(23), KS_g,
661 KC(24), KS_l,
662 KC(28), KS_j,
663 KC(51), KS_o,
664};
665
666static const keysym_t ukbd_keydesc_swapctrlcaps[] = {
667/* pos command normal shifted */
668 KC(57), KS_Cmd1, KS_Control_L,
669 KC(224), KS_Caps_Lock,
670};
671
672static const keysym_t ukbd_keydesc_ru[] = {
673/* pos normal shifted altgr shift-altgr */
674 KC(4), KS_a, KS_A, KS_Cyrillic_ef, KS_Cyrillic_EF,
675 KC(5), KS_b, KS_B, KS_Cyrillic_i, KS_Cyrillic_I,
676 KC(6), KS_c, KS_C, KS_Cyrillic_es, KS_Cyrillic_ES,
677 KC(7), KS_d, KS_D, KS_Cyrillic_ve, KS_Cyrillic_VE,
678 KC(8), KS_e, KS_E, KS_Cyrillic_u, KS_Cyrillic_U,
679 KC(9), KS_f, KS_F, KS_Cyrillic_a, KS_Cyrillic_A,
680 KC(10), KS_g, KS_G, KS_Cyrillic_pe, KS_Cyrillic_PE,
681 KC(11), KS_h, KS_H, KS_Cyrillic_er, KS_Cyrillic_ER,
682 KC(12), KS_i, KS_I, KS_Cyrillic_sha,KS_Cyrillic_SHA,
683 KC(13), KS_j, KS_J, KS_Cyrillic_o, KS_Cyrillic_O,
684 KC(14), KS_k, KS_K, KS_Cyrillic_el, KS_Cyrillic_EL,
685 KC(15), KS_l, KS_L, KS_Cyrillic_de, KS_Cyrillic_DE,
686 KC(16), KS_m, KS_M, KS_Cyrillic_ssighn,KS_Cyrillic_SSIGHN,
687 KC(17), KS_n, KS_N, KS_Cyrillic_te, KS_Cyrillic_TE,
688 KC(18), KS_o, KS_O, KS_Cyrillic_scha,KS_Cyrillic_SCHA,
689 KC(19), KS_p, KS_P, KS_Cyrillic_ze, KS_Cyrillic_ZE,
690 KC(20), KS_q, KS_Q, KS_Cyrillic_ishort,KS_Cyrillic_ISHORT,
691 KC(21), KS_r, KS_R, KS_Cyrillic_ka, KS_Cyrillic_KA,
692 KC(22), KS_s, KS_S, KS_Cyrillic_yeru,KS_Cyrillic_YERU,
693 KC(23), KS_t, KS_T, KS_Cyrillic_ie, KS_Cyrillic_IE,
694 KC(24), KS_u, KS_U, KS_Cyrillic_ge, KS_Cyrillic_GE,
695 KC(25), KS_v, KS_V, KS_Cyrillic_em, KS_Cyrillic_EM,
696 KC(26), KS_w, KS_W, KS_Cyrillic_tse,KS_Cyrillic_TSE,
697 KC(27), KS_x, KS_X, KS_Cyrillic_che,KS_Cyrillic_CHE,
698 KC(28), KS_y, KS_Y, KS_Cyrillic_en, KS_Cyrillic_EN,
699 KC(29), KS_z, KS_Z, KS_Cyrillic_ya, KS_Cyrillic_YA,
700 KC(35), KS_6, KS_asciicircum, KS_6, KS_comma,
701 KC(36), KS_7, KS_ampersand, KS_7, KS_period,
702 KC(47), KS_bracketleft, KS_braceleft, KS_Cyrillic_ha, KS_Cyrillic_HA,
703 KC(48), KS_bracketright,KS_braceright, KS_Cyrillic_hsighn,KS_Cyrillic_HSIGHN,
704 KC(51), KS_semicolon, KS_colon, KS_Cyrillic_zhe,KS_Cyrillic_ZHE,
705 KC(52), KS_apostrophe, KS_quotedbl, KS_Cyrillic_e, KS_Cyrillic_E,
706 KC(54), KS_comma, KS_less, KS_Cyrillic_be, KS_Cyrillic_BE,
707 KC(55), KS_period, KS_greater, KS_Cyrillic_yu, KS_Cyrillic_YU,
708 KC(56), KS_slash, KS_question, KS_Cyrillic_yo, KS_Cyrillic_YO,
709 KC(230), KS_Mode_switch, KS_Multi_key,
710};
711
712static const keysym_t ukbd_keydesc_ua[] = {
713/* pos normal shifted altgr shift-altgr */
714 KC(4), KS_a, KS_A, KS_Cyrillic_ef, KS_Cyrillic_EF,
715 KC(5), KS_b, KS_B, KS_Cyrillic_i, KS_Cyrillic_I,
716 KC(6), KS_c, KS_C, KS_Cyrillic_es, KS_Cyrillic_ES,
717 KC(7), KS_d, KS_D, KS_Cyrillic_ve, KS_Cyrillic_VE,
718 KC(8), KS_e, KS_E, KS_Cyrillic_u, KS_Cyrillic_U,
719 KC(9), KS_f, KS_F, KS_Cyrillic_a, KS_Cyrillic_A,
720 KC(10), KS_g, KS_G, KS_Cyrillic_pe, KS_Cyrillic_PE,
721 KC(11), KS_h, KS_H, KS_Cyrillic_er, KS_Cyrillic_ER,
722 KC(12), KS_i, KS_I, KS_Cyrillic_sha,KS_Cyrillic_SHA,
723 KC(13), KS_j, KS_J, KS_Cyrillic_o, KS_Cyrillic_O,
724 KC(14), KS_k, KS_K, KS_Cyrillic_el, KS_Cyrillic_EL,
725 KC(15), KS_l, KS_L, KS_Cyrillic_de, KS_Cyrillic_DE,
726 KC(16), KS_m, KS_M, KS_Cyrillic_ssighn,KS_Cyrillic_SSIGHN,
727 KC(17), KS_n, KS_N, KS_Cyrillic_te, KS_Cyrillic_TE,
728 KC(18), KS_o, KS_O, KS_Cyrillic_scha,KS_Cyrillic_SCHA,
729 KC(19), KS_p, KS_P, KS_Cyrillic_ze, KS_Cyrillic_ZE,
730 KC(20), KS_q, KS_Q, KS_Cyrillic_ishort,KS_Cyrillic_ISHORT,
731 KC(21), KS_r, KS_R, KS_Cyrillic_ka, KS_Cyrillic_KA,
732 KC(22), KS_s, KS_S, KS_Cyrillic_yeru,KS_Cyrillic_YERU,
733 KC(23), KS_t, KS_T, KS_Cyrillic_ie, KS_Cyrillic_IE,
734 KC(24), KS_u, KS_U, KS_Cyrillic_ge, KS_Cyrillic_GE,
735 KC(25), KS_v, KS_V, KS_Cyrillic_em, KS_Cyrillic_EM,
736 KC(26), KS_w, KS_W, KS_Cyrillic_tse,KS_Cyrillic_TSE,
737 KC(27), KS_x, KS_X, KS_Cyrillic_che,KS_Cyrillic_CHE,
738 KC(28), KS_y, KS_Y, KS_Cyrillic_en, KS_Cyrillic_EN,
739 KC(29), KS_z, KS_Z, KS_Cyrillic_ya, KS_Cyrillic_YA,
740 KC(35), KS_6, KS_asciicircum, KS_6, KS_comma,
741 KC(36), KS_7, KS_ampersand, KS_7, KS_period,
742 KC(45), KS_minus, KS_underscore, KS_Cyrillic_iukr,KS_Cyrillic_IUKR,
743 KC(46), KS_equal, KS_plus, KS_Cyrillic_yeukr,KS_Cyrillic_YEUKR,
744 KC(47), KS_bracketleft, KS_braceleft, KS_Cyrillic_ha, KS_Cyrillic_HA,
745 KC(48), KS_bracketright,KS_braceright, KS_Cyrillic_hsighn,KS_Cyrillic_HSIGHN,
746 KC(49), KS_backslash, KS_bar, KS_Cyrillic_yi, KS_Cyrillic_YI,
747 KC(50), KS_backslash, KS_bar, KS_Cyrillic_yi, KS_Cyrillic_YI,
748 KC(51), KS_semicolon, KS_colon, KS_Cyrillic_zhe,KS_Cyrillic_ZHE,
749 KC(52), KS_apostrophe, KS_quotedbl, KS_Cyrillic_e, KS_Cyrillic_E,
750 KC(53), KS_grave, KS_asciitilde, KS_Cyrillic_gheukr,KS_Cyrillic_GHEUKR,
751 KC(54), KS_comma, KS_less, KS_Cyrillic_be, KS_Cyrillic_BE,
752 KC(55), KS_period, KS_greater, KS_Cyrillic_yu, KS_Cyrillic_YU,
753 KC(56), KS_slash, KS_question, KS_Cyrillic_yo, KS_Cyrillic_YO,
754 KC(230), KS_Mode_switch, KS_Multi_key,
755};
756
757static const keysym_t ukbd_keydesc_sg[] = {
758/* pos normal shifted altgr shift-altgr */
759 KC(8), KS_e, KS_E, KS_currency,
760 KC(28), KS_z,
761 KC(29), KS_y,
762 KC(30), KS_1, KS_plus, KS_bar,
763 KC(31), KS_2, KS_quotedbl, KS_at,
764 KC(32), KS_3, KS_asterisk, KS_numbersign,
765 KC(33), KS_4, KS_ccedilla,
766 KC(35), KS_6, KS_ampersand, KS_notsign,
767 KC(36), KS_7, KS_slash, KS_brokenbar,
768 KC(37), KS_8, KS_parenleft, KS_cent,
769 KC(38), KS_9, KS_parenright,
770 KC(39), KS_0, KS_equal,
771 KC(45), KS_apostrophe, KS_question, KS_dead_acute,
772 KC(46), KS_dead_circumflex,KS_dead_grave,KS_dead_tilde,
773 KC(47), KS_udiaeresis, KS_egrave, KS_bracketleft,
774 KC(48), KS_dead_diaeresis,KS_exclam, KS_bracketright,
775 KC(49), KS_dollar, KS_sterling, KS_braceright,
776 KC(50), KS_dollar, KS_sterling, KS_braceright,
777 KC(51), KS_odiaeresis, KS_eacute,
778 KC(52), KS_adiaeresis, KS_agrave, KS_braceleft,
779 KC(53), KS_section, KS_degree, KS_dead_abovering,
780 KC(54), KS_comma, KS_semicolon,
781 KC(55), KS_period, KS_colon,
782 KC(56), KS_minus, KS_underscore,
783 KC(100), KS_less, KS_greater, KS_backslash,
784 KC(230), KS_Mode_switch, KS_Multi_key,
785};
786
787static const keysym_t ukbd_keydesc_sg_nodead[] = {
788/* pos normal shifted altgr shift-altgr */
789 KC(45), KS_apostrophe, KS_question, KS_acute,
790 KC(46), KS_asciicircum, KS_grave, KS_asciitilde,
791 KC(48), KS_diaeresis, KS_exclam, KS_bracketright,
792};
793
794static const keysym_t ukbd_keydesc_sf[] = {
795/* pos normal shifted altgr shift-altgr */
796 KC(47), KS_egrave, KS_udiaeresis, KS_bracketleft,
797 KC(51), KS_eacute, KS_odiaeresis,
798 KC(52), KS_agrave, KS_adiaeresis, KS_braceleft,
799};
800
801static const keysym_t ukbd_keydesc_pt[] = {
802/* pos normal shifted altgr shift-altgr */
803 KC(31), KS_2, KS_quotedbl, KS_at,
804 KC(32), KS_3, KS_numbersign, KS_sterling,
805 KC(35), KS_6, KS_ampersand,
806 KC(36), KS_7, KS_slash, KS_braceleft,
807 KC(37), KS_8, KS_parenleft, KS_bracketleft,
808 KC(38), KS_9, KS_parenright, KS_bracketright,
809 KC(39), KS_0, KS_equal, KS_braceright,
810 KC(45), KS_apostrophe, KS_question,
811 KC(46), KS_less, KS_greater,
812 KC(47), KS_plus, KS_asterisk,
813 KC(48), KS_dead_acute, KS_dead_grave,
814 KC(49), KS_dead_tilde, KS_dead_circumflex,
815 KC(50), KS_dead_tilde, KS_dead_circumflex,
816 KC(51), KS_ccedilla, KS_Ccedilla,
817 KC(52), KS_masculine, KS_ordfeminine,
818 KC(53), KS_backslash, KS_bar,
819 KC(54), KS_comma, KS_semicolon,
820 KC(55), KS_period, KS_colon,
821 KC(56), KS_minus, KS_underscore,
822 KC(100), KS_less, KS_greater,
823 KC(230), KS_Mode_switch, KS_Multi_key,
824};
825
826static const keysym_t ukbd_keydesc_pt_apple[] = {
827/* pos normal shifted */
828 KC(46), KS_plus, KS_asterisk,
829 KC(47), KS_masculine, KS_ordfeminine,
830 KC(50), KS_backslash, KS_bar,
831 KC(52), KS_dead_tilde, KS_dead_circumflex
832};
833
834static const keysym_t ukbd_keydesc_la[] = {
835/* pos normal shifted altgr shift-altgr */
836 KC(20), KS_q, KS_Q, KS_at,
837 KC(30), KS_1, KS_exclam,
838 KC(31), KS_2, KS_quotedbl,
839 KC(32), KS_3, KS_numbersign,
840 KC(35), KS_6, KS_ampersand,
841 KC(36), KS_7, KS_slash,
842 KC(37), KS_8, KS_parenleft,
843 KC(38), KS_9, KS_parenright,
844 KC(39), KS_0, KS_equal,
845 KC(45), KS_apostrophe, KS_question, KS_backslash,
846 KC(46), KS_questiondown,KS_exclamdown,
847 KC(47), KS_dead_acute, KS_dead_diaeresis,
848 KC(48), KS_plus, KS_asterisk, KS_asciitilde,
849 KC(49), KS_braceright, KS_bracketright,KS_dead_grave,
850 KC(50), KS_braceright, KS_bracketright,KS_dead_grave,
851 KC(51), KS_ntilde,
852 KC(52), KS_braceleft, KS_bracketleft, KS_dead_circumflex,
853 KC(53), KS_bar, KS_degree, KS_notsign,
854 KC(54), KS_comma, KS_semicolon,
855 KC(55), KS_period, KS_colon,
856 KC(56), KS_minus, KS_underscore,
857 KC(100), KS_less, KS_greater,
858 KC(230), KS_Mode_switch, KS_Multi_key,
859};
860
861static const keysym_t ukbd_keydesc_br[] = {
862/* pos normal shifted altgr shift-altgr */
863 KC(30), KS_1, KS_exclam, KS_onesuperior,
864 KC(31), KS_2, KS_at, KS_twosuperior,
865 KC(32), KS_3, KS_numbersign, KS_threesuperior,
866 KC(33), KS_4, KS_dollar, KS_sterling,
867 KC(34), KS_5, KS_percent, KS_cent,
868 KC(35), KS_6, KS_dead_diaeresis,KS_notsign,
869 KC(46), KS_equal, KS_plus, KS_section,
870 KC(47), KS_dead_acute, KS_dead_grave,
871 KC(48), KS_bracketleft, KS_braceleft, KS_ordfeminine,
872 KC(49), KS_bracketright,KS_braceright, KS_masculine,
873 KC(50), KS_bracketright,KS_braceright, KS_masculine,
874 KC(51), KS_ccedilla, KS_Ccedilla,
875 KC(52), KS_dead_tilde, KS_dead_circumflex,
876 KC(53), KS_apostrophe, KS_quotedbl,
877 KC(56), KS_semicolon, KS_colon,
878 KC(99), KS_KP_Delete, KS_KP_Decimal,
879 KC(100), KS_backslash, KS_bar,
880 KC(135), KS_slash, KS_question, KS_degree,
881};
882
883static const keysym_t ukbd_keydesc_tr[] = {
884/* pos normal shifted altgr shift-altgr */
885 KC(12), KS_L5_idotless, KS_I,
886 KC(20), KS_q, KS_Q, KS_at,
887 KC(31), KS_2, KS_apostrophe, KS_sterling,
888 KC(32), KS_3, KS_asciicircum, KS_numbersign,
889 KC(33), KS_4, KS_plus, KS_dollar,
890 KC(34), KS_5, KS_percent, KS_onehalf,
891 KC(35), KS_6, KS_ampersand,
892 KC(36), KS_7, KS_slash, KS_braceleft,
893 KC(37), KS_8, KS_parenleft, KS_bracketleft,
894 KC(38), KS_9, KS_parenright, KS_bracketright,
895 KC(39), KS_0, KS_equal, KS_braceright,
896 KC(45), KS_asterisk, KS_question, KS_backslash,
897 KC(46), KS_minus, KS_underscore,
898 KC(47), KS_L5_gbreve, KS_L5_Gbreve, KS_dead_diaeresis,
899 KC(48), KS_udiaeresis, KS_Udiaeresis, KS_asciitilde,
900 KC(49), KS_comma, KS_semicolon, KS_dead_grave,
901 KC(50), KS_comma, KS_semicolon, KS_dead_grave,
902 KC(51), KS_L5_scedilla, KS_L5_Scedilla, KS_dead_acute,
903 KC(52), KS_i, KS_L5_Idotabove,
904 KC(53), KS_quotedbl, KS_eacute,
905 KC(54), KS_odiaeresis, KS_Odiaeresis,
906 KC(55), KS_ccedilla, KS_Ccedilla,
907 KC(56), KS_period, KS_colon,
908 KC(100), KS_less, KS_greater, KS_bar,
909 KC(230), KS_Mode_switch, KS_Multi_key,
910};
911
912static const keysym_t ukbd_keydesc_tr_nodead[] = {
913/* pos normal shifted altgr shift-altgr */
914 KC(47), KS_L5_gbreve, KS_L5_Gbreve,
915 KC(49), KS_comma, KS_semicolon, KS_grave,
916 KC(50), KS_comma, KS_semicolon, KS_grave,
917 KC(51), KS_L5_scedilla, KS_L5_Scedilla, KS_apostrophe,
918};
919
920static const keysym_t ukbd_keydesc_pl[] = {
921/* pos normal shifted altgr shift-altgr */
922 KC(4), KS_a, KS_A, KS_L2_aogonek, KS_L2_Aogonek,
923 KC(6), KS_c, KS_C, KS_L2_cacute, KS_L2_Cacute,
924 KC(8), KS_e, KS_E, KS_L2_eogonek, KS_L2_Eogonek,
925 KC(15), KS_l, KS_L, KS_L2_lstroke, KS_L2_Lstroke,
926 KC(17), KS_n, KS_N, KS_L2_nacute, KS_L2_Nacute,
927 KC(18), KS_o, KS_O, KS_oacute, KS_Oacute,
928 KC(22), KS_s, KS_S, KS_L2_sacute, KS_L2_Sacute,
929 KC(27), KS_x, KS_X, KS_L2_zacute, KS_L2_Zacute,
930 KC(29), KS_z, KS_Z, KS_L2_zdotabove,KS_L2_Zdotabove,
931 KC(230), KS_Mode_switch, KS_Multi_key,
932};
933
934static const keysym_t ukbd_keydesc_hu[] = {
935/* pos normal shifted altgr shift-altgr */
936 KC(5), KS_b, KS_B, KS_braceleft,
937 KC(6), KS_c, KS_C, KS_ampersand,
938 KC(9), KS_f, KS_F, KS_bracketleft,
939 KC(10), KS_g, KS_G, KS_bracketright,
940 KC(12), KS_i, KS_I, KS_iacute,
941 KC(13), KS_j, KS_J, KS_iacute,
942 KC(17), KS_n, KS_N, KS_braceright,
943 KC(20), KS_q, KS_Q, KS_backslash,
944 KC(25), KS_v, KS_V, KS_at,
945 KC(26), KS_w, KS_W,KS_bar,
946 KC(27), KS_x, KS_X, KS_numbersign,
947 KC(28), KS_z, KS_Z,
948 KC(29), KS_y, KS_Y, KS_greater,
949 KC(30), KS_1, KS_apostrophe, KS_asciitilde,
950 KC(31), KS_2, KS_quotedbl,
951 KC(32), KS_3, KS_plus, KS_asciicircum,
952 KC(33), KS_4, KS_exclam,
953 KC(34), KS_5, KS_percent,
954 KC(35), KS_6, KS_slash,
955 KC(36), KS_7, KS_equal,KS_grave,
956 KC(37), KS_8, KS_parenleft,
957 KC(38), KS_9, KS_parenright, KS_acute,
958 KC(39), KS_odiaeresis, KS_Odiaeresis,
959 KC(45), KS_udiaeresis, KS_Udiaeresis,
960 KC(46), KS_oacute, KS_Oacute,
961 KC(47), KS_odoubleacute,KS_Odoubleacute,KS_division,
962 KC(48), KS_uacute, KS_Uacute, KS_multiply,
963 KC(49), KS_udoubleacute,KS_Udoubleacute,KS_currency,
964 KC(50), KS_udoubleacute,KS_Udoubleacute,KS_currency,
965 KC(51), KS_eacute, KS_Eacute, KS_dollar,
966 KC(52), KS_aacute, KS_Aacute, KS_ssharp,
967 KC(53), KS_0, KS_section,
968 KC(54), KS_comma, KS_question, KS_semicolon,
969 KC(55), KS_period, KS_colon,
970 KC(56), KS_minus, KS_underscore, KS_asterisk,
971 KC(100), KS_iacute, KS_Iacute, KS_less,
972 KC(230), KS_Mode_switch, KS_Multi_key,
973};
974
975static const keysym_t ukbd_keydesc_si[]=
976{
977/* pos normal shifted altgr shift-altgr */
978 KC(5), KS_b, KS_B, KS_braceleft,
979 KC(9), KS_f, KS_F, KS_bracketleft,
980 KC(10), KS_g, KS_G, KS_bracketright,
981 KC(14), KS_k, KS_K, KS_L2_lstroke,
982 KC(15), KS_l, KS_L, KS_L2_Lstroke,
983 KC(16), KS_m, KS_M, KS_section,
984 KC(17), KS_n, KS_N, KS_braceright,
985 KC(20), KS_q, KS_Q, KS_backslash,
986 KC(25), KS_v, KS_V, KS_at,
987 KC(26), KS_w, KS_W, KS_bar,
988 KC(28), KS_z, KS_Z,
989 KC(29), KS_y, KS_Y,
990 KC(30), KS_1, KS_exclam, KS_asciitilde,
991 KC(31), KS_2, KS_quotedbl, KS_L2_caron,
992 KC(32), KS_3, KS_numbersign, KS_asciicircum,
993 KC(33), KS_4, KS_dollar, KS_L2_breve,
994 KC(34), KS_5, KS_percent, KS_degree,
995 KC(35), KS_6, KS_ampersand, KS_L2_ogonek,
996 KC(36), KS_7, KS_slash, KS_grave,
997 KC(37), KS_8, KS_parenleft, KS_L2_dotabove,
998 KC(38), KS_9, KS_parenright, KS_acute,
999 KC(39), KS_0, KS_equal, KS_L2_dblacute,
1000 KC(45), KS_apostrophe, KS_question, KS_diaeresis,
1001 KC(46), KS_plus, KS_asterisk, KS_cedilla,
1002 KC(47), KS_L2_scaron, KS_L2_Scaron, KS_division,
1003 KC(48), KS_L2_dstroke, KS_L2_Dstroke, KS_multiply,
1004 KC(49), KS_L2_zcaron, KS_L2_Zcaron, KS_currency,
1005 KC(50), KS_L2_zcaron, KS_L2_Zcaron, KS_currency,
1006 KC(51), KS_L2_ccaron, KS_L2_Ccaron,
1007 KC(52), KS_L2_cacute, KS_L2_Cacute, KS_ssharp,
1008 KC(53), KS_cedilla, KS_diaeresis,
1009 KC(54), KS_comma, KS_semicolon, KS_less,
1010 KC(55), KS_period, KS_colon, KS_greater,
1011 KC(56), KS_minus, KS_underscore,
1012 KC(100), KS_less, KS_greater,
1013 KC(230), KS_Mode_switch, KS_Multi_key,
1014};
1015
1016static const keysym_t ukbd_keydesc_cf[] = {
1017/* pos normal shifted altgr shift-altgr */
1018 KC(16), KS_m, KS_M, KS_mu,
1019 KC(18), KS_o, KS_O, KS_section,
1020 KC(19), KS_p, KS_P, KS_paragraph,
1021 KC(30), KS_1, KS_exclam, KS_plusminus,
1022 KC(31), KS_2, KS_quotedbl, KS_at,
1023 KC(32), KS_3, KS_slash, KS_sterling,
1024 KC(33), KS_4, KS_dollar, KS_cent,
1025 KC(34), KS_5, KS_percent, KS_diaeresis,
1026 KC(35), KS_6, KS_question, KS_macron,
1027 KC(36), KS_7, KS_ampersand, KS_brokenbar,
1028 KC(37), KS_8, KS_asterisk, KS_twosuperior,
1029 KC(38), KS_9, KS_parenleft, KS_threesuperior,
1030 KC(39), KS_0, KS_parenright, KS_onequarter,
1031 KC(45), KS_minus, KS_underscore, KS_onehalf,
1032 KC(46), KS_equal, KS_plus, KS_threequarters,
1033 KC(47), KS_dead_circumflex,KS_dead_circumflex,KS_bracketleft,
1034 KC(48), KS_dead_cedilla,KS_dead_diaeresis,KS_bracketright,
1035 KC(49), KS_less, KS_greater, KS_braceright,
1036 KC(50), KS_less, KS_greater, KS_braceright,
1037 KC(51), KS_semicolon, KS_colon, KS_asciitilde,
1038 KC(52), KS_dead_grave, KS_dead_grave, KS_braceleft,
1039 KC(53), KS_numbersign, KS_bar, KS_backslash,
1040 KC(54), KS_comma, KS_apostrophe, KS_hyphen,
1041 KC(55), KS_period, KS_period,
1042 KC(56), KS_eacute, KS_Eacute, KS_dead_acute,
1043 KC(100), KS_guillemotleft,KS_guillemotright,KS_degree,
1044 KC(230), KS_Mode_switch,KS_Multi_key,
1045};
1046
1047static const keysym_t ukbd_keydesc_cf_nodead[] = {
1048/* pos normal shifted altgr shift-altgr */
1049 KC(47), KS_asciicircum,KS_asciicircum,KS_bracketleft,
1050 KC(48), KS_cedilla, KS_diaeresis, KS_bracketright,
1051 KC(52), KS_grave, KS_grave, KS_braceleft,
1052 KC(56), KS_eacute, KS_Eacute, KS_acute,
1053};
1054
1055static const keysym_t ukbd_keydesc_lv[] = {
1056/* pos normal shifted altgr shift-altgr */
1057 KC(4), KS_a, KS_A, KS_L7_amacron, KS_L7_Amacron,
1058 KC(6), KS_c, KS_C, KS_L7_ccaron, KS_L7_Ccaron,
1059 KC(8), KS_e, KS_E, KS_L7_emacron, KS_L7_Emacron,
1060 KC(10), KS_g, KS_G, KS_L7_gcedilla, KS_L7_Gcedilla,
1061 KC(12), KS_i, KS_I, KS_L7_imacron, KS_L7_Imacron,
1062 KC(14), KS_k, KS_K, KS_L7_kcedilla, KS_L7_Kcedilla,
1063 KC(15), KS_l, KS_L, KS_L7_lcedilla, KS_L7_Lcedilla,
1064 KC(17), KS_n, KS_N, KS_L7_ncedilla, KS_L7_Ncedilla,
1065 KC(18), KS_o, KS_O, KS_L7_omacron, KS_L7_Omacron,
1066 KC(22), KS_s, KS_S, KS_L7_scaron, KS_L7_Scaron,
1067 KC(24), KS_u, KS_U, KS_L7_umacron, KS_L7_Umacron,
1068 KC(29), KS_z, KS_Z, KS_L7_zcaron, KS_L7_Zcaron,
1069 KC(230), KS_Mode_switch, KS_Multi_key,
1070};
1071
1072static const keysym_t ukbd_keydesc_nl[] = {
1073/* pos normal shifted altgr shift-altgr */
1074 KC(6), KS_c, KS_C, KS_cent,
1075 KC(16), KS_m, KS_M, KS_mu,
1076 KC(21), KS_r, KS_R, KS_paragraph,
1077 KC(22), KS_s, KS_S, KS_ssharp,
1078 KC(27), KS_x, KS_X, KS_guillemotright,
1079 KC(29), KS_z, KS_Z, KS_guillemotleft,
1080 KC(30), KS_1, KS_exclam, KS_onesuperior,
1081 KC(31), KS_2, KS_quotedbl, KS_twosuperior,
1082 KC(32), KS_3, KS_numbersign, KS_threesuperior,
1083 KC(33), KS_4, KS_dollar, KS_onequarter,
1084 KC(34), KS_5, KS_percent, KS_onehalf,
1085 KC(35), KS_6, KS_ampersand, KS_threequarters,
1086 KC(36), KS_7, KS_underscore, KS_sterling,
1087 KC(37), KS_8, KS_parenleft, KS_braceleft,
1088 KC(38), KS_9, KS_parenright, KS_braceright,
1089 KC(39), KS_0, KS_apostrophe,
1090 KC(45), KS_slash, KS_question, KS_backslash,
1091 KC(46), KS_degree, KS_dead_tilde, KS_dead_cedilla,
1092 KC(47), KS_dead_diaeresis,KS_dead_circumflex,
1093 KC(48), KS_asterisk, KS_bar,
1094 KC(49), KS_less, KS_greater,
1095 KC(50), KS_less, KS_greater,
1096 KC(51), KS_plus, KS_plusminus,
1097 KC(52), KS_dead_acute, KS_dead_grave,
1098 KC(53), KS_at, KS_section, KS_notsign,
1099 KC(54), KS_comma, KS_semicolon,
1100 KC(55), KS_period, KS_colon, KS_periodcentered,
1101 KC(56), KS_minus, KS_equal,
1102 KC(100), KS_bracketright,KS_bracketleft, KS_brokenbar,
1103 KC(230), KS_Mode_switch, KS_Multi_key,
1104};
1105
1106static const keysym_t ukbd_keydesc_nl_nodead[] = {
1107/* pos normal shifted altgr shift-altgr */
1108 KC(46), KS_degree, KS_asciitilde, KS_cedilla,
1109 KC(47), KS_quotedbl, KS_asciicircum,
1110 KC(52), KS_apostrophe, KS_grave,
1111};
1112
1113static const keysym_t ukbd_keydesc_is[] = {
1114/* pos normal shifted altgr shift-altgr */
1115 /* euro currency */
1116 KC(8), KS_e, KS_E,
1117 KC(20), KS_q, KS_Q, KS_at,
1118 KC(31), KS_2, KS_quotedbl,
1119 KC(35), KS_6, KS_ampersand,
1120 KC(36), KS_7, KS_slash, KS_braceleft,
1121 KC(37), KS_8, KS_parenleft, KS_bracketleft,
1122 KC(38), KS_9, KS_parenright, KS_bracketright,
1123 KC(39), KS_0, KS_equal, KS_braceright,
1124 KC(45), KS_odiaeresis, KS_Odiaeresis, KS_backslash,
1125 KC(46), KS_minus, KS_underscore,
1126 KC(47), KS_eth,
1127 KC(48), KS_apostrophe, KS_question, KS_asciitilde,
1128 KC(49), KS_plus, KS_asterisk, KS_grave,
1129 KC(50), KS_plus, KS_asterisk, KS_grave,
1130 KC(51), KS_ae,
1131 KC(52), KS_dead_acute, KS_dead_diaeresis,KS_dead_circumflex,
1132 KC(53), KS_degree, KS_diaeresis,
1133 KC(54), KS_comma, KS_semicolon,
1134 KC(55), KS_period, KS_colon,
1135 KC(56), KS_thorn,
1136 KC(100), KS_less, KS_greater, KS_bar,
1137 KC(230), KS_Mode_switch, KS_Multi_key,
1138};
1139
1140static const keysym_t ukbd_keydesc_is_nodead[] = {
1141/* pos normal shifted altgr shift-altgr */
1142 KC(52), KS_acute, KS_diaeresis, KS_asciicircum,
1143};
1144
1145static const keysym_t ukbd_keydesc_ee[] = {
1146/* pos normal shifted altgr shift-altgr */
1147 KC(22), KS_s, KS_S, KS_L2_scaron, KS_L2_Scaron,
1148 KC(29), KS_z, KS_Z, KS_L2_zcaron, KS_L2_Zcaron,
1149 KC(31), KS_2, KS_quotedbl, KS_at,
1150 KC(32), KS_3, KS_numbersign, KS_sterling,
1151 KC(33), KS_4, KS_currency, KS_dollar,
1152 KC(35), KS_6, KS_ampersand,
1153 KC(36), KS_7, KS_slash, KS_braceleft,
1154 KC(37), KS_8, KS_parenleft, KS_bracketleft,
1155 KC(38), KS_9, KS_parenright, KS_bracketright,
1156 KC(39), KS_0, KS_equal, KS_braceright,
1157 KC(45), KS_plus, KS_question, KS_backslash,
1158 KC(46), KS_dead_acute, KS_dead_grave,
1159 KC(47), KS_udiaeresis,
1160 KC(48), KS_otilde, KS_Otilde, KS_section,
1161 KC(49), KS_apostrophe, KS_asterisk, KS_onehalf,
1162 KC(50), KS_apostrophe, KS_asterisk, KS_onehalf,
1163 KC(51), KS_odiaeresis,
1164 KC(52), KS_adiaeresis, KS_Adiaeresis, KS_dead_circumflex,
1165 KC(53), KS_dead_caron, KS_dead_tilde,
1166 KC(54), KS_comma, KS_semicolon,
1167 KC(55), KS_period, KS_colon,
1168 KC(56), KS_minus, KS_underscore,
1169 KC(100), KS_less, KS_greater, KS_bar, KS_brokenbar,
1170 KC(230), KS_Mode_switch, KS_Multi_key,
1171};
1172
1173static const keysym_t ukbd_keydesc_ee_nodead[] = {
1174/* pos normal shifted altgr shift-altgr */
1175 KC(46), KS_apostrophe, KS_grave,
1176 KC(52), KS_adiaeresis, KS_Adiaeresis, KS_asciicircum,
1177 KC(53), KS_L2_caron, KS_asciitilde,
1178};
1179
1180#endif /* WSKBD_NO_INTL_LAYOUTS */
1181
1182#define KBD_MAP(name, base, map) \
1183 { name, base, sizeof(map)/sizeof(keysym_t), map }
1184
1185const struct wscons_keydesc ukbd_keydesctab[] = {
1186 KBD_MAP(KB_US, 0, ukbd_keydesc_us),
1187#if !defined(WSKBD_NO_INTL_LAYOUTS)
1188 KBD_MAP(KB_DE, KB_US, ukbd_keydesc_de),
1189 KBD_MAP(KB_DE | KB_APPLE, KB_DE, ukbd_keydesc_de_apple),
1190 KBD_MAP(KB_DE | KB_NODEAD, KB_DE, ukbd_keydesc_de_nodead),
1191 KBD_MAP(KB_DE | KB_APPLE | KB_NODEAD, KB_DE | KB_APPLE,
1192 ukbd_keydesc_de_nodead),
1193 KBD_MAP(KB_FR, KB_US, ukbd_keydesc_fr),
1194 KBD_MAP(KB_FR | KB_APPLE, KB_FR, ukbd_keydesc_fr_apple),
1195 KBD_MAP(KB_FR | KB_DVORAK, KB_US, ukbd_keydesc_fr_dvorak_bepo),
1196 KBD_MAP(KB_DK, KB_US, ukbd_keydesc_dk),
1197 KBD_MAP(KB_DK | KB_NODEAD, KB_DK, ukbd_keydesc_dk_nodead),
1198 KBD_MAP(KB_IT, KB_US, ukbd_keydesc_it),
1199 KBD_MAP(KB_UK, KB_US, ukbd_keydesc_uk),
1200 KBD_MAP(KB_JP, KB_US, ukbd_keydesc_jp),
1201 KBD_MAP(KB_SV, KB_DK, ukbd_keydesc_sv),
1202 KBD_MAP(KB_SV | KB_NODEAD, KB_SV, ukbd_keydesc_sv_nodead),
1203 KBD_MAP(KB_NO, KB_DK, ukbd_keydesc_no),
1204 KBD_MAP(KB_NO | KB_NODEAD, KB_NO, ukbd_keydesc_no_nodead),
1205 KBD_MAP(KB_US | KB_DVORAK, KB_US, ukbd_keydesc_us_dvorak),
1206 KBD_MAP(KB_US | KB_COLEMAK, KB_US, ukbd_keydesc_us_colemak),
1207 KBD_MAP(KB_US | KB_SWAPCTRLCAPS, KB_US, ukbd_keydesc_swapctrlcaps),
1208 KBD_MAP(KB_UK | KB_SWAPCTRLCAPS, KB_UK, ukbd_keydesc_swapctrlcaps),
1209 KBD_MAP(KB_JP | KB_SWAPCTRLCAPS, KB_JP, ukbd_keydesc_swapctrlcaps),
1210 KBD_MAP(KB_FR | KB_SWAPCTRLCAPS, KB_FR, ukbd_keydesc_swapctrlcaps),
1211 KBD_MAP(KB_FR | KB_APPLE | KB_SWAPCTRLCAPS, KB_FR | KB_APPLE,
1212 ukbd_keydesc_swapctrlcaps),
1213 KBD_MAP(KB_FR | KB_DVORAK | KB_SWAPCTRLCAPS, KB_FR | KB_DVORAK,
1214 ukbd_keydesc_swapctrlcaps),
1215 KBD_MAP(KB_BE | KB_SWAPCTRLCAPS, KB_BE, ukbd_keydesc_swapctrlcaps),
1216 KBD_MAP(KB_US | KB_DVORAK | KB_SWAPCTRLCAPS, KB_US | KB_DVORAK,
1217 ukbd_keydesc_swapctrlcaps),
1218 KBD_MAP(KB_US | KB_COLEMAK | KB_SWAPCTRLCAPS, KB_US | KB_COLEMAK,
1219 ukbd_keydesc_swapctrlcaps),
1220 KBD_MAP(KB_ES, KB_US, ukbd_keydesc_es),
1221 KBD_MAP(KB_BE, KB_US, ukbd_keydesc_be),
1222 KBD_MAP(KB_RU, KB_US, ukbd_keydesc_ru),
1223 KBD_MAP(KB_UA, KB_US, ukbd_keydesc_ua),
1224 KBD_MAP(KB_SG, KB_US, ukbd_keydesc_sg),
1225 KBD_MAP(KB_SG | KB_NODEAD, KB_SG, ukbd_keydesc_sg_nodead),
1226 KBD_MAP(KB_SF, KB_SG, ukbd_keydesc_sf),
1227 KBD_MAP(KB_SF | KB_NODEAD, KB_SF, ukbd_keydesc_sg_nodead),
1228 KBD_MAP(KB_PT, KB_US, ukbd_keydesc_pt),
1229 KBD_MAP(KB_PT | KB_APPLE, KB_PT, ukbd_keydesc_pt_apple),
1230 KBD_MAP(KB_LT, KB_US, ukbd_keydesc_lt),
1231 KBD_MAP(KB_LA, KB_US, ukbd_keydesc_la),
1232 KBD_MAP(KB_BR, KB_US, ukbd_keydesc_br),
1233 KBD_MAP(KB_TR, KB_US, ukbd_keydesc_tr),
1234 KBD_MAP(KB_TR | KB_NODEAD, KB_TR, ukbd_keydesc_tr_nodead),
1235 KBD_MAP(KB_PL, KB_US, ukbd_keydesc_pl),
1236 KBD_MAP(KB_HU, KB_US, ukbd_keydesc_hu),
1237 KBD_MAP(KB_SI, KB_US, ukbd_keydesc_si),
1238 KBD_MAP(KB_CF, KB_US, ukbd_keydesc_cf),
1239 KBD_MAP(KB_CF | KB_NODEAD, KB_CF, ukbd_keydesc_cf_nodead),
1240 KBD_MAP(KB_LV, KB_US, ukbd_keydesc_lv),
1241 KBD_MAP(KB_NL, KB_US, ukbd_keydesc_nl),
1242 KBD_MAP(KB_NL | KB_NODEAD, KB_NL, ukbd_keydesc_nl_nodead),
1243 KBD_MAP(KB_IS, KB_US, ukbd_keydesc_is),
1244 KBD_MAP(KB_IS | KB_NODEAD, KB_IS, ukbd_keydesc_is_nodead),
1245 KBD_MAP(KB_EE, KB_US, ukbd_keydesc_ee),
1246 KBD_MAP(KB_EE | KB_NODEAD, KB_EE, ukbd_keydesc_ee_nodead),
1247#endif /* WSKBD_NO_INTL_LAYOUTS */
1248 {0, 0, 0, 0}
1249};
1250
1251#undef KBD_MAP
1252#undef KC