[BACK]Return to akbdmap.h CVS log [TXT][DIR] Up to [local] / sys / dev / adb

Annotation of sys/dev/adb/akbdmap.h, Revision 1.1

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

CVSweb