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