Home | History | Annotate | Line # | Download | only in dev
akbdmap.h revision 1.2.22.1
      1  1.2.22.1    tron /*	$NetBSD: akbdmap.h,v 1.2.22.1 2003/06/02 14:42:32 tron Exp $	*/
      2       1.2  scottr 
      3       1.2  scottr /*-
      4       1.2  scottr  * Copyright (c) 1997 The NetBSD Foundation, Inc.
      5       1.2  scottr  * All rights reserved.
      6       1.2  scottr  *
      7       1.2  scottr  * This code is derived from software contributed to The NetBSD Foundation
      8       1.2  scottr  * by Juergen Hannken-Illjes.
      9       1.2  scottr  *
     10       1.2  scottr  * Redistribution and use in source and binary forms, with or without
     11       1.2  scottr  * modification, are permitted provided that the following conditions
     12       1.2  scottr  * are met:
     13       1.2  scottr  * 1. Redistributions of source code must retain the above copyright
     14       1.2  scottr  *    notice, this list of conditions and the following disclaimer.
     15       1.2  scottr  * 2. Redistributions in binary form must reproduce the above copyright
     16       1.2  scottr  *    notice, this list of conditions and the following disclaimer in the
     17       1.2  scottr  *    documentation and/or other materials provided with the distribution.
     18       1.2  scottr  * 3. All advertising materials mentioning features or use of this software
     19       1.2  scottr  *    must display the following acknowledgement:
     20       1.2  scottr  *	This product includes software developed by the NetBSD
     21       1.2  scottr  *	Foundation, Inc. and its contributors.
     22       1.2  scottr  * 4. Neither the name of The NetBSD Foundation nor the names of its
     23       1.2  scottr  *    contributors may be used to endorse or promote products derived
     24       1.2  scottr  *    from this software without specific prior written permission.
     25       1.2  scottr  *
     26       1.2  scottr  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
     27       1.2  scottr  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
     28       1.2  scottr  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     29       1.2  scottr  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
     30       1.2  scottr  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     31       1.2  scottr  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     32       1.2  scottr  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     33       1.2  scottr  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     34       1.2  scottr  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     35       1.2  scottr  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     36       1.2  scottr  * POSSIBILITY OF SUCH DAMAGE.
     37       1.2  scottr  */
     38       1.2  scottr 
     39       1.2  scottr /* XXX This list is incomplete. */
     40       1.2  scottr 
     41       1.2  scottr #define KC(n) KS_KEYCODE(n)
     42       1.2  scottr 
     43       1.2  scottr static const keysym_t akbd_keydesc_us[] = {
     44       1.2  scottr /*  pos      command		normal		shifted */
     45       1.2  scottr     KC(0),			KS_a,
     46       1.2  scottr     KC(1),			KS_s,
     47       1.2  scottr     KC(2),			KS_d,
     48       1.2  scottr     KC(3),			KS_f,
     49       1.2  scottr     KC(4),			KS_h,
     50       1.2  scottr     KC(5),			KS_g,
     51       1.2  scottr     KC(6),			KS_z,
     52       1.2  scottr     KC(7),			KS_x,
     53       1.2  scottr     KC(8),			KS_c,
     54       1.2  scottr     KC(9),			KS_v,
     55       1.2  scottr 
     56       1.2  scottr     KC(11),			KS_b,
     57       1.2  scottr     KC(12),			KS_q,
     58       1.2  scottr     KC(13),			KS_w,
     59       1.2  scottr     KC(14),			KS_e,
     60       1.2  scottr     KC(15),			KS_r,
     61       1.2  scottr     KC(16),			KS_y,
     62       1.2  scottr     KC(17),			KS_t,
     63       1.2  scottr     KC(18),			KS_1,		KS_exclam,
     64       1.2  scottr     KC(19),			KS_2,		KS_at,
     65       1.2  scottr     KC(20),			KS_3,		KS_numbersign,
     66       1.2  scottr     KC(21),			KS_4,		KS_dollar,
     67       1.2  scottr     KC(22),			KS_6,		KS_asciicircum,
     68       1.2  scottr     KC(23),			KS_5,		KS_percent,
     69       1.2  scottr     KC(24),			KS_equal,	KS_plus,
     70       1.2  scottr     KC(25),			KS_9,		KS_parenleft,
     71       1.2  scottr     KC(26),			KS_7,		KS_ampersand,
     72       1.2  scottr     KC(27),			KS_minus,	KS_underscore,
     73       1.2  scottr     KC(28),			KS_8,		KS_asterisk,
     74       1.2  scottr     KC(29),			KS_0,		KS_parenright,
     75       1.2  scottr     KC(30),			KS_bracketright, KS_braceright,
     76       1.2  scottr     KC(31),			KS_o,
     77       1.2  scottr     KC(32),			KS_u,
     78       1.2  scottr     KC(33),			KS_bracketleft,	KS_braceleft,
     79       1.2  scottr     KC(34),			KS_i,
     80       1.2  scottr     KC(35),			KS_p,
     81       1.2  scottr     KC(36),			KS_Return,
     82       1.2  scottr     KC(37),			KS_l,
     83       1.2  scottr     KC(38),			KS_j,
     84       1.2  scottr     KC(39),			KS_apostrophe,	KS_quotedbl,
     85       1.2  scottr     KC(40),			KS_k,
     86       1.2  scottr     KC(41),			KS_semicolon,	KS_colon,
     87       1.2  scottr     KC(42),			KS_backslash,	KS_bar,
     88       1.2  scottr     KC(43),			KS_comma,	KS_less,
     89       1.2  scottr     KC(44),			KS_slash,	KS_question,
     90       1.2  scottr     KC(45),			KS_n,
     91       1.2  scottr     KC(46),			KS_m,
     92       1.2  scottr     KC(47),			KS_period,	KS_greater,
     93       1.2  scottr     KC(48),			KS_Tab,
     94       1.2  scottr     KC(49),			KS_space,
     95       1.2  scottr     KC(50),			KS_grave,	KS_asciitilde,
     96       1.2  scottr     KC(51),			KS_Delete,
     97  1.2.22.1    tron     KC(52),			KS_KP_Enter,    /* Pretend this is alt-R ? */
     98       1.2  scottr     KC(53),			KS_Escape,
     99       1.2  scottr     KC(54),			KS_Control_L,
    100       1.2  scottr     KC(55),  KS_Cmd,				/* Command */
    101       1.2  scottr     KC(56),			KS_Shift_L,
    102       1.2  scottr     KC(57),			KS_Caps_Lock,
    103       1.2  scottr     KC(58),  KS_Cmd1,				/* Option */
    104       1.2  scottr     KC(59),			KS_Left,
    105       1.2  scottr     KC(60),			KS_Right,
    106       1.2  scottr     KC(61),			KS_Down,
    107       1.2  scottr     KC(62),			KS_Up,
    108       1.2  scottr 
    109       1.2  scottr     KC(65),			KS_KP_Decimal,
    110       1.2  scottr     KC(67),			KS_KP_Multiply,
    111       1.2  scottr     KC(69),			KS_KP_Add,
    112       1.2  scottr     KC(71),			KS_Clear,
    113       1.2  scottr     KC(75),			KS_KP_Divide,
    114       1.2  scottr     KC(76),			KS_KP_Enter,
    115       1.2  scottr     KC(78),			KS_KP_Subtract,
    116       1.2  scottr 
    117       1.2  scottr     KC(81),			KS_KP_Equal,
    118       1.2  scottr     KC(82),			KS_KP_0,
    119       1.2  scottr     KC(83),			KS_KP_1,
    120       1.2  scottr     KC(84),			KS_KP_2,
    121       1.2  scottr     KC(85),			KS_KP_3,
    122       1.2  scottr     KC(86),			KS_KP_4,
    123       1.2  scottr     KC(87),			KS_KP_5,
    124       1.2  scottr     KC(88),			KS_KP_6,
    125       1.2  scottr     KC(89),			KS_KP_7,
    126       1.2  scottr 
    127       1.2  scottr     KC(91),			KS_KP_8,
    128       1.2  scottr     KC(92),			KS_KP_9,
    129       1.2  scottr 
    130       1.2  scottr     KC(95),			KS_comma,	/* XXX KS_KP_comma */
    131  1.2.22.1    tron     KC(96),			KS_f5,
    132  1.2.22.1    tron     KC(97),			KS_f6,
    133  1.2.22.1    tron     KC(98),			KS_f7,
    134  1.2.22.1    tron     KC(99),			KS_f3,
    135  1.2.22.1    tron     KC(100),			KS_f8,
    136  1.2.22.1    tron 
    137  1.2.22.1    tron     KC(101),			KS_f9,
    138  1.2.22.1    tron 
    139  1.2.22.1    tron     KC(103),			KS_f11,
    140       1.2  scottr 
    141       1.2  scottr     KC(106),			KS_KP_Enter,
    142       1.2  scottr 
    143  1.2.22.1    tron     KC(109),			KS_f10,
    144  1.2.22.1    tron 
    145  1.2.22.1    tron     KC(111),			KS_f12,
    146  1.2.22.1    tron 
    147  1.2.22.1    tron     KC(115),			KS_Home,
    148  1.2.22.1    tron     KC(116),			KS_Prior,
    149  1.2.22.1    tron 
    150  1.2.22.1    tron     KC(118),			KS_f4,
    151  1.2.22.1    tron     KC(119),			KS_End,
    152  1.2.22.1    tron     KC(120),			KS_f2,
    153  1.2.22.1    tron     KC(121),			KS_Next,
    154  1.2.22.1    tron     KC(122),			KS_f1,
    155  1.2.22.1    tron 
    156       1.2  scottr     KC(127),  KS_Cmd_Debugger,
    157       1.2  scottr };
    158       1.2  scottr 
    159  1.2.22.1    tron static const keysym_t akbd_keydesc_fr[] = {
    160  1.2.22.1    tron /*  pos		normal		shifted		altgr		shift-altgr */
    161  1.2.22.1    tron     KC(0),	KS_q,
    162  1.2.22.1    tron     KC(1),	KS_s,		KS_S,		KS_Ograve,
    163  1.2.22.1    tron     KC(4),	KS_h,		KS_H,		KS_Igrave,	KS_Icircumflex,
    164  1.2.22.1    tron     KC(6),	KS_w,		KS_W,		KS_less,	KS_greater,
    165  1.2.22.1    tron     KC(8),	KS_c,		KS_C,		KS_copyright,	KS_cent,
    166  1.2.22.1    tron     KC(10),	KS_at,		KS_numbersign,
    167  1.2.22.1    tron     KC(11),	KS_b,		KS_B,		KS_ssharp,
    168  1.2.22.1    tron     KC(12),	KS_a,		KS_A,		KS_ae,		KS_AE,
    169  1.2.22.1    tron     KC(13),	KS_z,		KS_Z,		KS_Acircumflex,	KS_Aring,
    170  1.2.22.1    tron     KC(14),	KS_e,		KS_E,		KS_ecircumflex,	KS_Ecircumflex,
    171  1.2.22.1    tron     KC(15),	KS_r,		KS_R,		KS_registered,	/* Euro */
    172  1.2.22.1    tron     KC(16),	KS_y,		KS_Y,		KS_Uacute,
    173  1.2.22.1    tron     KC(18),	KS_ampersand,	KS_1,		KS_voidSymbol,	KS_dead_acute,
    174  1.2.22.1    tron     KC(19),	KS_eacute,	KS_2,		KS_ediaeresis,
    175  1.2.22.1    tron     KC(20),	KS_quotedbl,	KS_3,
    176  1.2.22.1    tron     KC(21),	KS_apostrophe,	KS_4,		KS_braceleft,	KS_bracketleft,
    177  1.2.22.1    tron     KC(22),	KS_section,	KS_6,		KS_paragraph,
    178  1.2.22.1    tron     KC(23),	KS_parenleft,	KS_5,		KS_braceleft,	KS_bracketleft,
    179  1.2.22.1    tron     KC(24),	KS_minus,	KS_underscore,	KS_braceright,
    180  1.2.22.1    tron     KC(25),	KS_ccedilla,	KS_9,		KS_Ccedilla,	KS_Agrave,
    181  1.2.22.1    tron     KC(26),	KS_egrave,	KS_7,		KS_guillemotleft,KS_guillemotright,
    182  1.2.22.1    tron     KC(27),	KS_parenright,	KS_degree,	KS_braceright,	KS_bracketright,
    183  1.2.22.1    tron     KC(28),	KS_exclam,	KS_8,		KS_exclamdown,	KS_Ucircumflex,
    184  1.2.22.1    tron     KC(29),	KS_agrave,	KS_0,		KS_oslash,
    185  1.2.22.1    tron     KC(30),	KS_dollar,	KS_asterisk,	KS_comma,	KS_yen,
    186  1.2.22.1    tron     KC(33),	KS_dead_circumflex, KS_dead_diaeresis,KS_ocircumflex,KS_Ocircumflex,
    187  1.2.22.1    tron     KC(34),	KS_i,		KS_I,		KS_icircumflex, KS_Icircumflex,
    188  1.2.22.1    tron     KC(37),	KS_l,		KS_L,		KS_notsign,	KS_bar,
    189  1.2.22.1    tron     KC(38),	KS_j,		KS_J,		KS_Idiaeresis,	KS_Igrave,
    190  1.2.22.1    tron     KC(39),	KS_ugrave,	KS_percent,	KS_Ugrave,
    191  1.2.22.1    tron     KC(40),	KS_k,		KS_K,		KS_Egrave,	KS_Ediaeresis,
    192  1.2.22.1    tron     KC(41),	KS_m,		KS_M,		KS_mu,		KS_Ograve,
    193  1.2.22.1    tron     KC(42),	KS_dead_grave,	KS_sterling,	KS_at,		KS_numbersign,
    194  1.2.22.1    tron     KC(43),	KS_semicolon,	KS_period,
    195  1.2.22.1    tron     KC(44),	KS_equal,	KS_plus,	KS_voidSymbol,	KS_plusminus,
    196  1.2.22.1    tron     KC(45),	KS_n,		KS_N,		KS_dead_tilde,
    197  1.2.22.1    tron     KC(46),	KS_comma,	KS_question,	KS_voidSymbol,	KS_questiondown,
    198  1.2.22.1    tron     KC(47),	KS_colon,	KS_slash,	KS_division,	KS_backslash,
    199  1.2.22.1    tron     KC(50),	KS_less,	KS_greater,
    200  1.2.22.1    tron     KC(52),	KS_Alt_R,
    201  1.2.22.1    tron     KC(55),	KS_Meta_L,				/* Command */
    202  1.2.22.1    tron     KC(58),	KS_Mode_switch,	KS_Multi_key,		/* Option */
    203  1.2.22.1    tron };
    204  1.2.22.1    tron 
    205  1.2.22.1    tron static const keysym_t akbd_keydesc_fr_nodead[] = {
    206  1.2.22.1    tron     KC(18),	KS_ampersand,	KS_1,		KS_voidSymbol,	KS_acute,
    207  1.2.22.1    tron     KC(33),	KS_asciicircum,	KS_diaeresis,	KS_ocircumflex,	KS_Ocircumflex,
    208  1.2.22.1    tron     KC(42),	KS_grave,	KS_sterling,	KS_at,		KS_numbersign,
    209  1.2.22.1    tron     KC(45),	KS_n,		KS_N,		KS_asciitilde,
    210  1.2.22.1    tron };
    211  1.2.22.1    tron 
    212       1.2  scottr static const keysym_t akbd_keydesc_jp[] = {
    213       1.2  scottr /*  pos      command		normal		shifted */
    214  1.2.22.1    tron     KC(19),			KS_2,		KS_quotedbl,
    215  1.2.22.1    tron     KC(22),			KS_6,		KS_ampersand,
    216  1.2.22.1    tron     KC(24),			KS_asciicircum,	KS_asciitilde,
    217  1.2.22.1    tron     KC(25),			KS_9,		KS_parenright,
    218  1.2.22.1    tron     KC(26),			KS_7,		KS_apostrophe,
    219  1.2.22.1    tron     KC(27),			KS_minus,	KS_equal,
    220  1.2.22.1    tron     KC(28),			KS_8,		KS_parenleft,
    221  1.2.22.1    tron     KC(29),			KS_0,
    222  1.2.22.1    tron     KC(30),			KS_bracketleft, KS_braceleft,
    223  1.2.22.1    tron     KC(33),			KS_at,		KS_grave,
    224  1.2.22.1    tron     KC(39),			KS_colon,	KS_asterisk,
    225  1.2.22.1    tron 
    226  1.2.22.1    tron     KC(41),			KS_semicolon,	KS_plus,
    227  1.2.22.1    tron     KC(42),			KS_bracketright,KS_braceright,
    228       1.2  scottr     KC(93),			KS_backslash,	KS_bar,
    229  1.2.22.1    tron     KC(94),			KS_underscore,
    230       1.2  scottr };
    231       1.2  scottr 
    232  1.2.22.1    tron static const keysym_t akbd_keydesc_uk[] = {
    233  1.2.22.1    tron /*  pos		normal		shifted		altgr		shift-altgr */
    234  1.2.22.1    tron     KC(10),	KS_section,	KS_plusminus,
    235  1.2.22.1    tron     KC(20),	KS_3,		KS_sterling,	KS_numbersign,
    236  1.2.22.1    tron     KC(52),	KS_KP_Enter,
    237  1.2.22.1    tron     KC(58),	KS_Mode_switch,	KS_Multi_key,		/* Option */
    238  1.2.22.1    tron };
    239  1.2.22.1    tron 
    240  1.2.22.1    tron static const keysym_t akbd_keydesc_sv[] = {
    241  1.2.22.1    tron /*  pos		normal		shifted		altgr		shift-altgr */
    242  1.2.22.1    tron     KC(10),	KS_section,	KS_degree,
    243  1.2.22.1    tron     KC(19),	KS_2,		KS_quotedbl,	KS_at,
    244  1.2.22.1    tron     KC(21),	KS_4,		KS_dollar,
    245  1.2.22.1    tron     KC(22),	KS_6,		KS_ampersand,
    246  1.2.22.1    tron     KC(24),	KS_dead_acute,	KS_dead_grave,
    247  1.2.22.1    tron     KC(25),	KS_9,		KS_parenright,	KS_bracketright,
    248  1.2.22.1    tron     KC(26),	KS_7,		KS_slash,	KS_braceleft,
    249  1.2.22.1    tron     KC(27),	KS_plus,	KS_question,	KS_backslash,
    250  1.2.22.1    tron     KC(28),	KS_8,		KS_parenleft,	KS_bracketleft,
    251  1.2.22.1    tron     KC(29),	KS_0,		KS_equal,	KS_braceright,
    252  1.2.22.1    tron     KC(30),	KS_dead_diaeresis,KS_dead_circumflex,KS_dead_tilde,
    253  1.2.22.1    tron     KC(33),	KS_aring,
    254  1.2.22.1    tron     KC(39),	KS_adiaeresis,
    255  1.2.22.1    tron     KC(41),	KS_odiaeresis,
    256  1.2.22.1    tron     KC(42),	KS_apostrophe,	KS_asterisk,
    257  1.2.22.1    tron     KC(43),	KS_comma,	KS_semicolon,
    258  1.2.22.1    tron     KC(44),	KS_minus,	KS_underscore,
    259  1.2.22.1    tron     KC(47),	KS_period,	KS_colon,
    260  1.2.22.1    tron     KC(50),	KS_less,	KS_greater,	KS_bar,
    261  1.2.22.1    tron     KC(52),	KS_Mode_switch,KS_Multi_key,
    262  1.2.22.1    tron };
    263  1.2.22.1    tron 
    264  1.2.22.1    tron static const keysym_t akbd_keydesc_sv_nodead[] = {
    265  1.2.22.1    tron /*  pos		normal		shifted		altgr		shift-altgr */
    266  1.2.22.1    tron     KC(24),	KS_apostrophe,	KS_grave,
    267  1.2.22.1    tron     KC(30),	KS_diaeresis,	KS_asciicircum,	KS_asciitilde,
    268  1.2.22.1    tron };
    269  1.2.22.1    tron 
    270  1.2.22.1    tron static const keysym_t akbd_keydesc_de[] = {
    271  1.2.22.1    tron /*  pos		normal		shifted		altgr		shift-altgr */
    272  1.2.22.1    tron     KC(0),	KS_a,		KS_A,		KS_aring,	KS_Aring,
    273  1.2.22.1    tron     KC(1),	KS_s,		KS_S,		KS_voidSymbol,	KS_Iacute,
    274  1.2.22.1    tron     KC(3),	KS_f,		KS_F,		KS_voidSymbol,	KS_Idiaeresis,
    275  1.2.22.1    tron     KC(4),	KS_h,		KS_H,		KS_ordfeminine,	KS_Oacute,
    276  1.2.22.1    tron     KC(5),	KS_g,		KS_G,		KS_copyright,	KS_Igrave,
    277  1.2.22.1    tron     KC(6),	KS_y,		KS_Y,		KS_yen,
    278  1.2.22.1    tron     KC(7),	KS_x,		KS_X,		KS_voidSymbol,	KS_Ugrave,
    279  1.2.22.1    tron     KC(8),	KS_c,		KS_C,		KS_ccedilla,	KS_Ccedilla,
    280  1.2.22.1    tron     KC(10),	KS_dead_circumflex,KS_degree,
    281  1.2.22.1    tron     KC(12),	KS_q,		KS_Q,		KS_guillemotleft,KS_guillemotright,
    282  1.2.22.1    tron     KC(15),	KS_r,		KS_R,		KS_registered,	KS_cedilla,
    283  1.2.22.1    tron     KC(16),	KS_z,		KS_Z,
    284  1.2.22.1    tron     KC(18),	KS_1,		KS_exclam,	KS_exclamdown,	KS_notsign,
    285  1.2.22.1    tron     KC(19),	KS_2,		KS_quotedbl,
    286  1.2.22.1    tron     KC(20),	KS_3,		KS_section,	KS_paragraph,	KS_numbersign,
    287  1.2.22.1    tron     KC(21),	KS_4,		KS_dollar,	KS_cent,	KS_sterling,
    288  1.2.22.1    tron     KC(22),	KS_6,		KS_ampersand,	KS_bracketright,KS_dead_circumflex,
    289  1.2.22.1    tron     KC(23),	KS_5,		KS_percent,	KS_bracketleft,
    290  1.2.22.1    tron     KC(24),	KS_dead_acute,	KS_dead_grave,	KS_apostrophe,
    291  1.2.22.1    tron     KC(25),	KS_9,		KS_parenright,	KS_braceright,	KS_periodcentered,
    292  1.2.22.1    tron     KC(26),	KS_7,		KS_slash,	KS_bar,		KS_backslash,
    293  1.2.22.1    tron     KC(27),	KS_ssharp,	KS_question,	KS_questiondown,
    294  1.2.22.1    tron     KC(28),	KS_8,		KS_parenleft,	KS_braceleft,
    295  1.2.22.1    tron     KC(29),	KS_0,		KS_equal,	KS_voidSymbol,	KS_macron,
    296  1.2.22.1    tron     KC(30),	KS_plus,	KS_asterisk,	KS_plusminus,
    297  1.2.22.1    tron     KC(31),	KS_o,		KS_O,		KS_oslash,	KS_Ooblique,
    298  1.2.22.1    tron     KC(32),	KS_u,		KS_U,		KS_dead_diaeresis,KS_Aacute,
    299  1.2.22.1    tron     KC(33),	KS_udiaeresis,	KS_Udiaeresis,	KS_voidSymbol,	KS_degree,
    300  1.2.22.1    tron     KC(34),	KS_i,		KS_I,		KS_voidSymbol,	KS_Ucircumflex,
    301  1.2.22.1    tron     KC(37),	KS_l,		KS_L,		KS_at,
    302  1.2.22.1    tron     KC(38),	KS_j,		KS_J,		KS_masculine,
    303  1.2.22.1    tron     KC(39),	KS_adiaeresis,	KS_Adiaeresis,	KS_ae,		KS_AE,
    304  1.2.22.1    tron     KC(41),	KS_odiaeresis,	KS_Odiaeresis,
    305  1.2.22.1    tron     KC(42),	KS_numbersign,	KS_apostrophe,
    306  1.2.22.1    tron     KC(43),	KS_comma,	KS_semicolon,
    307  1.2.22.1    tron     KC(44),	KS_minus,	KS_underscore,
    308  1.2.22.1    tron     KC(45),	KS_n,		KS_N,		KS_dead_tilde,
    309  1.2.22.1    tron     KC(46),	KS_m,		KS_M,		KS_mu,
    310  1.2.22.1    tron     KC(47),	KS_period,	KS_colon,
    311  1.2.22.1    tron     KC(50),	KS_less,	KS_greater,
    312  1.2.22.1    tron     KC(52),	KS_Multi_key,
    313  1.2.22.1    tron     KC(58),	KS_Mode_switch,
    314  1.2.22.1    tron };
    315  1.2.22.1    tron 
    316  1.2.22.1    tron static const keysym_t akbd_keydesc_de_nodead[] = {
    317  1.2.22.1    tron /*  pos		normal		shifted		altgr		shift-altgr */
    318  1.2.22.1    tron     KC(10),	KS_asciicircum, KS_degree,
    319  1.2.22.1    tron     KC(22),	KS_6,		KS_ampersand,	KS_bracketright,KS_asciicircum,
    320  1.2.22.1    tron     KC(24),	KS_acute,	KS_grave,	KS_apostrophe,
    321  1.2.22.1    tron     KC(32),	KS_u,		KS_U,		KS_diaeresis,	KS_Aacute,
    322  1.2.22.1    tron     KC(45),	KS_n,		KS_N,		KS_asciitilde,
    323  1.2.22.1    tron };
    324  1.2.22.1    tron 
    325  1.2.22.1    tron static const keysym_t akbd_keydesc_sf[] = {
    326  1.2.22.1    tron /*  pos		normal		shifted		altgr		shift-altgr */
    327  1.2.22.1    tron     KC(6),	KS_y,
    328  1.2.22.1    tron     KC(10),	KS_paragraph,	KS_degree,
    329  1.2.22.1    tron     KC(16),	KS_z,
    330  1.2.22.1    tron     KC(18),	KS_plus,	KS_1,
    331  1.2.22.1    tron     KC(19),	KS_quotedbl,	KS_2,
    332  1.2.22.1    tron     KC(20),	KS_asterisk,	KS_3,
    333  1.2.22.1    tron     KC(21),	KS_ccedilla,	KS_4,		KS_Ccedilla,
    334  1.2.22.1    tron     KC(22),	KS_ampersand,	KS_6,
    335  1.2.22.1    tron     KC(23),	KS_percent,	KS_5,
    336  1.2.22.1    tron     KC(24),	KS_dead_circumflex,KS_grave,
    337  1.2.22.1    tron     KC(25),	KS_parenright,	KS_9,
    338  1.2.22.1    tron     KC(26),	KS_slash,	KS_7,
    339  1.2.22.1    tron     KC(27),	KS_apostrophe,	KS_question,
    340  1.2.22.1    tron     KC(28),	KS_parenleft,	KS_8,
    341  1.2.22.1    tron     KC(29),	KS_equal,	KS_0,
    342  1.2.22.1    tron     KC(30),	KS_dead_diaeresis,KS_exclam,
    343  1.2.22.1    tron     KC(33),	KS_egrave,	KS_udiaeresis,
    344  1.2.22.1    tron     KC(39),	KS_agrave,	KS_adiaeresis,
    345  1.2.22.1    tron     KC(41),	KS_eacute,	KS_odiaeresis,
    346  1.2.22.1    tron     KC(42),	KS_dollar,	KS_sterling,
    347  1.2.22.1    tron     KC(43),	KS_period,	KS_colon,
    348  1.2.22.1    tron     KC(46),	KS_comma,	KS_semicolon,
    349  1.2.22.1    tron     KC(47),	KS_minus,	KS_underscore,
    350  1.2.22.1    tron     KC(50),	KS_less,	KS_greater,
    351  1.2.22.1    tron };
    352       1.2  scottr #define KBD_MAP(name, base, map) \
    353       1.2  scottr 			{ name, base, sizeof(map)/sizeof(keysym_t), map }
    354       1.2  scottr 
    355       1.2  scottr static const struct wscons_keydesc akbd_keydesctab[] = {
    356       1.2  scottr 	KBD_MAP(KB_US,			0,	akbd_keydesc_us),
    357  1.2.22.1    tron 	KBD_MAP(KB_FR,			KB_US,	akbd_keydesc_fr),
    358  1.2.22.1    tron 	KBD_MAP(KB_JP,			KB_US,	akbd_keydesc_jp),
    359  1.2.22.1    tron 	KBD_MAP(KB_FR | KB_NODEAD,	KB_FR,	akbd_keydesc_fr_nodead),
    360  1.2.22.1    tron 	KBD_MAP(KB_SF,			KB_US,  akbd_keydesc_sf),
    361  1.2.22.1    tron 	KBD_MAP(KB_SV,			KB_US,  akbd_keydesc_sv),
    362  1.2.22.1    tron 	KBD_MAP(KB_SV | KB_NODEAD,	KB_SV,  akbd_keydesc_sv_nodead),
    363  1.2.22.1    tron 	KBD_MAP(KB_DE,			KB_US,  akbd_keydesc_de),
    364  1.2.22.1    tron 	KBD_MAP(KB_DE | KB_NODEAD,	KB_DE,  akbd_keydesc_de_nodead),
    365  1.2.22.1    tron 	KBD_MAP(KB_UK,			KB_US,  akbd_keydesc_uk),
    366       1.2  scottr 	{0, 0, 0, 0}
    367       1.2  scottr };
    368       1.2  scottr 
    369       1.2  scottr #undef KBD_MAP
    370       1.2  scottr #undef KC
    371  1.2.22.1    tron 
    372