Annotation of sys/arch/hppa/gsc/gsckbdmap.c, Revision 1.1.1.1
1.1 nbrk 1: /* $OpenBSD: gsckbdmap.c,v 1.19 2006/12/05 21:28:02 otto Exp $ */
2:
3: /*
4: * THIS FILE IS AUTOMAGICALLY GENERATED. DO NOT EDIT.
5: *
6: * generated by:
7: * OpenBSD: makemap.awk,v 1.6 2005/05/12 16:21:23 miod Exp
8: * generated from:
9: */
10: /* OpenBSD: wskbdmap_mfii.c,v 1.34 2006/12/05 21:27:07 otto 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/arch/hppa/gsc/gsckbdmap.c
16: * sys/dev/usb/ukbdmap.c
17: * AFTER ANY CHANGES TO THIS FILE!
18: */
19:
20: /*-
21: * Copyright (c) 1997 The NetBSD Foundation, Inc.
22: * All rights reserved.
23: *
24: * This code is derived from software contributed to The NetBSD Foundation
25: * by Juergen Hannken-Illjes.
26: *
27: * Redistribution and use in source and binary forms, with or without
28: * modification, are permitted provided that the following conditions
29: * are met:
30: * 1. Redistributions of source code must retain the above copyright
31: * notice, this list of conditions and the following disclaimer.
32: * 2. Redistributions in binary form must reproduce the above copyright
33: * notice, this list of conditions and the following disclaimer in the
34: * documentation and/or other materials provided with the distribution.
35: * 3. All advertising materials mentioning features or use of this software
36: * must display the following acknowledgement:
37: * This product includes software developed by the NetBSD
38: * Foundation, Inc. and its contributors.
39: * 4. Neither the name of The NetBSD Foundation nor the names of its
40: * contributors may be used to endorse or promote products derived
41: * from this software without specific prior written permission.
42: *
43: * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
44: * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
45: * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
46: * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
47: * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
48: * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
49: * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
50: * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
51: * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
52: * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
53: * POSSIBILITY OF SUCH DAMAGE.
54: */
55:
56: #include <sys/types.h>
57: #include <dev/wscons/wsksymdef.h>
58: #include <dev/wscons/wsksymvar.h>
59: #include <hppa/gsc/gsckbdmap.h>
60:
61: #define KC(n) KS_KEYCODE(n)
62:
63: static const keysym_t gsckbd_keydesc_us[] = {
64: /* pos command normal shifted */
65: /* initially KC(160), KS_AudioMute, */
66: /* initially KC(174), KS_AudioLower, */
67: /* initially KC(176), KS_AudioRaise, */
68: /* initially KC(219), KS_Meta_L, */
69: /* initially KC(220), KS_Meta_R, */
70: /* initially KC(221), KS_Menu, */
71: KC(1), KS_Cmd_Screen8, KS_f9,
72: KC(3), KS_Cmd_Screen4, KS_f5,
73: KC(4), KS_Cmd_Screen2, KS_f3,
74: KC(5), KS_Cmd_Screen0, KS_f1,
75: KC(6), KS_Cmd_Screen1, KS_f2,
76: KC(7), KS_Cmd_Screen11,KS_f12,
77: KC(9), KS_Cmd_Screen9, KS_f10,
78: KC(10), KS_Cmd_Screen7, KS_f8,
79: KC(11), KS_Cmd_Screen5, KS_f6,
80: KC(12), KS_Cmd_Screen3, KS_f4,
81: KC(13), KS_Tab,
82: KC(14), KS_grave, KS_asciitilde,
83: KC(17), KS_Cmd2, KS_Alt_L,
84: KC(18), KS_Shift_L,
85: KC(20), KS_Cmd1, KS_Control_L,
86: KC(21), KS_q,
87: KC(22), KS_1, KS_exclam,
88: KC(26), KS_z,
89: KC(27), KS_s,
90: KC(28), KS_a,
91: KC(29), KS_w,
92: KC(30), KS_2, KS_at,
93: KC(33), KS_c,
94: KC(34), KS_x,
95: KC(35), KS_d,
96: KC(36), KS_e,
97: KC(37), KS_4, KS_dollar,
98: KC(38), KS_3, KS_numbersign,
99: KC(41), KS_space,
100: KC(42), KS_v,
101: KC(43), KS_f,
102: KC(44), KS_t,
103: KC(45), KS_r,
104: KC(46), KS_5, KS_percent,
105: KC(49), KS_n,
106: KC(50), KS_b,
107: KC(51), KS_h,
108: KC(52), KS_g,
109: KC(53), KS_y,
110: KC(54), KS_6, KS_asciicircum,
111: KC(58), KS_m,
112: KC(59), KS_j,
113: KC(60), KS_u,
114: KC(61), KS_7, KS_ampersand,
115: KC(62), KS_8, KS_asterisk,
116: KC(65), KS_comma, KS_less,
117: KC(66), KS_k,
118: KC(67), KS_i,
119: KC(68), KS_o,
120: KC(69), KS_0, KS_parenright,
121: KC(70), KS_9, KS_parenleft,
122: KC(73), KS_period, KS_greater,
123: KC(74), KS_slash, KS_question,
124: KC(75), KS_l,
125: KC(76), KS_semicolon, KS_colon,
126: KC(77), KS_p,
127: KC(78), KS_minus, KS_underscore,
128: KC(82), KS_apostrophe, KS_quotedbl,
129: KC(84), KS_bracketleft, KS_braceleft,
130: KC(85), KS_equal, KS_plus,
131: KC(88), KS_Caps_Lock,
132: KC(89), KS_Shift_R,
133: KC(90), KS_Return,
134: KC(91), KS_bracketright,KS_braceright,
135: KC(93), KS_backslash, KS_bar,
136: KC(102), KS_Cmd_ResetEmul,KS_Delete,
137: KC(105), KS_KP_End, KS_KP_1,
138: KC(107), KS_KP_Left, KS_KP_4,
139: KC(108), KS_KP_Home, KS_KP_7,
140: KC(112), KS_KP_Insert, KS_KP_0,
141: KC(113), KS_Cmd_KbdReset,KS_KP_Delete,
142: KC(114), KS_KP_Down, KS_KP_2,
143: KC(115), KS_KP_Begin, KS_KP_5,
144: KC(116), KS_KP_Right, KS_KP_6,
145: KC(117), KS_KP_Up, KS_KP_8,
146: KC(118), KS_Cmd_Debugger,KS_Escape,
147: KC(119), KS_Num_Lock,
148: KC(120), KS_Cmd_Screen10,KS_f11,
149: KC(121), KS_KP_Add,
150: KC(122), KS_KP_Next, KS_KP_3,
151: KC(123), KS_KP_Subtract,
152: KC(124), KS_KP_Multiply,
153: KC(125), KS_KP_Prior, KS_KP_9,
154: KC(126), KS_Hold_Screen,
155: KC(127), KS_Pause, /*Break*/
156: KC(131), KS_Cmd_Screen6, KS_f7,
157: KC(145), KS_Cmd2, KS_Alt_R, KS_Multi_key,
158: KC(148), KS_Cmd1, KS_Control_R,
159: KC(202), KS_KP_Divide,
160: KC(218), KS_KP_Enter,
161: KC(233), KS_End,
162: KC(235), KS_Left,
163: KC(236), KS_Home,
164: KC(240), KS_Insert,
165: KC(242), KS_Down,
166: KC(244), KS_Right,
167: KC(245), KS_Up,
168: KC(250), KS_Cmd_ScrollFwd,KS_Next,
169: KC(252), KS_Print_Screen,
170: KC(253), KS_Cmd_ScrollBack,KS_Prior,
171: KC(241), KS_Delete
172: };
173:
174: static const keysym_t gsckbd_keydesc_precisionbook[] = {
175: /* pos command normal shifted */
176: KC(7), KS_Cmd_Screen0, KS_f1,
177: KC(15), KS_Cmd_Screen1, KS_f2,
178: KC(23), KS_Cmd_Screen2, KS_f3,
179: KC(31), KS_Cmd_Screen3, KS_f4,
180: KC(39), KS_Cmd_Screen4, KS_f5,
181: KC(47), KS_Cmd_Screen5, KS_f6,
182: KC(55), KS_Cmd_Screen6, KS_f7,
183: KC(63), KS_Cmd_Screen7, KS_f8,
184: KC(71), KS_Cmd_Screen8, KS_f9,
185: KC(79), KS_Cmd_Screen9, KS_f10,
186: KC(86), KS_Cmd_Screen10, KS_f11,
187: KC(94), KS_Cmd_Screen11, KS_f12,
188: KC(8), KS_Cmd_Debugger, KS_Escape,
189: KC(87), KS_Print_Screen,
190: KC(92), KS_backslash, KS_bar,
191: KC(96), KS_KP_Down, KS_KP_2,
192: KC(95), KS_Hold_Screen,
193: KC(97), KS_KP_Left, KS_KP_4,
194: KC(98), KS_Pause, /* Break */
195: KC(99), KS_KP_Up, KS_KP_8,
196: KC(100), KS_KP_Delete, KS_KP_Decimal,
197: KC(101), KS_KP_End, KS_KP_1,
198: KC(103), KS_KP_Insert, KS_KP_0,
199: KC(106), KS_KP_Right, KS_KP_6,
200: KC(109), KS_KP_Next, KS_KP_3,
201: KC(110), KS_KP_Home, KS_KP_7,
202: KC(111), KS_KP_Prior, KS_KP_9,
203: KC(20), KS_Caps_Lock,
204: KC(17), KS_Cmd1, KS_Control_L,
205: KC(88), KS_Cmd1, KS_Control_R,
206: KC(25), KS_Cmd2, KS_Alt_L,
207: KC(57), KS_Cmd2, KS_Alt_R, KS_Multi_key,
208: KC(139), KS_Meta_L,
209: KC(140), KS_Meta_R,
210: };
211:
212: #if !defined(SMALL_KERNEL) || !defined(__alpha__)
213:
214: static const keysym_t gsckbd_keydesc_de[] = {
215: /* pos normal shifted altgr shift-altgr */
216: KC(14), KS_dead_circumflex,KS_dead_abovering,
217: KC(21), KS_q, KS_Q, KS_at,
218: KC(26), KS_y,
219: KC(30), KS_2, KS_quotedbl, KS_twosuperior,
220: KC(38), KS_3, KS_section, KS_threesuperior,
221: KC(53), KS_z,
222: KC(54), KS_6, KS_ampersand,
223: KC(58), KS_m, KS_M, KS_mu,
224: KC(61), KS_7, KS_slash, KS_braceleft,
225: KC(62), KS_8, KS_parenleft, KS_bracketleft,
226: KC(65), KS_comma, KS_semicolon,
227: KC(69), KS_0, KS_equal, KS_braceright,
228: KC(70), KS_9, KS_parenright, KS_bracketright,
229: KC(73), KS_period, KS_colon,
230: KC(74), KS_minus, KS_underscore,
231: KC(76), KS_odiaeresis,
232: KC(78), KS_ssharp, KS_question, KS_backslash,
233: KC(82), KS_adiaeresis,
234: KC(84), KS_udiaeresis,
235: KC(85), KS_dead_acute, KS_dead_grave,
236: KC(91), KS_plus, KS_asterisk, KS_dead_tilde,
237: KC(93), KS_numbersign, KS_apostrophe,
238: KC(97), KS_less, KS_greater, KS_bar, KS_brokenbar,
239: KC(145), KS_Mode_switch, KS_Multi_key,
240: };
241:
242: static const keysym_t gsckbd_keydesc_de_nodead[] = {
243: /* pos normal shifted altgr shift-altgr */
244: KC(14), KS_asciicircum, KS_degree,
245: KC(85), KS_apostrophe, KS_grave,
246: KC(91), KS_plus, KS_asterisk, KS_asciitilde,
247: };
248:
249: static const keysym_t gsckbd_keydesc_dk[] = {
250: /* pos normal shifted altgr shift-altgr */
251: KC(14), KS_onehalf, KS_paragraph,
252: KC(30), KS_2, KS_quotedbl, KS_at,
253: KC(37), KS_4, KS_currency, KS_dollar,
254: KC(38), KS_3, KS_numbersign, KS_sterling,
255: KC(54), KS_6, KS_ampersand,
256: KC(61), KS_7, KS_slash, KS_braceleft,
257: KC(62), KS_8, KS_parenleft, KS_bracketleft,
258: KC(65), KS_comma, KS_semicolon,
259: KC(69), KS_0, KS_equal, KS_braceright,
260: KC(70), KS_9, KS_parenright, KS_bracketright,
261: KC(73), KS_period, KS_colon,
262: KC(74), KS_minus, KS_underscore,
263: KC(76), KS_ae,
264: KC(78), KS_plus, KS_question,
265: KC(82), KS_oslash,
266: KC(84), KS_aring,
267: KC(85), KS_dead_acute, KS_dead_grave, KS_bar,
268: KC(91), KS_dead_diaeresis,KS_dead_circumflex,KS_dead_tilde,
269: KC(93), KS_apostrophe, KS_asterisk,
270: KC(97), KS_less, KS_greater, KS_backslash,
271: KC(145), KS_Mode_switch, KS_Multi_key,
272: };
273:
274: static const keysym_t gsckbd_keydesc_dk_nodead[] = {
275: /* pos normal shifted altgr shift-altgr */
276: KC(85), KS_apostrophe, KS_grave, KS_bar,
277: KC(91), KS_diaeresis, KS_asciicircum, KS_asciitilde,
278: };
279:
280: static const keysym_t gsckbd_keydesc_sv[] = {
281: /* pos normal shifted altgr shift-altgr */
282: KC(14), KS_section, KS_onehalf,
283: KC(76), KS_odiaeresis,
284: KC(78), KS_plus, KS_question, KS_backslash,
285: KC(82), KS_adiaeresis,
286: KC(91), KS_dead_diaeresis,KS_dead_circumflex,KS_dead_tilde,
287: KC(97), KS_less, KS_greater, KS_bar,
288: KC(145), KS_Mode_switch, KS_Multi_key,
289: };
290:
291: static const keysym_t gsckbd_keydesc_sv_nodead[] = {
292: /* pos normal shifted altgr shift-altgr */
293: KC(85), KS_apostrophe, KS_grave, KS_bar,
294: KC(91), KS_diaeresis, KS_asciicircum, KS_asciitilde,
295: };
296:
297: static const keysym_t gsckbd_keydesc_no[] = {
298: /* pos normal shifted altgr shift-altgr */
299: KC(14), KS_bar, KS_paragraph,
300: KC(76), KS_oslash,
301: KC(82), KS_ae,
302: KC(85), KS_backslash, KS_dead_grave, KS_dead_acute,
303: KC(91), KS_dead_diaeresis,KS_dead_circumflex,KS_dead_tilde,
304: KC(97), KS_less, KS_greater,
305: };
306:
307: static const keysym_t gsckbd_keydesc_no_nodead[] = {
308: /* pos normal shifted altgr shift-altgr */
309: KC(85), KS_backslash, KS_grave, KS_acute,
310: KC(91), KS_diaeresis, KS_asciicircum, KS_asciitilde,
311: };
312:
313: static const keysym_t gsckbd_keydesc_fr[] = {
314: /* pos normal shifted altgr shift-altgr */
315: KC(14), KS_twosuperior,
316: KC(21), KS_a,
317: KC(22), KS_ampersand, KS_1,
318: KC(26), KS_w,
319: KC(28), KS_q,
320: KC(29), KS_z,
321: KC(30), KS_eacute, KS_2, KS_asciitilde,
322: KC(37), KS_apostrophe, KS_4, KS_braceleft,
323: KC(38), KS_quotedbl, KS_3, KS_numbersign,
324: KC(46), KS_parenleft, KS_5, KS_bracketleft,
325: KC(54), KS_minus, KS_6, KS_bar,
326: KC(58), KS_comma, KS_question,
327: KC(61), KS_egrave, KS_7, KS_grave,
328: KC(62), KS_underscore, KS_8, KS_backslash,
329: KC(65), KS_semicolon, KS_period,
330: KC(69), KS_agrave, KS_0, KS_at,
331: KC(70), KS_ccedilla, KS_9, KS_asciicircum,
332: KC(73), KS_colon, KS_slash,
333: KC(74), KS_exclam, KS_section,
334: KC(76), KS_m,
335: KC(78), KS_parenright, KS_degree, KS_bracketright,
336: KC(82), KS_ugrave, KS_percent,
337: KC(84), KS_dead_circumflex,KS_dead_diaeresis,
338: KC(85), KS_equal, KS_plus, KS_braceright,
339: KC(91), KS_dollar, KS_sterling, KS_currency,
340: KC(93), KS_asterisk, KS_mu,
341: KC(97), KS_less, KS_greater,
342: KC(145), KS_Mode_switch, KS_Multi_key,
343: };
344:
345: static const keysym_t gsckbd_keydesc_it[] = {
346: /* pos normal shifted altgr shift-altgr */
347: KC(14), KS_backslash, KS_bar,
348: KC(30), KS_2, KS_quotedbl, KS_twosuperior,
349: KC(38), KS_3, KS_sterling, KS_threesuperior,
350: KC(46), KS_5, KS_percent,
351: KC(54), KS_6, KS_ampersand,
352: KC(61), KS_7, KS_slash,
353: KC(62), KS_8, KS_parenleft,
354: KC(65), KS_comma, KS_semicolon,
355: KC(69), KS_0, KS_equal,
356: KC(70), KS_9, KS_parenright,
357: KC(73), KS_period, KS_colon,
358: KC(74), KS_minus, KS_underscore,
359: KC(76), KS_ograve, KS_Ccedilla, KS_at,
360: KC(78), KS_apostrophe, KS_question,
361: KC(82), KS_agrave, KS_degree, KS_numbersign,
362: KC(84), KS_egrave, KS_eacute, KS_braceleft, KS_bracketleft,
363: KC(85), KS_igrave, KS_asciicircum,
364: KC(91), KS_plus, KS_asterisk, KS_braceright, KS_bracketright,
365: KC(93), KS_ugrave, KS_section,
366: KC(97), KS_less, KS_greater,
367: KC(145), KS_Mode_switch, KS_Multi_key,
368: };
369:
370: static const keysym_t gsckbd_keydesc_uk[] = {
371: /* pos normal shifted altgr shift-altgr */
372: KC(14), KS_grave, KS_grave, KS_agrave, KS_agrave,
373: KC(22), KS_1, KS_exclam, KS_plusminus, KS_exclamdown,
374: KC(30), KS_2, KS_quotedbl, KS_twosuperior, KS_cent,
375: KC(37), KS_4, KS_dollar, KS_acute, KS_currency,
376: KC(38), KS_3, KS_sterling, KS_threesuperior,
377: KC(46), KS_5, KS_percent, KS_mu, KS_yen,
378: KC(54), KS_6, KS_asciicircum, KS_paragraph,
379: KC(61), KS_7, KS_ampersand, KS_periodcentered,KS_brokenbar,
380: KC(62), KS_8, KS_asterisk, KS_cedilla, KS_ordfeminine,
381: KC(69), KS_0, KS_parenright, KS_masculine, KS_copyright,
382: KC(70), KS_9, KS_parenleft, KS_onesuperior, KS_diaeresis,
383: KC(78), KS_minus, KS_underscore, KS_hyphen, KS_ssharp,
384: KC(82), KS_apostrophe, KS_at, KS_section, KS_Agrave,
385: KC(85), KS_equal, KS_plus, KS_onehalf, KS_guillemotleft,
386: KC(93), KS_numbersign, KS_asciitilde, KS_sterling, KS_thorn,
387: KC(97), KS_backslash, KS_bar, KS_Udiaeresis,
388: };
389:
390: static const keysym_t gsckbd_keydesc_jp[] = {
391: /* pos normal shifted altgr shift-altgr */
392: /* initially KC(112), KS_Hiragana_Katakana, */
393: /* initially KC(115), KS_backslash, KS_underscore, */
394: /* initially KC(121), KS_Henkan, */
395: /* initially KC(123), KS_Muhenkan, */
396: /* initially KC(125), KS_backslash, KS_bar, */
397: KC(14), KS_Zenkaku_Hankaku,/*replacegrave/tilde*/
398: KC(30), KS_2, KS_quotedbl,
399: KC(54), KS_6, KS_ampersand,
400: KC(61), KS_7, KS_apostrophe,
401: KC(62), KS_8, KS_parenleft,
402: KC(69), KS_0,
403: KC(70), KS_9, KS_parenright,
404: KC(76), KS_semicolon, KS_plus,
405: KC(78), KS_minus, KS_equal,
406: KC(82), KS_colon, KS_asterisk,
407: KC(84), KS_at, KS_grave,
408: KC(85), KS_asciicircum, KS_asciitilde,
409: KC(91), KS_bracketleft, KS_braceleft,
410: KC(93), KS_bracketright,KS_braceright,
411: };
412:
413: static const keysym_t gsckbd_keydesc_es[] = {
414: /* pos normal shifted altgr shift-altgr */
415: KC(14), KS_degree, KS_ordfeminine, KS_backslash,
416: KC(22), KS_1, KS_exclam, KS_bar,
417: KC(30), KS_2, KS_quotedbl, KS_at,
418: KC(37), KS_4, KS_dollar, KS_asciitilde,
419: KC(38), KS_3, KS_periodcentered,KS_numbersign,
420: KC(54), KS_6, KS_ampersand,
421: KC(61), KS_7, KS_slash,
422: KC(62), KS_8, KS_parenleft,
423: KC(65), KS_comma, KS_semicolon,
424: KC(69), KS_0, KS_equal,
425: KC(70), KS_9, KS_parenright,
426: KC(73), KS_period, KS_colon,
427: KC(74), KS_minus, KS_underscore,
428: KC(76), KS_ntilde,
429: KC(78), KS_apostrophe, KS_question,
430: KC(82), KS_dead_acute, KS_dead_diaeresis,KS_braceleft,
431: KC(84), KS_dead_grave, KS_dead_circumflex,KS_bracketleft,
432: KC(85), KS_exclamdown, KS_questiondown,
433: KC(91), KS_plus, KS_asterisk, KS_bracketright,
434: KC(93), KS_ccedilla, KS_Ccedilla, KS_braceright,
435: KC(97), KS_less, KS_greater,
436: KC(145), KS_Mode_switch, KS_Multi_key,
437: };
438:
439: static const keysym_t gsckbd_keydesc_lt[] = {
440: /* pos normal shifted altgr shift-altgr */
441: KC(14), KS_grave, KS_asciitilde,
442: KC(21), KS_L7_aogonek, KS_L7_Aogonek,
443: KC(22), KS_exclam, KS_1, KS_at,
444: KC(29), KS_L7_zcaron, KS_L7_Zcaron,
445: KC(30), KS_minus, KS_2, KS_underscore,
446: KC(34), KS_L7_umacron, KS_L7_Umacron,
447: KC(36), KS_e, KS_E, KS_currency,
448: KC(37), KS_semicolon, KS_4, KS_dollar,
449: KC(38), KS_slash, KS_3, KS_numbersign,
450: KC(41), KS_space, KS_space, KS_nobreakspace,
451: KC(43), KS_L7_scaron, KS_L7_Scaron,
452: KC(46), KS_colon, KS_5, KS_paragraph,
453: KC(54), KS_comma, KS_6, KS_asciicircum,
454: KC(61), KS_period, KS_7, KS_ampersand,
455: KC(62), KS_equal, KS_8, KS_asterisk,
456: KC(65), KS_L7_ccaron, KS_L7_Ccaron, KS_L7_dbllow9quot,
457: KC(69), KS_bracketright,KS_0, KS_parenright,
458: KC(70), KS_bracketleft, KS_9, KS_parenleft,
459: KC(73), KS_f, KS_F, KS_L7_leftdblquot,
460: KC(74), KS_L7_eogonek, KS_L7_Eogonek, KS_backslash,
461: KC(76), KS_L7_uogonek, KS_L7_Uogonek,
462: KC(78), KS_question, KS_plus, KS_apostrophe,
463: KC(82), KS_L7_edot, KS_L7_Edot, KS_quotedbl,
464: KC(84), KS_L7_iogonek, KS_L7_Iogonek, KS_braceleft,
465: KC(85), KS_x, KS_X, KS_percent,
466: KC(91), KS_w, KS_W, KS_braceright,
467: KC(93), KS_q, KS_Q, KS_bar,
468: KC(145), KS_Mode_switch, KS_Multi_key,
469: };
470:
471: static const keysym_t gsckbd_keydesc_be[] = {
472: /* pos normal shifted altgr shift-altgr */
473: KC(14), KS_twosuperior, KS_threesuperior,
474: KC(21), KS_a,
475: KC(22), KS_ampersand, KS_1, KS_bar,
476: KC(26), KS_w,
477: KC(28), KS_q,
478: KC(29), KS_z,
479: KC(30), KS_eacute, KS_2, KS_at,
480: KC(37), KS_apostrophe, KS_4,
481: KC(38), KS_quotedbl, KS_3, KS_numbersign,
482: KC(46), KS_parenleft, KS_5,
483: KC(54), KS_section, KS_6, KS_asciicircum,
484: KC(58), KS_comma, KS_question,
485: KC(61), KS_egrave, KS_7,
486: KC(62), KS_exclam, KS_8,
487: KC(65), KS_semicolon, KS_period,
488: KC(69), KS_agrave, KS_0, KS_braceright,
489: KC(70), KS_ccedilla, KS_9, KS_braceleft,
490: KC(73), KS_colon, KS_slash,
491: KC(74), KS_equal, KS_plus, KS_asciitilde,
492: KC(76), KS_m,
493: KC(78), KS_parenright, KS_degree,
494: KC(82), KS_ugrave, KS_percent, KS_acute,
495: KC(84), KS_dead_circumflex,KS_dead_diaeresis,KS_bracketleft,
496: KC(85), KS_minus, KS_underscore,
497: KC(91), KS_dollar, KS_asterisk, KS_bracketright,
498: KC(93), KS_mu, KS_sterling, KS_grave,
499: KC(97), KS_less, KS_greater, KS_backslash,
500: KC(145), KS_Mode_switch, KS_Multi_key,
501: };
502:
503:
504: static const keysym_t gsckbd_keydesc_us_dvorak[] = {
505: /* pos command normal shifted */
506: KC(21), KS_apostrophe, KS_quotedbl,
507: KC(26), KS_semicolon, KS_colon,
508: KC(27), KS_o,
509: KC(29), KS_comma, KS_less,
510: KC(33), KS_j,
511: KC(34), KS_q,
512: KC(35), KS_e,
513: KC(36), KS_period, KS_greater,
514: KC(42), KS_k,
515: KC(43), KS_u,
516: KC(44), KS_y,
517: KC(45), KS_p,
518: KC(49), KS_b,
519: KC(50), KS_x,
520: KC(51), KS_d,
521: KC(52), KS_i,
522: KC(53), KS_f,
523: KC(59), KS_h,
524: KC(60), KS_g,
525: KC(65), KS_w,
526: KC(66), KS_t,
527: KC(67), KS_c,
528: KC(68), KS_r,
529: KC(73), KS_v,
530: KC(74), KS_z,
531: KC(75), KS_n,
532: KC(76), KS_s,
533: KC(77), KS_l,
534: KC(78), KS_bracketleft, KS_braceleft,
535: KC(82), KS_minus, KS_underscore,
536: KC(84), KS_slash, KS_question,
537: KC(85), KS_bracketright,KS_braceright,
538: KC(91), KS_equal, KS_plus,
539: };
540:
541: static const keysym_t gsckbd_keydesc_swapctrlcaps[] = {
542: /* pos command normal shifted */
543: KC(20), KS_Caps_Lock,
544: KC(88), KS_Cmd1, KS_Control_L,
545: };
546:
547: static const keysym_t gsckbd_keydesc_iopener[] = {
548: /* pos command normal shifted */
549: KC(1), KS_Cmd_Screen7, KS_f8,
550: KC(3), KS_Cmd_Screen3, KS_f4,
551: KC(4), KS_Cmd_Screen1, KS_f2,
552: KC(5), KS_Cmd_Debugger,KS_Escape,
553: KC(6), KS_Cmd_Screen0, KS_f1,
554: KC(7), KS_f11,
555: KC(9), KS_Cmd_Screen8, KS_f9,
556: KC(10), KS_Cmd_Screen6, KS_f7,
557: KC(11), KS_Cmd_Screen4, KS_f5,
558: KC(12), KS_Cmd_Screen2, KS_f3,
559: KC(120), KS_Cmd_Screen9, KS_f10,
560: KC(131), KS_Cmd_Screen5, KS_f6,
561: };
562:
563: static const keysym_t gsckbd_keydesc_ru[] = {
564: /* pos normal shifted altgr shift-altgr */
565: KC(21), KS_q, KS_Q, KS_Cyrillic_ishort,KS_Cyrillic_ISHORT,
566: KC(26), KS_z, KS_Z, KS_Cyrillic_ya, KS_Cyrillic_YA,
567: KC(27), KS_s, KS_S, KS_Cyrillic_yeru,KS_Cyrillic_YERU,
568: KC(28), KS_a, KS_A, KS_Cyrillic_ef, KS_Cyrillic_EF,
569: KC(29), KS_w, KS_W, KS_Cyrillic_tse,KS_Cyrillic_TSE,
570: KC(33), KS_c, KS_C, KS_Cyrillic_es, KS_Cyrillic_ES,
571: KC(34), KS_x, KS_X, KS_Cyrillic_che,KS_Cyrillic_CHE,
572: KC(35), KS_d, KS_D, KS_Cyrillic_ve, KS_Cyrillic_VE,
573: KC(36), KS_e, KS_E, KS_Cyrillic_u, KS_Cyrillic_U,
574: KC(42), KS_v, KS_V, KS_Cyrillic_em, KS_Cyrillic_EM,
575: KC(43), KS_f, KS_F, KS_Cyrillic_a, KS_Cyrillic_A,
576: KC(44), KS_t, KS_T, KS_Cyrillic_ie, KS_Cyrillic_IE,
577: KC(45), KS_r, KS_R, KS_Cyrillic_ka, KS_Cyrillic_KA,
578: KC(49), KS_n, KS_N, KS_Cyrillic_te, KS_Cyrillic_TE,
579: KC(50), KS_b, KS_B, KS_Cyrillic_i, KS_Cyrillic_I,
580: KC(51), KS_h, KS_H, KS_Cyrillic_er, KS_Cyrillic_ER,
581: KC(52), KS_g, KS_G, KS_Cyrillic_pe, KS_Cyrillic_PE,
582: KC(53), KS_y, KS_Y, KS_Cyrillic_en, KS_Cyrillic_EN,
583: KC(54), KS_6, KS_asciicircum, KS_6, KS_comma,
584: KC(58), KS_m, KS_M, KS_Cyrillic_ssighn,KS_Cyrillic_SSIGHN,
585: KC(59), KS_j, KS_J, KS_Cyrillic_o, KS_Cyrillic_O,
586: KC(60), KS_u, KS_U, KS_Cyrillic_ge, KS_Cyrillic_GE,
587: KC(61), KS_7, KS_ampersand, KS_7, KS_period,
588: KC(65), KS_comma, KS_less, KS_Cyrillic_be, KS_Cyrillic_BE,
589: KC(66), KS_k, KS_K, KS_Cyrillic_el, KS_Cyrillic_EL,
590: KC(67), KS_i, KS_I, KS_Cyrillic_sha,KS_Cyrillic_SHA,
591: KC(68), KS_o, KS_O, KS_Cyrillic_scha,KS_Cyrillic_SCHA,
592: KC(73), KS_period, KS_greater, KS_Cyrillic_yu, KS_Cyrillic_YU,
593: KC(74), KS_slash, KS_question, KS_Cyrillic_yo, KS_Cyrillic_YO,
594: KC(75), KS_l, KS_L, KS_Cyrillic_de, KS_Cyrillic_DE,
595: KC(76), KS_semicolon, KS_colon, KS_Cyrillic_zhe,KS_Cyrillic_ZHE,
596: KC(77), KS_p, KS_P, KS_Cyrillic_ze, KS_Cyrillic_ZE,
597: KC(82), KS_apostrophe, KS_quotedbl, KS_Cyrillic_e, KS_Cyrillic_E,
598: KC(84), KS_bracketleft, KS_braceleft, KS_Cyrillic_ha, KS_Cyrillic_HA,
599: KC(91), KS_bracketright,KS_braceright, KS_Cyrillic_hsighn,KS_Cyrillic_HSIGHN,
600: KC(145), KS_Mode_switch, KS_Multi_key,
601: };
602:
603: static const keysym_t gsckbd_keydesc_ua[] = {
604: /* pos normal shifted altgr shift-altgr */
605: KC(14), KS_grave, KS_asciitilde, KS_Cyrillic_gheukr,KS_Cyrillic_GHEUKR,
606: KC(21), KS_q, KS_Q, KS_Cyrillic_ishort,KS_Cyrillic_ISHORT,
607: KC(26), KS_z, KS_Z, KS_Cyrillic_ya, KS_Cyrillic_YA,
608: KC(27), KS_s, KS_S, KS_Cyrillic_yeru,KS_Cyrillic_YERU,
609: KC(28), KS_a, KS_A, KS_Cyrillic_ef, KS_Cyrillic_EF,
610: KC(29), KS_w, KS_W, KS_Cyrillic_tse,KS_Cyrillic_TSE,
611: KC(33), KS_c, KS_C, KS_Cyrillic_es, KS_Cyrillic_ES,
612: KC(34), KS_x, KS_X, KS_Cyrillic_che,KS_Cyrillic_CHE,
613: KC(35), KS_d, KS_D, KS_Cyrillic_ve, KS_Cyrillic_VE,
614: KC(36), KS_e, KS_E, KS_Cyrillic_u, KS_Cyrillic_U,
615: KC(42), KS_v, KS_V, KS_Cyrillic_em, KS_Cyrillic_EM,
616: KC(43), KS_f, KS_F, KS_Cyrillic_a, KS_Cyrillic_A,
617: KC(44), KS_t, KS_T, KS_Cyrillic_ie, KS_Cyrillic_IE,
618: KC(45), KS_r, KS_R, KS_Cyrillic_ka, KS_Cyrillic_KA,
619: KC(49), KS_n, KS_N, KS_Cyrillic_te, KS_Cyrillic_TE,
620: KC(50), KS_b, KS_B, KS_Cyrillic_i, KS_Cyrillic_I,
621: KC(51), KS_h, KS_H, KS_Cyrillic_er, KS_Cyrillic_ER,
622: KC(52), KS_g, KS_G, KS_Cyrillic_pe, KS_Cyrillic_PE,
623: KC(53), KS_y, KS_Y, KS_Cyrillic_en, KS_Cyrillic_EN,
624: KC(54), KS_6, KS_asciicircum, KS_6, KS_comma,
625: KC(58), KS_m, KS_M, KS_Cyrillic_ssighn,KS_Cyrillic_SSIGHN,
626: KC(59), KS_j, KS_J, KS_Cyrillic_o, KS_Cyrillic_O,
627: KC(60), KS_u, KS_U, KS_Cyrillic_ge, KS_Cyrillic_GE,
628: KC(61), KS_7, KS_ampersand, KS_7, KS_period,
629: KC(65), KS_comma, KS_less, KS_Cyrillic_be, KS_Cyrillic_BE,
630: KC(66), KS_k, KS_K, KS_Cyrillic_el, KS_Cyrillic_EL,
631: KC(67), KS_i, KS_I, KS_Cyrillic_sha,KS_Cyrillic_SHA,
632: KC(68), KS_o, KS_O, KS_Cyrillic_scha,KS_Cyrillic_SCHA,
633: KC(73), KS_period, KS_greater, KS_Cyrillic_yu, KS_Cyrillic_YU,
634: KC(74), KS_slash, KS_question, KS_Cyrillic_yo, KS_Cyrillic_YO,
635: KC(75), KS_l, KS_L, KS_Cyrillic_de, KS_Cyrillic_DE,
636: KC(76), KS_semicolon, KS_colon, KS_Cyrillic_zhe,KS_Cyrillic_ZHE,
637: KC(77), KS_p, KS_P, KS_Cyrillic_ze, KS_Cyrillic_ZE,
638: KC(78), KS_minus, KS_underscore, KS_Cyrillic_iukr,KS_Cyrillic_IUKR,
639: KC(82), KS_apostrophe, KS_quotedbl, KS_Cyrillic_e, KS_Cyrillic_E,
640: KC(84), KS_bracketleft, KS_braceleft, KS_Cyrillic_ha, KS_Cyrillic_HA,
641: KC(85), KS_equal, KS_plus, KS_Cyrillic_yeukr,KS_Cyrillic_YEUKR,
642: KC(91), KS_bracketright,KS_braceright, KS_Cyrillic_hsighn,KS_Cyrillic_HSIGHN,
643: KC(93), KS_backslash, KS_bar, KS_Cyrillic_yi, KS_Cyrillic_YI,
644: KC(145), KS_Mode_switch, KS_Multi_key,
645: };
646:
647: static const keysym_t gsckbd_keydesc_sg[] = {
648: /* pos normal shifted altgr shift-altgr */
649: KC(14), KS_section, KS_degree, KS_dead_abovering,
650: KC(22), KS_1, KS_plus, KS_bar,
651: KC(26), KS_y,
652: KC(30), KS_2, KS_quotedbl, KS_at,
653: KC(36), KS_e, KS_E, KS_currency,
654: KC(37), KS_4, KS_ccedilla,
655: KC(38), KS_3, KS_asterisk, KS_numbersign,
656: KC(53), KS_z,
657: KC(54), KS_6, KS_ampersand, KS_notsign,
658: KC(61), KS_7, KS_slash, KS_brokenbar,
659: KC(62), KS_8, KS_parenleft, KS_cent,
660: KC(65), KS_comma, KS_semicolon,
661: KC(69), KS_0, KS_equal,
662: KC(70), KS_9, KS_parenright,
663: KC(73), KS_period, KS_colon,
664: KC(74), KS_minus, KS_underscore,
665: KC(76), KS_odiaeresis, KS_eacute,
666: KC(78), KS_apostrophe, KS_question, KS_dead_acute,
667: KC(82), KS_adiaeresis, KS_agrave, KS_braceleft,
668: KC(84), KS_udiaeresis, KS_egrave, KS_bracketleft,
669: KC(85), KS_dead_circumflex,KS_dead_grave,KS_dead_tilde,
670: KC(91), KS_dead_diaeresis,KS_exclam, KS_bracketright,
671: KC(93), KS_dollar, KS_sterling, KS_braceright,
672: KC(97), KS_less, KS_greater, KS_backslash,
673: KC(145), KS_Mode_switch, KS_Multi_key,
674: };
675:
676: static const keysym_t gsckbd_keydesc_sg_nodead[] = {
677: /* pos normal shifted altgr shift-altgr */
678: KC(78), KS_apostrophe, KS_question, KS_acute,
679: KC(85), KS_asciicircum, KS_grave, KS_asciitilde,
680: KC(91), KS_diaeresis, KS_exclam, KS_bracketright,
681: };
682:
683: static const keysym_t gsckbd_keydesc_sf[] = {
684: /* pos normal shifted altgr shift-altgr */
685: KC(76), KS_eacute, KS_odiaeresis,
686: KC(82), KS_agrave, KS_adiaeresis, KS_braceleft,
687: KC(84), KS_egrave, KS_udiaeresis, KS_bracketleft,
688: };
689:
690: static const keysym_t gsckbd_keydesc_pt[] = {
691: /* pos normal shifted altgr shift-altgr */
692: KC(14), KS_backslash, KS_bar,
693: KC(30), KS_2, KS_quotedbl, KS_at,
694: KC(38), KS_3, KS_numbersign, KS_sterling,
695: KC(54), KS_6, KS_ampersand,
696: KC(61), KS_7, KS_slash, KS_braceleft,
697: KC(62), KS_8, KS_parenleft, KS_bracketleft,
698: KC(65), KS_comma, KS_semicolon,
699: KC(69), KS_0, KS_equal, KS_braceright,
700: KC(70), KS_9, KS_parenright, KS_bracketright,
701: KC(73), KS_period, KS_colon,
702: KC(74), KS_minus, KS_underscore,
703: KC(76), KS_ccedilla, KS_Ccedilla,
704: KC(78), KS_apostrophe, KS_question,
705: KC(82), KS_masculine, KS_ordfeminine,
706: KC(84), KS_plus, KS_asterisk,
707: KC(85), KS_less, KS_greater,
708: KC(91), KS_dead_acute, KS_dead_grave,
709: KC(93), KS_dead_tilde, KS_dead_circumflex,
710: KC(97), KS_less, KS_greater,
711: KC(145), KS_Mode_switch, KS_Multi_key,
712: };
713:
714: static const keysym_t gsckbd_keydesc_la[] = {
715: /* pos normal shifted altgr shift-altgr */
716: KC(14), KS_bar, KS_degree, KS_notsign,
717: KC(21), KS_q, KS_Q, KS_at,
718: KC(22), KS_1, KS_exclam,
719: KC(30), KS_2, KS_quotedbl,
720: KC(38), KS_3, KS_numbersign,
721: KC(54), KS_6, KS_ampersand,
722: KC(61), KS_7, KS_slash,
723: KC(62), KS_8, KS_parenleft,
724: KC(65), KS_comma, KS_semicolon,
725: KC(69), KS_0, KS_equal,
726: KC(70), KS_9, KS_parenright,
727: KC(73), KS_period, KS_colon,
728: KC(74), KS_minus, KS_underscore,
729: KC(76), KS_ntilde,
730: KC(78), KS_apostrophe, KS_question, KS_backslash,
731: KC(82), KS_braceleft, KS_bracketleft, KS_dead_circumflex,
732: KC(84), KS_dead_acute, KS_dead_diaeresis,
733: KC(85), KS_questiondown,KS_exclamdown,
734: KC(91), KS_plus, KS_asterisk, KS_asciitilde,
735: KC(93), KS_braceright, KS_bracketright,KS_dead_grave,
736: KC(97), KS_less, KS_greater,
737: KC(145), KS_Mode_switch, KS_Multi_key,
738: };
739:
740: static const keysym_t gsckbd_keydesc_br[] = {
741: /* pos normal shifted altgr shift-altgr */
742: /* initially KC(115), KS_slash, KS_question, KS_degree, */
743: KC(14), KS_apostrophe, KS_quotedbl,
744: KC(22), KS_1, KS_exclam, KS_onesuperior,
745: KC(30), KS_2, KS_at, KS_twosuperior,
746: KC(37), KS_4, KS_dollar, KS_sterling,
747: KC(38), KS_3, KS_numbersign, KS_threesuperior,
748: KC(46), KS_5, KS_percent, KS_cent,
749: KC(54), KS_6, KS_dead_diaeresis,KS_notsign,
750: KC(74), KS_semicolon, KS_colon,
751: KC(76), KS_ccedilla, KS_Ccedilla,
752: KC(82), KS_dead_tilde, KS_dead_circumflex,
753: KC(84), KS_dead_acute, KS_dead_grave,
754: KC(85), KS_equal, KS_plus, KS_section,
755: KC(91), KS_bracketleft, KS_braceleft, KS_ordfeminine,
756: KC(93), KS_bracketright,KS_braceright, KS_masculine,
757: KC(97), KS_backslash, KS_bar,
758: KC(113), KS_KP_Delete, KS_KP_Decimal,
759: };
760:
761: static const keysym_t gsckbd_keydesc_tr[] = {
762: /* pos normal shifted altgr shift-altgr */
763: KC(14), KS_quotedbl, KS_eacute,
764: KC(21), KS_q, KS_Q, KS_at,
765: KC(30), KS_2, KS_apostrophe, KS_sterling,
766: KC(37), KS_4, KS_plus, KS_dollar,
767: KC(38), KS_3, KS_asciicircum, KS_numbersign,
768: KC(46), KS_5, KS_percent, KS_onehalf,
769: KC(54), KS_6, KS_ampersand,
770: KC(61), KS_7, KS_slash, KS_braceleft,
771: KC(62), KS_8, KS_parenleft, KS_bracketleft,
772: KC(65), KS_odiaeresis, KS_Odiaeresis,
773: KC(67), KS_L5_idotless, KS_I,
774: KC(69), KS_0, KS_equal, KS_braceright,
775: KC(70), KS_9, KS_parenright, KS_bracketright,
776: KC(73), KS_ccedilla, KS_Ccedilla,
777: KC(74), KS_period, KS_colon,
778: KC(76), KS_L5_scedilla, KS_L5_Scedilla, KS_dead_acute,
779: KC(78), KS_asterisk, KS_question, KS_backslash,
780: KC(82), KS_i, KS_L5_Idotabove,
781: KC(84), KS_L5_gbreve, KS_L5_Gbreve, KS_dead_diaeresis,
782: KC(85), KS_minus, KS_underscore,
783: KC(91), KS_udiaeresis, KS_Udiaeresis, KS_asciitilde,
784: KC(93), KS_comma, KS_semicolon, KS_dead_grave,
785: KC(97), KS_less, KS_greater, KS_bar,
786: KC(145), KS_Mode_switch, KS_Multi_key,
787: };
788:
789: static const keysym_t gsckbd_keydesc_tr_nodead[] = {
790: /* pos normal shifted altgr shift-altgr */
791: KC(76), KS_L5_scedilla, KS_L5_Scedilla, KS_apostrophe,
792: KC(84), KS_L5_gbreve, KS_L5_Gbreve,
793: KC(93), KS_comma, KS_semicolon, KS_grave,
794: };
795:
796: static const keysym_t gsckbd_keydesc_pl[] = {
797: /* pos normal shifted altgr shift-altgr */
798: KC(26), KS_z, KS_Z, KS_L2_zdotabove,KS_L2_Zdotabove,
799: KC(27), KS_s, KS_S, KS_L2_sacute, KS_L2_Sacute,
800: KC(28), KS_a, KS_A, KS_L2_aogonek, KS_L2_Aogonek,
801: KC(33), KS_c, KS_C, KS_L2_cacute, KS_L2_Cacute,
802: KC(34), KS_x, KS_X, KS_L2_zacute, KS_L2_Zacute,
803: KC(36), KS_e, KS_E, KS_L2_eogonek, KS_L2_Eogonek,
804: KC(49), KS_n, KS_N, KS_L2_nacute, KS_L2_Nacute,
805: KC(68), KS_o, KS_O, KS_oacute, KS_Oacute,
806: KC(75), KS_l, KS_L, KS_L2_lstroke, KS_L2_Lstroke,
807: KC(145), KS_Mode_switch, KS_Multi_key,
808: };
809:
810: static const keysym_t gsckbd_keydesc_hu[] = {
811: /* pos normal shifted altgr shift-altgr */
812: KC(14), KS_0, KS_section,
813: KC(21), KS_q, KS_Q, KS_backslash,
814: KC(22), KS_1, KS_apostrophe, KS_asciitilde,
815: KC(26), KS_y, KS_Y, KS_greater,
816: KC(29), KS_w, KS_W,KS_bar,
817: KC(30), KS_2, KS_quotedbl,
818: KC(33), KS_c, KS_C, KS_ampersand,
819: KC(34), KS_x, KS_X, KS_numbersign,
820: KC(37), KS_4, KS_exclam,
821: KC(38), KS_3, KS_plus, KS_asciicircum,
822: KC(42), KS_v, KS_V, KS_at,
823: KC(43), KS_f, KS_F, KS_bracketleft,
824: KC(46), KS_5, KS_percent,
825: KC(49), KS_n, KS_N, KS_braceright,
826: KC(50), KS_b, KS_B, KS_braceleft,
827: KC(52), KS_g, KS_G, KS_bracketright,
828: KC(53), KS_z, KS_Z,
829: KC(54), KS_6, KS_slash,
830: KC(59), KS_j, KS_J, KS_iacute,
831: KC(61), KS_7, KS_equal,KS_grave,
832: KC(62), KS_8, KS_parenleft,
833: KC(65), KS_comma, KS_question, KS_semicolon,
834: KC(67), KS_i, KS_I, KS_iacute,
835: KC(69), KS_odiaeresis, KS_Odiaeresis,
836: KC(70), KS_9, KS_parenright, KS_acute,
837: KC(73), KS_period, KS_colon,
838: KC(74), KS_minus, KS_underscore, KS_asterisk,
839: KC(76), KS_eacute, KS_Eacute, KS_dollar,
840: KC(78), KS_udiaeresis, KS_Udiaeresis,
841: KC(82), KS_aacute, KS_Aacute, KS_ssharp,
842: KC(84), KS_odoubleacute,KS_Odoubleacute,KS_division,
843: KC(85), KS_oacute, KS_Oacute,
844: KC(91), KS_uacute, KS_Uacute, KS_multiply,
845: KC(93), KS_udoubleacute,KS_Udoubleacute,KS_currency,
846: KC(97), KS_iacute, KS_Iacute, KS_less,
847: KC(145), KS_Mode_switch, KS_Multi_key,
848: };
849:
850: static const keysym_t gsckbd_keydesc_si[]=
851: {
852: /* pos normal shifted altgr shift-altgr */
853: KC(14), KS_cedilla, KS_diaeresis,
854: KC(21), KS_q, KS_Q, KS_backslash,
855: KC(22), KS_1, KS_exclam, KS_asciitilde,
856: KC(26), KS_y, KS_Y,
857: KC(29), KS_w, KS_W, KS_bar,
858: KC(30), KS_2, KS_quotedbl, KS_L2_caron,
859: KC(37), KS_4, KS_dollar, KS_L2_breve,
860: KC(38), KS_3, KS_numbersign, KS_asciicircum,
861: KC(42), KS_v, KS_V, KS_at,
862: KC(43), KS_f, KS_F, KS_bracketleft,
863: KC(46), KS_5, KS_percent, KS_degree,
864: KC(49), KS_n, KS_N, KS_braceright,
865: KC(50), KS_b, KS_B, KS_braceleft,
866: KC(52), KS_g, KS_G, KS_bracketright,
867: KC(53), KS_z, KS_Z,
868: KC(54), KS_6, KS_ampersand, KS_L2_ogonek,
869: KC(58), KS_m, KS_M, KS_section,
870: KC(61), KS_7, KS_slash, KS_grave,
871: KC(62), KS_8, KS_parenleft, KS_L2_dotabove,
872: KC(65), KS_comma, KS_semicolon,
873: KC(66), KS_k, KS_K, KS_L2_lstroke,
874: KC(69), KS_0, KS_equal, KS_L2_dblacute,
875: KC(70), KS_9, KS_parenright, KS_acute,
876: KC(73), KS_period, KS_colon,
877: KC(74), KS_minus, KS_underscore,
878: KC(75), KS_l, KS_L, KS_L2_Lstroke,
879: KC(76), KS_L2_ccaron, KS_L2_Ccaron,
880: KC(78), KS_apostrophe, KS_question, KS_diaeresis,
881: KC(82), KS_L2_cacute, KS_L2_Cacute, KS_ssharp,
882: KC(84), KS_L2_scaron, KS_L2_Scaron, KS_division,
883: KC(85), KS_plus, KS_asterisk, KS_cedilla,
884: KC(91), KS_L2_dstroke, KS_L2_Dstroke, KS_multiply,
885: KC(93), KS_L2_zcaron, KS_L2_Zcaron, KS_currency,
886: KC(97), KS_less, KS_greater,
887: KC(145), KS_Mode_switch, KS_Multi_key,
888: };
889:
890: static const keysym_t gsckbd_keydesc_cf[] = {
891: /* pos normal shifted altgr shift-altgr */
892: KC(14), KS_numbersign, KS_bar, KS_backslash,
893: KC(22), KS_1, KS_exclam, KS_plusminus,
894: KC(30), KS_2, KS_quotedbl, KS_at,
895: KC(37), KS_4, KS_dollar, KS_cent,
896: KC(38), KS_3, KS_slash, KS_sterling,
897: KC(46), KS_5, KS_percent, KS_diaeresis,
898: KC(54), KS_6, KS_question, KS_macron,
899: KC(58), KS_m, KS_M, KS_mu,
900: KC(61), KS_7, KS_ampersand, KS_brokenbar,
901: KC(62), KS_8, KS_asterisk, KS_twosuperior,
902: KC(65), KS_comma, KS_apostrophe, KS_hyphen,
903: KC(68), KS_o, KS_O, KS_section,
904: KC(69), KS_0, KS_parenright, KS_onequarter,
905: KC(70), KS_9, KS_parenleft, KS_threesuperior,
906: KC(73), KS_period, KS_period,
907: KC(74), KS_eacute, KS_Eacute, KS_dead_acute,
908: KC(76), KS_semicolon, KS_colon, KS_asciitilde,
909: KC(77), KS_p, KS_P, KS_paragraph,
910: KC(78), KS_minus, KS_underscore, KS_onehalf,
911: KC(82), KS_dead_grave, KS_dead_grave, KS_braceleft,
912: KC(84), KS_dead_circumflex,KS_dead_circumflex,KS_bracketleft,
913: KC(85), KS_equal, KS_plus, KS_threequarters,
914: KC(91), KS_dead_cedilla,KS_dead_diaeresis,KS_bracketright,
915: KC(93), KS_less, KS_greater, KS_braceright,
916: KC(97), KS_guillemotleft,KS_guillemotright,KS_degree,
917: KC(145), KS_Mode_switch,KS_Multi_key,
918: };
919:
920: static const keysym_t gsckbd_keydesc_cf_nodead[] = {
921: /* pos normal shifted altgr shift-altgr */
922: KC(74), KS_eacute, KS_Eacute, KS_acute,
923: KC(82), KS_grave, KS_grave, KS_braceleft,
924: KC(84), KS_asciicircum,KS_asciicircum,KS_bracketleft,
925: KC(91), KS_cedilla, KS_diaeresis, KS_bracketright,
926: };
927:
928: static const keysym_t gsckbd_keydesc_lv[] = {
929: /* pos normal shifted altgr shift-altgr */
930: KC(26), KS_z, KS_Z, KS_L7_zcaron, KS_L7_Zcaron,
931: KC(27), KS_s, KS_S, KS_L7_scaron, KS_L7_Scaron,
932: KC(28), KS_a, KS_A, KS_L7_amacron, KS_L7_Amacron,
933: KC(33), KS_c, KS_C, KS_L7_ccaron, KS_L7_Ccaron,
934: KC(36), KS_e, KS_E, KS_L7_emacron, KS_L7_Emacron,
935: KC(49), KS_n, KS_N, KS_L7_ncedilla, KS_L7_Ncedilla,
936: KC(52), KS_g, KS_G, KS_L7_gcedilla, KS_L7_Gcedilla,
937: KC(60), KS_u, KS_U, KS_L7_umacron, KS_L7_Umacron,
938: KC(66), KS_k, KS_K, KS_L7_kcedilla, KS_L7_Kcedilla,
939: KC(67), KS_i, KS_I, KS_L7_imacron, KS_L7_Imacron,
940: KC(68), KS_o, KS_O, KS_L7_omacron, KS_L7_Omacron,
941: KC(75), KS_l, KS_L, KS_L7_lcedilla, KS_L7_Lcedilla,
942: KC(145), KS_Mode_switch, KS_Multi_key,
943: };
944:
945: static const keysym_t gsckbd_keydesc_nl[] = {
946: /* pos normal shifted altgr shift-altgr */
947: KC(14), KS_at, KS_section, KS_notsign,
948: KC(22), KS_1, KS_exclam, KS_onesuperior,
949: KC(26), KS_z, KS_Z, KS_guillemotleft,
950: KC(27), KS_s, KS_S, KS_ssharp,
951: KC(30), KS_2, KS_quotedbl, KS_twosuperior,
952: KC(33), KS_c, KS_C, KS_cent,
953: KC(34), KS_x, KS_X, KS_guillemotright,
954: KC(37), KS_4, KS_dollar, KS_onequarter,
955: KC(38), KS_3, KS_numbersign, KS_threesuperior,
956: KC(45), KS_r, KS_R, KS_paragraph,
957: KC(46), KS_5, KS_percent, KS_onehalf,
958: KC(54), KS_6, KS_ampersand, KS_threequarters,
959: KC(58), KS_m, KS_M, KS_mu,
960: KC(61), KS_7, KS_underscore, KS_sterling,
961: KC(62), KS_8, KS_parenleft, KS_braceleft,
962: KC(65), KS_comma, KS_semicolon,
963: KC(69), KS_0, KS_apostrophe,
964: KC(70), KS_9, KS_parenright, KS_braceright,
965: KC(73), KS_period, KS_colon, KS_periodcentered,
966: KC(74), KS_minus, KS_equal,
967: KC(76), KS_plus, KS_plusminus,
968: KC(78), KS_slash, KS_question, KS_backslash,
969: KC(82), KS_dead_acute, KS_dead_grave,
970: KC(84), KS_dead_diaeresis,KS_dead_circumflex,
971: KC(85), KS_degree, KS_dead_tilde, KS_dead_cedilla,
972: KC(91), KS_asterisk, KS_bar,
973: KC(93), KS_less, KS_greater,
974: KC(97), KS_bracketright,KS_bracketleft, KS_brokenbar,
975: KC(145), KS_Mode_switch, KS_Multi_key,
976: };
977:
978: static const keysym_t gsckbd_keydesc_nl_nodead[] = {
979: /* pos normal shifted altgr shift-altgr */
980: KC(82), KS_apostrophe, KS_grave,
981: KC(84), KS_quotedbl, KS_asciicircum,
982: KC(85), KS_degree, KS_asciitilde, KS_cedilla,
983: };
984:
985: #endif /* SMALL_KERNEL */
986:
987: #define KBD_MAP(name, base, map) \
988: { name, base, sizeof(map)/sizeof(keysym_t), map }
989:
990: const struct wscons_keydesc gsckbd_keydesctab[] = {
991: KBD_MAP(KB_US, 0, gsckbd_keydesc_us),
992: #if !defined(SMALL_KERNEL) || !defined(__alpha__)
993: KBD_MAP(KB_DE, KB_US, gsckbd_keydesc_de),
994: KBD_MAP(KB_DE | KB_NODEAD, KB_DE, gsckbd_keydesc_de_nodead),
995: KBD_MAP(KB_FR, KB_US, gsckbd_keydesc_fr),
996: KBD_MAP(KB_DK, KB_US, gsckbd_keydesc_dk),
997: KBD_MAP(KB_DK | KB_NODEAD, KB_DK, gsckbd_keydesc_dk_nodead),
998: KBD_MAP(KB_IT, KB_US, gsckbd_keydesc_it),
999: KBD_MAP(KB_UK, KB_US, gsckbd_keydesc_uk),
1000: KBD_MAP(KB_JP, KB_US, gsckbd_keydesc_jp),
1001: KBD_MAP(KB_SV, KB_DK, gsckbd_keydesc_sv),
1002: KBD_MAP(KB_SV | KB_NODEAD, KB_SV, gsckbd_keydesc_sv_nodead),
1003: KBD_MAP(KB_NO, KB_DK, gsckbd_keydesc_no),
1004: KBD_MAP(KB_NO | KB_NODEAD, KB_NO, gsckbd_keydesc_no_nodead),
1005: KBD_MAP(KB_US | KB_DVORAK, KB_US, gsckbd_keydesc_us_dvorak),
1006: KBD_MAP(KB_US | KB_SWAPCTRLCAPS, KB_US, gsckbd_keydesc_swapctrlcaps),
1007: KBD_MAP(KB_US | KB_IOPENER, KB_US, gsckbd_keydesc_iopener),
1008: KBD_MAP(KB_JP | KB_SWAPCTRLCAPS, KB_JP, gsckbd_keydesc_swapctrlcaps),
1009: KBD_MAP(KB_FR | KB_SWAPCTRLCAPS, KB_FR, gsckbd_keydesc_swapctrlcaps),
1010: KBD_MAP(KB_BE | KB_SWAPCTRLCAPS, KB_BE, gsckbd_keydesc_swapctrlcaps),
1011: KBD_MAP(KB_US | KB_DVORAK | KB_SWAPCTRLCAPS, KB_US | KB_DVORAK,
1012: gsckbd_keydesc_swapctrlcaps),
1013: KBD_MAP(KB_US | KB_IOPENER | KB_SWAPCTRLCAPS, KB_US | KB_IOPENER,
1014: gsckbd_keydesc_swapctrlcaps),
1015: KBD_MAP(KB_ES, KB_US, gsckbd_keydesc_es),
1016: KBD_MAP(KB_BE, KB_US, gsckbd_keydesc_be),
1017: KBD_MAP(KB_RU, KB_US, gsckbd_keydesc_ru),
1018: KBD_MAP(KB_UA, KB_US, gsckbd_keydesc_ua),
1019: KBD_MAP(KB_SG, KB_US, gsckbd_keydesc_sg),
1020: KBD_MAP(KB_SG | KB_NODEAD, KB_SG, gsckbd_keydesc_sg_nodead),
1021: KBD_MAP(KB_SF, KB_SG, gsckbd_keydesc_sf),
1022: KBD_MAP(KB_SF | KB_NODEAD, KB_SF, gsckbd_keydesc_sg_nodead),
1023: KBD_MAP(KB_PT, KB_US, gsckbd_keydesc_pt),
1024: KBD_MAP(KB_LT, KB_US, gsckbd_keydesc_lt),
1025: KBD_MAP(KB_LA, KB_US, gsckbd_keydesc_la),
1026: KBD_MAP(KB_BR, KB_US, gsckbd_keydesc_br),
1027: KBD_MAP(KB_TR, KB_US, gsckbd_keydesc_tr),
1028: KBD_MAP(KB_TR | KB_NODEAD, KB_TR, gsckbd_keydesc_tr_nodead),
1029: KBD_MAP(KB_PL, KB_US, gsckbd_keydesc_pl),
1030: KBD_MAP(KB_HU, KB_US, gsckbd_keydesc_hu),
1031: KBD_MAP(KB_SI, KB_US, gsckbd_keydesc_si),
1032: KBD_MAP(KB_CF, KB_US, gsckbd_keydesc_cf),
1033: KBD_MAP(KB_CF | KB_NODEAD, KB_CF, gsckbd_keydesc_cf_nodead),
1034: KBD_MAP(KB_LV, KB_US, gsckbd_keydesc_lv),
1035: KBD_MAP(KB_NL, KB_US, gsckbd_keydesc_nl),
1036: KBD_MAP(KB_NL | KB_NODEAD, KB_NL, gsckbd_keydesc_nl_nodead),
1037: #endif /* SMALL_KERNEL */
1038: KBD_MAP(KB_US | KB_MACHDEP, KB_US, gsckbd_keydesc_precisionbook),
1039: {0, 0, 0, 0}
1040: };
1041:
1042: #undef KBD_MAP
1043: #undef KC
CVSweb