xref: /freebsd/sys/dev/kbd/kbdtables.h (revision b3ef0af491d48d2a26470e987af5634c06074726)
1444ada0bSSøren Schmidt /*-
2b3ef0af4SYoshihiro Takahashi  * Copyright (c) 1992-1998 Sen Schmidt
3444ada0bSSøren Schmidt  * All rights reserved.
4916347f7SJordan K. Hubbard  *
5444ada0bSSøren Schmidt  * Redistribution and use in source and binary forms, with or without
6444ada0bSSøren Schmidt  * modification, are permitted provided that the following conditions
7444ada0bSSøren Schmidt  * are met:
8444ada0bSSøren Schmidt  * 1. Redistributions of source code must retain the above copyright
9a8445737SSøren Schmidt  *    notice, this list of conditions and the following disclaimer,
10a8445737SSøren Schmidt  *    without modification, immediately at the beginning of the file.
11444ada0bSSøren Schmidt  * 2. Redistributions in binary form must reproduce the above copyright
12444ada0bSSøren Schmidt  *    notice, this list of conditions and the following disclaimer in the
13444ada0bSSøren Schmidt  *    documentation and/or other materials provided with the distribution.
14444ada0bSSøren Schmidt  * 3. The name of the author may not be used to endorse or promote products
15a8445737SSøren Schmidt  *    derived from this software without specific prior written permission.
16916347f7SJordan K. Hubbard  *
17444ada0bSSøren Schmidt  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18444ada0bSSøren Schmidt  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19444ada0bSSøren Schmidt  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20444ada0bSSøren Schmidt  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21444ada0bSSøren Schmidt  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22444ada0bSSøren Schmidt  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23444ada0bSSøren Schmidt  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24444ada0bSSøren Schmidt  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25444ada0bSSøren Schmidt  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26444ada0bSSøren Schmidt  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27916347f7SJordan K. Hubbard  *
28c3aac50fSPeter Wemm  * $FreeBSD$
29916347f7SJordan K. Hubbard  */
30916347f7SJordan K. Hubbard 
31e9deda23SKazutaka YOKOTA #ifndef KBD_DFLT_KEYMAP
32916347f7SJordan K. Hubbard 
33e30f0011SSatoshi Asami #ifdef PC98
34a3bd3dacSKazutaka YOKOTA #define NO_ACCENTCHARS
35e30f0011SSatoshi Asami /* PC-9801 keymap by kuribo@isl.melco.co.jp */
36ffba82a9SKazutaka YOKOTA static keymap_t key_map = { 0x80, {	/* PC98 keymap */
37e30f0011SSatoshi Asami /*                                                         alt
38e30f0011SSatoshi Asami  * scan                       cntrl          alt    alt   cntrl
39e30f0011SSatoshi Asami  * code  base   shift  cntrl  shift   alt   shift  cntrl  shift    spcl flgs
40e30f0011SSatoshi Asami  * ---------------------------------------------------------------------------
41e30f0011SSatoshi Asami  */
42b3ef0af4SYoshihiro Takahashi {{/*00*/ 0x1B,  0x1B,  0x1B,  0x1B,  0x1B,  0x1B,   DBG,  0x1B  }, 0x02,0x00 },
43b3ef0af4SYoshihiro Takahashi {{/*01*/  '1',   '!',   '!',   '!',   '1',   '!',   '!',   '!'  }, 0x00,0x00 },
44b3ef0af4SYoshihiro Takahashi {{/*02*/  '2',  '\"',  0x1A,  0x1A,   '2',   '@',  0x00,  0x00  }, 0x00,0x00 },
45b3ef0af4SYoshihiro Takahashi {{/*03*/  '3',   '#',  0x1B,  0x1B,   '3',   '#',  0x1B,  0x1B  }, 0x00,0x00 },
46b3ef0af4SYoshihiro Takahashi {{/*04*/  '4',   '$',  0x1C,  0x1C,   '4',   '$',  0x1C,  0x1C  }, 0x00,0x00 },
47b3ef0af4SYoshihiro Takahashi {{/*05*/  '5',   '%',  0x1D,  0x1D,   '5',   '%',  0x1D,  0x1D  }, 0x00,0x00 },
48b3ef0af4SYoshihiro Takahashi {{/*06*/  '6',   '&',  0x1E,  0x1E,   '6',   '^',  0x1E,  0x1E  }, 0x00,0x00 },
49b3ef0af4SYoshihiro Takahashi {{/*07*/  '7',  '\'',  0x1F,  0x1F,   '7',   '&',   '&',   '&'  }, 0x00,0x00 },
50b3ef0af4SYoshihiro Takahashi {{/*08*/  '8',   '(',  0x7F,  0x7F,   '8',   '*',  0x08,  0x08  }, 0x00,0x00 },
51b3ef0af4SYoshihiro Takahashi {{/*09*/  '9',   ')',   '9',   '9',   '9',   '(',   '(',   '('  }, 0x00,0x00 },
52b3ef0af4SYoshihiro Takahashi {{/*0a*/  '0',   NOP,   '0',   '0',   '0',   ')',   ')',   ')'  }, 0x40,0x00 },
53b3ef0af4SYoshihiro Takahashi {{/*0b*/  '-',   '=',   '-',   '-',   '-',   '_',  0x1F,  0x1F  }, 0x00,0x00 },
54b3ef0af4SYoshihiro Takahashi {{/*0c*/  '^',   '`',  0x1E,  0x1E,   '=',   '+',   '+',   '+'  }, 0x00,0x00 },
55b3ef0af4SYoshihiro Takahashi {{/*0d*/ '\\',   '|',  0x1C,  0x1C,  '\\',   '|',  0x1C,  0x1C  }, 0x00,0x00 },
56b3ef0af4SYoshihiro Takahashi {{/*0e*/ 0x08,  0x08,  0x08,  0x08,  0x08,  0x08,  0x08,  0x08  }, 0x00,0x00 },
57b3ef0af4SYoshihiro Takahashi {{/*0f*/ '\t',  '\t',  '\t',  '\t',  '\t',  '\t',  '\t',  '\t'  }, 0x00,0x00 },
58b3ef0af4SYoshihiro Takahashi {{/*10*/  'q',   'Q',  0x11,  0x11,   'q',   'Q',  0x11,  0x11  }, 0x00,0x01 },
59b3ef0af4SYoshihiro Takahashi {{/*11*/  'w',   'W',  0x17,  0x17,   'w',   'W',  0x17,  0x17  }, 0x00,0x01 },
60b3ef0af4SYoshihiro Takahashi {{/*12*/  'e',   'E',  0x05,  0x05,   'e',   'E',  0x05,  0x05  }, 0x00,0x01 },
61b3ef0af4SYoshihiro Takahashi {{/*13*/  'r',   'R',  0x12,  0x12,   'r',   'R',  0x12,  0x12  }, 0x00,0x01 },
62b3ef0af4SYoshihiro Takahashi {{/*14*/  't',   'T',  0x14,  0x14,   't',   'T',  0x14,  0x14  }, 0x00,0x01 },
63b3ef0af4SYoshihiro Takahashi {{/*15*/  'y',   'Y',  0x19,  0x19,   'y',   'Y',  0x19,  0x19  }, 0x00,0x01 },
64b3ef0af4SYoshihiro Takahashi {{/*16*/  'u',   'U',  0x15,  0x15,   'u',   'U',  0x15,  0x15  }, 0x00,0x01 },
65b3ef0af4SYoshihiro Takahashi {{/*17*/  'i',   'I',  0x09,  0x09,   'i',   'I',  0x09,  0x09  }, 0x00,0x01 },
66b3ef0af4SYoshihiro Takahashi {{/*18*/  'o',   'O',  0x0F,  0x0F,   'o',   'O',  0x0F,  0x0F  }, 0x00,0x01 },
67b3ef0af4SYoshihiro Takahashi {{/*19*/  'p',   'P',  0x10,  0x10,   'p',   'P',  0x10,  0x10  }, 0x00,0x01 },
68b3ef0af4SYoshihiro Takahashi {{/*1a*/  '@',   '~',  0x00,  0x00,   '[',   '{',  0x1B,  0x1B  }, 0x00,0x00 },
69b3ef0af4SYoshihiro Takahashi {{/*1b*/  '[',   '{',  0x1B,  0x1B,   ']',   '}',  0x1D,  0x1D  }, 0x00,0x00 },
70b3ef0af4SYoshihiro Takahashi {{/*1c*/ '\r',  '\r',  '\n',  '\n',  '\r',  '\r',  '\n',  '\n'  }, 0x00,0x00 },
71b3ef0af4SYoshihiro Takahashi {{/*1d*/  'a',   'A',  0x01,  0x01,   'a',   'A',  0x01,  0x01  }, 0x00,0x01 },
72b3ef0af4SYoshihiro Takahashi {{/*1e*/  's',   'S',  0x13,  0x13,   's',   'S',  0x13,  0x13  }, 0x00,0x01 },
73b3ef0af4SYoshihiro Takahashi {{/*1f*/  'd',   'D',  0x04,  0x04,   'd',   'D',  0x04,  0x04  }, 0x00,0x01 },
74b3ef0af4SYoshihiro Takahashi {{/*20*/  'f',   'F',  0x06,  0x06,   'f',   'F',  0x06,  0x06  }, 0x00,0x01 },
75b3ef0af4SYoshihiro Takahashi {{/*21*/  'g',   'G',  0x07,  0x07,   'g',   'G',  0x07,  0x07  }, 0x00,0x01 },
76b3ef0af4SYoshihiro Takahashi {{/*22*/  'h',   'H',  0x08,  0x08,   'h',   'H',  0x08,  0x08  }, 0x00,0x01 },
77b3ef0af4SYoshihiro Takahashi {{/*23*/  'j',   'J',  '\n',  '\n',   'j',   'J',  '\n',  '\n'  }, 0x00,0x01 },
78b3ef0af4SYoshihiro Takahashi {{/*24*/  'k',   'K',  0x0B,  0x0B,   'k',   'K',  0x0B,  0x0B  }, 0x00,0x01 },
79b3ef0af4SYoshihiro Takahashi {{/*25*/  'l',   'L',  0x0C,  0x0C,   'l',   'L',  0x0C,  0x0C  }, 0x00,0x01 },
80b3ef0af4SYoshihiro Takahashi {{/*26*/  ';',   '+',   ';',   ';',   ';',   ':',   ';',   ';'  }, 0x00,0x00 },
81b3ef0af4SYoshihiro Takahashi {{/*27*/  ':',   '*',   ':',   ':',  '\'',  '\"',  '\'',  '\''  }, 0x00,0x00 },
82b3ef0af4SYoshihiro Takahashi {{/*28*/  ']',   '}',  0x1D,  0x1D,   '`',   '~',   '~',   '~'  }, 0x00,0x00 },
83b3ef0af4SYoshihiro Takahashi {{/*29*/  'z',   'Z',  0x1A,  0x1A,   'z',   'Z',  0x1A,  0x1A  }, 0x00,0x01 },
84b3ef0af4SYoshihiro Takahashi {{/*2a*/  'x',   'X',  0x18,  0x18,   'x',   'X',  0x18,  0x18  }, 0x00,0x01 },
85b3ef0af4SYoshihiro Takahashi {{/*2b*/  'c',   'C',  0x03,  0x03,   'c',   'C',  0x03,  0x03  }, 0x00,0x01 },
86b3ef0af4SYoshihiro Takahashi {{/*2c*/  'v',   'V',  0x16,  0x16,   'v',   'V',  0x16,  0x16  }, 0x00,0x01 },
87b3ef0af4SYoshihiro Takahashi {{/*2d*/  'b',   'B',  0x02,  0x02,   'b',   'B',  0x02,  0x02  }, 0x00,0x01 },
88b3ef0af4SYoshihiro Takahashi {{/*2e*/  'n',   'N',  0x0E,  0x0E,   'n',   'N',  0x0E,  0x0E  }, 0x00,0x01 },
89b3ef0af4SYoshihiro Takahashi {{/*2f*/  'm',   'M',  '\r',  '\r',   'm',   'M',  '\r',  '\r'  }, 0x00,0x01 },
90b3ef0af4SYoshihiro Takahashi {{/*30*/  ',',   '<',   '<',   '<',   ',',   '<',   '<',   '<'  }, 0x00,0x00 },
91b3ef0af4SYoshihiro Takahashi {{/*31*/  '.',   '>',   '>',   '>',   '.',   '>',   '>',   '>'  }, 0x00,0x00 },
92b3ef0af4SYoshihiro Takahashi {{/*32*/  '/',   '?',  0x7F,  0x7F,   '/',   '?',  0x7F,  0x7F  }, 0x00,0x00 },
93b3ef0af4SYoshihiro Takahashi {{/*33*/  NOP,   '_',  0x1F,  0x1F,  '\\',   '|',  0x1C,  0x1C  }, 0x80,0x00 },
94b3ef0af4SYoshihiro Takahashi {{/*34*/  ' ',   ' ',  0x00,  0x00,   ' ',   ' ',  0x00,  0x00  }, 0x00,0x00 },
95b3ef0af4SYoshihiro Takahashi {{/*35*/ 0x1B,  0x1B,  0x1B,  0x1B,  0x1B,  0x1B,  0x1B,  0x1B  }, 0x00,0x00 },
96b3ef0af4SYoshihiro Takahashi {{/*36*/ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59) }, 0xFF,0x00 },
97b3ef0af4SYoshihiro Takahashi {{/*37*/ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51) }, 0xFF,0x00 },
98b3ef0af4SYoshihiro Takahashi {{/*38*/ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60) }, 0xFF,0x00 },
99b3ef0af4SYoshihiro Takahashi {{/*39*/ 0x7F,  0x7F,  0x7F,  0x7F,  0x7F,  0x7F,   RBT,   RBT  }, 0x03,0x02 },
100b3ef0af4SYoshihiro Takahashi {{/*3a*/ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50) }, 0xFF,0x00 },
101b3ef0af4SYoshihiro Takahashi {{/*3b*/ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53) }, 0xFF,0x00 },
102b3ef0af4SYoshihiro Takahashi {{/*3c*/ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55) }, 0xFF,0x00 },
103b3ef0af4SYoshihiro Takahashi {{/*3d*/ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58) }, 0xFF,0x00 },
104b3ef0af4SYoshihiro Takahashi {{/*3e*/ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49) }, 0xFF,0x00 },
105b3ef0af4SYoshihiro Takahashi {{/*3f*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
106b3ef0af4SYoshihiro Takahashi {{/*40*/  '-',   '-',   '-',   '-',   '-',   '-',   '-',   '-'  }, 0x00,0x00 },
107b3ef0af4SYoshihiro Takahashi {{/*41*/  '/',   '/',   '/',   '/',   '/',   '/',   '/',   '/'  }, 0x00,0x00 },
108b3ef0af4SYoshihiro Takahashi {{/*42*/  '7',   '7',   '7',   '7',   '7',   '7',   '7',   '7'  }, 0x00,0x00 },
109b3ef0af4SYoshihiro Takahashi {{/*43*/  '8',   '8',   '8',   '8',   '8',   '8',   '8',   '8'  }, 0x00,0x00 },
110b3ef0af4SYoshihiro Takahashi {{/*44*/  '9',   '9',   '9',   '9',   '9',   '9',   '9',   '9'  }, 0x00,0x00 },
111b3ef0af4SYoshihiro Takahashi {{/*45*/  '*',   '*',   '*',   '*',   '*',   '*',   '*',   '*'  }, 0x00,0x00 },
112b3ef0af4SYoshihiro Takahashi {{/*46*/  '4',   '4',   '4',   '4',   '4',   '4',   '4',   '4'  }, 0x00,0x00 },
113b3ef0af4SYoshihiro Takahashi {{/*47*/  '5',   '5',   '5',   '5',   '5',   '5',   '5',   '5'  }, 0x00,0x00 },
114b3ef0af4SYoshihiro Takahashi {{/*48*/  '6',   '6',   '6',   '6',   '6',   '6',   '6',   '6'  }, 0x00,0x00 },
115b3ef0af4SYoshihiro Takahashi {{/*49*/  '+',   '+',   '+',   '+',   '+',   '+',   '+',   '+'  }, 0x00,0x00 },
116b3ef0af4SYoshihiro Takahashi {{/*4a*/  '1',   '1',   '1',   '1',   '1',   '1',   '1',   '1'  }, 0x00,0x00 },
117b3ef0af4SYoshihiro Takahashi {{/*4b*/  '2',   '2',   '2',   '2',   '2',   '2',   '2',   '2'  }, 0x00,0x00 },
118b3ef0af4SYoshihiro Takahashi {{/*4c*/  '3',   '3',   '3',   '3',   '3',   '3',   '3',   '3'  }, 0x00,0x00 },
119b3ef0af4SYoshihiro Takahashi {{/*4d*/  '=',   '=',   '=',   '=',   '=',   '=',   '=',   '='  }, 0x00,0x00 },
120b3ef0af4SYoshihiro Takahashi {{/*4e*/  '0',   '0',   '0',   '0',   '0',   '0',   '0',   '0'  }, 0x00,0x00 },
121b3ef0af4SYoshihiro Takahashi {{/*4f*/  ',',   ',',   ',',   ',',   ',',   ',',   ',',   ','  }, 0x00,0x00 },
122b3ef0af4SYoshihiro Takahashi {{/*50*/  '.',   '.',   '.',   '.',   '.',   '.',   '.',   '.'  }, 0x00,0x00 },
123b3ef0af4SYoshihiro Takahashi {{/*51*/ 0x1B,  0x1B,  0x1B,  0x1B,  0x1B,  0x1B,  0x1B,  0x1B  }, 0x00,0x00 },
124b3ef0af4SYoshihiro Takahashi {{/*52*/ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11) }, 0xFF,0x00 },
125b3ef0af4SYoshihiro Takahashi {{/*53*/ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12) }, 0xFF,0x00 },
126b3ef0af4SYoshihiro Takahashi {{/*54*/  SLK,   SLK,   SLK,   SLK,   SLK,   SLK,   SLK,   SLK  }, 0xFF,0x00 },
127b3ef0af4SYoshihiro Takahashi {{/*55*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
128b3ef0af4SYoshihiro Takahashi {{/*56*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
129b3ef0af4SYoshihiro Takahashi {{/*57*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
130b3ef0af4SYoshihiro Takahashi {{/*58*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
131b3ef0af4SYoshihiro Takahashi {{/*59*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
132b3ef0af4SYoshihiro Takahashi {{/*5a*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
133b3ef0af4SYoshihiro Takahashi {{/*5b*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
134b3ef0af4SYoshihiro Takahashi {{/*5c*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
135b3ef0af4SYoshihiro Takahashi {{/*5d*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
136b3ef0af4SYoshihiro Takahashi {{/*5e*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
137b3ef0af4SYoshihiro Takahashi {{/*5f*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
138b3ef0af4SYoshihiro Takahashi {{/*60*/ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57) }, 0xFF,0x00 },
139b3ef0af4SYoshihiro Takahashi {{/*61*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
140b3ef0af4SYoshihiro Takahashi {{/*62*/ F( 1), F(13), F(25), F(37), S( 1), S( 1), S( 1), S( 1) }, 0xFF,0x00 },
141b3ef0af4SYoshihiro Takahashi {{/*63*/ F( 2), F(14), F(26), F(38), S( 2), S( 2), S( 2), S( 2) }, 0xFF,0x00 },
142b3ef0af4SYoshihiro Takahashi {{/*64*/ F( 3), F(15), F(27), F(39), S( 3), S( 3), S( 3), S( 3) }, 0xFF,0x00 },
143b3ef0af4SYoshihiro Takahashi {{/*65*/ F( 4), F(16), F(28), F(40), S( 4), S( 4), S( 4), S( 4) }, 0xFF,0x00 },
144b3ef0af4SYoshihiro Takahashi {{/*66*/ F( 5), F(17), F(29), F(41), S( 5), S( 5), S( 5), S( 5) }, 0xFF,0x00 },
145b3ef0af4SYoshihiro Takahashi {{/*67*/ F( 6), F(18), F(30), F(42), S( 6), S( 6), S( 6), S( 6) }, 0xFF,0x00 },
146b3ef0af4SYoshihiro Takahashi {{/*68*/ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7) }, 0xFF,0x00 },
147b3ef0af4SYoshihiro Takahashi {{/*69*/ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8) }, 0xFF,0x00 },
148b3ef0af4SYoshihiro Takahashi {{/*6a*/ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9) }, 0xFF,0x00 },
149b3ef0af4SYoshihiro Takahashi {{/*6b*/ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10) }, 0xFF,0x00 },
150b3ef0af4SYoshihiro Takahashi {{/*6c*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
151b3ef0af4SYoshihiro Takahashi {{/*6d*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
152b3ef0af4SYoshihiro Takahashi {{/*6e*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
153b3ef0af4SYoshihiro Takahashi {{/*6f*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
154b3ef0af4SYoshihiro Takahashi {{/*70*/  LSH,   LSH,   LSH,   LSH,   LSH,   LSH,   LSH,   LSH  }, 0xFF,0x00 },
155b3ef0af4SYoshihiro Takahashi {{/*71*/  CLK,   CLK,   CLK,   CLK,   CLK,   CLK,   CLK,   CLK  }, 0xFF,0x00 },
156b3ef0af4SYoshihiro Takahashi {{/*72*/ LALT,  LALT,  LALT,  LALT,  LALT,  LALT,  LALT,  LALT  }, 0xFF,0x00 },
157b3ef0af4SYoshihiro Takahashi {{/*73*/ LALT,  LALT,  LALT,  LALT,  LALT,  LALT,  LALT,  LALT  }, 0xFF,0x00 },
158b3ef0af4SYoshihiro Takahashi {{/*74*/ LCTR,  LCTR,  LCTR,  LCTR,  LCTR,  LCTR,  LCTR,  LCTR  }, 0xFF,0x00 },
159b3ef0af4SYoshihiro Takahashi {{/*75*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
160b3ef0af4SYoshihiro Takahashi {{/*76*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
161b3ef0af4SYoshihiro Takahashi {{/*77*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
162b3ef0af4SYoshihiro Takahashi {{/*78*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
163b3ef0af4SYoshihiro Takahashi {{/*79*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
164b3ef0af4SYoshihiro Takahashi {{/*7a*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
165b3ef0af4SYoshihiro Takahashi {{/*7b*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
166b3ef0af4SYoshihiro Takahashi {{/*7c*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
167b3ef0af4SYoshihiro Takahashi {{/*7d*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
168b3ef0af4SYoshihiro Takahashi {{/*7e*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
169b3ef0af4SYoshihiro Takahashi {{/*7f*/  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP  }, 0xFF,0x00 },
170ffba82a9SKazutaka YOKOTA } };
171e9deda23SKazutaka YOKOTA #endif /* PC98 */
172e30f0011SSatoshi Asami 
173e9deda23SKazutaka YOKOTA #ifndef PC98
174e9deda23SKazutaka YOKOTA /* US iso8859 */
175a3bd3dacSKazutaka YOKOTA #define ISO_ACCENTCHARS
176e9deda23SKazutaka YOKOTA /*
177e9deda23SKazutaka YOKOTA  * Automatically generated from /usr/share/syscons/keymaps/us.iso.kbd.
178e9deda23SKazutaka YOKOTA  * DO NOT EDIT!
179e9deda23SKazutaka YOKOTA  */
180e9deda23SKazutaka YOKOTA static keymap_t key_map = { 0x6d, {
181916347f7SJordan K. Hubbard /*                                                         alt
182916347f7SJordan K. Hubbard  * scan                       cntrl          alt    alt   cntrl
183916347f7SJordan K. Hubbard  * code  base   shift  cntrl  shift   alt   shift  cntrl  shift    spcl flgs
184916347f7SJordan K. Hubbard  * ---------------------------------------------------------------------------
185916347f7SJordan K. Hubbard  */
186e9deda23SKazutaka YOKOTA /*00*/{{  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP, }, 0xFF,0x00 },
187e9deda23SKazutaka YOKOTA /*01*/{{ 0x1B,  0x1B,  0x1B,  0x1B,  0x1B,  0x1B,   DBG,  0x1B, }, 0x02,0x00 },
188e9deda23SKazutaka YOKOTA /*02*/{{  '1',   '!',   NOP,   NOP,   '1',   '!',   NOP,   NOP, }, 0x33,0x00 },
189e9deda23SKazutaka YOKOTA /*03*/{{  '2',   '@',  0x00,  0x00,   '2',   '@',  0x00,  0x00, }, 0x00,0x00 },
190e9deda23SKazutaka YOKOTA /*04*/{{  '3',   '#',   NOP,   NOP,   '3',   '#',   NOP,   NOP, }, 0x33,0x00 },
191e9deda23SKazutaka YOKOTA /*05*/{{  '4',   '$',   NOP,   NOP,   '4',   '$',   NOP,   NOP, }, 0x33,0x00 },
192e9deda23SKazutaka YOKOTA /*06*/{{  '5',   '%',   NOP,   NOP,   '5',   '%',   NOP,   NOP, }, 0x33,0x00 },
193e9deda23SKazutaka YOKOTA /*07*/{{  '6',   '^',  0x1E,  0x1E,   '6',   '^',  0x1E,  0x1E, }, 0x00,0x00 },
194e9deda23SKazutaka YOKOTA /*08*/{{  '7',   '&',   NOP,   NOP,   '7',   '&',   NOP,   NOP, }, 0x33,0x00 },
195e9deda23SKazutaka YOKOTA /*09*/{{  '8',   '*',   NOP,   NOP,   '8',   '*',   NOP,   NOP, }, 0x33,0x00 },
196e9deda23SKazutaka YOKOTA /*0a*/{{  '9',   '(',   NOP,   NOP,   '9',   '(',   NOP,   NOP, }, 0x33,0x00 },
197e9deda23SKazutaka YOKOTA /*0b*/{{  '0',   ')',   NOP,   NOP,   '0',   ')',   NOP,   NOP, }, 0x33,0x00 },
198e9deda23SKazutaka YOKOTA /*0c*/{{  '-',   '_',  0x1F,  0x1F,   '-',   '_',  0x1F,  0x1F, }, 0x00,0x00 },
199e9deda23SKazutaka YOKOTA /*0d*/{{  '=',   '+',   NOP,   NOP,   '=',   '+',   NOP,   NOP, }, 0x33,0x00 },
200e9deda23SKazutaka YOKOTA /*0e*/{{ 0x08,  0x08,  0x7F,  0x7F,  0x08,  0x08,  0x7F,  0x7F, }, 0x00,0x00 },
201e9deda23SKazutaka YOKOTA /*0f*/{{ 0x09,  BTAB,   NOP,   NOP,  0x09,  BTAB,   NOP,   NOP, }, 0x77,0x00 },
202e9deda23SKazutaka YOKOTA /*10*/{{  'q',   'Q',  0x11,  0x11,   'q',   'Q',  0x11,  0x11, }, 0x00,0x01 },
203e9deda23SKazutaka YOKOTA /*11*/{{  'w',   'W',  0x17,  0x17,   'w',   'W',  0x17,  0x17, }, 0x00,0x01 },
204e9deda23SKazutaka YOKOTA /*12*/{{  'e',   'E',  0x05,  0x05,   'e',   'E',  0x05,  0x05, }, 0x00,0x01 },
205e9deda23SKazutaka YOKOTA /*13*/{{  'r',   'R',  0x12,  0x12,   'r',   'R',  0x12,  0x12, }, 0x00,0x01 },
206e9deda23SKazutaka YOKOTA /*14*/{{  't',   'T',  0x14,  0x14,   't',   'T',  0x14,  0x14, }, 0x00,0x01 },
207e9deda23SKazutaka YOKOTA /*15*/{{  'y',   'Y',  0x19,  0x19,   'y',   'Y',  0x19,  0x19, }, 0x00,0x01 },
208e9deda23SKazutaka YOKOTA /*16*/{{  'u',   'U',  0x15,  0x15,   'u',   'U',  0x15,  0x15, }, 0x00,0x01 },
209e9deda23SKazutaka YOKOTA /*17*/{{  'i',   'I',  0x09,  0x09,   'i',   'I',  0x09,  0x09, }, 0x00,0x01 },
210e9deda23SKazutaka YOKOTA /*18*/{{  'o',   'O',  0x0F,  0x0F,   'o',   'O',  0x0F,  0x0F, }, 0x00,0x01 },
211e9deda23SKazutaka YOKOTA /*19*/{{  'p',   'P',  0x10,  0x10,   'p',   'P',  0x10,  0x10, }, 0x00,0x01 },
212e9deda23SKazutaka YOKOTA /*1a*/{{  '[',   '{',  0x1B,  0x1B,   '[',   '{',  0x1B,  0x1B, }, 0x00,0x00 },
213e9deda23SKazutaka YOKOTA /*1b*/{{  ']',   '}',  0x1D,  0x1D,   ']',   '}',  0x1D,  0x1D, }, 0x00,0x00 },
214e9deda23SKazutaka YOKOTA /*1c*/{{ 0x0D,  0x0D,  0x0A,  0x0A,  0x0D,  0x0D,  0x0A,  0x0A, }, 0x00,0x00 },
215e9deda23SKazutaka YOKOTA /*1d*/{{ LCTR,  LCTR,  LCTR,  LCTR,  LCTR,  LCTR,  LCTR,  LCTR, }, 0xFF,0x00 },
216e9deda23SKazutaka YOKOTA /*1e*/{{  'a',   'A',  0x01,  0x01,   'a',   'A',  0x01,  0x01, }, 0x00,0x01 },
217e9deda23SKazutaka YOKOTA /*1f*/{{  's',   'S',  0x13,  0x13,   's',   'S',  0x13,  0x13, }, 0x00,0x01 },
218e9deda23SKazutaka YOKOTA /*20*/{{  'd',   'D',  0x04,  0x04,   'd',   'D',  0x04,  0x04, }, 0x00,0x01 },
219e9deda23SKazutaka YOKOTA /*21*/{{  'f',   'F',  0x06,  0x06,   'f',   'F',  0x06,  0x06, }, 0x00,0x01 },
220e9deda23SKazutaka YOKOTA /*22*/{{  'g',   'G',  0x07,  0x07,   'g',   'G',  0x07,  0x07, }, 0x00,0x01 },
221e9deda23SKazutaka YOKOTA /*23*/{{  'h',   'H',  0x08,  0x08,   'h',   'H',  0x08,  0x08, }, 0x00,0x01 },
222e9deda23SKazutaka YOKOTA /*24*/{{  'j',   'J',  0x0A,  0x0A,   'j',   'J',  0x0A,  0x0A, }, 0x00,0x01 },
223e9deda23SKazutaka YOKOTA /*25*/{{  'k',   'K',  0x0B,  0x0B,   'k',   'K',  0x0B,  0x0B, }, 0x00,0x01 },
224e9deda23SKazutaka YOKOTA /*26*/{{  'l',   'L',  0x0C,  0x0C,   'l',   'L',  0x0C,  0x0C, }, 0x00,0x01 },
225e9deda23SKazutaka YOKOTA /*27*/{{  ';',   ':',   NOP,   NOP,   ';',   ':',   NOP,   NOP, }, 0x33,0x00 },
226e9deda23SKazutaka YOKOTA /*28*/{{ '\'',   '"',   NOP,   NOP,  '\'',   '"',   NOP,   NOP, }, 0x33,0x00 },
227e9deda23SKazutaka YOKOTA /*29*/{{  '`',   '~',   NOP,   NOP,   '`',   '~',   NOP,   NOP, }, 0x33,0x00 },
228e9deda23SKazutaka YOKOTA /*2a*/{{  LSH,   LSH,   LSH,   LSH,   LSH,   LSH,   LSH,   LSH, }, 0xFF,0x00 },
229e9deda23SKazutaka YOKOTA /*2b*/{{ '\\',   '|',  0x1C,  0x1C,  '\\',   '|',  0x1C,  0x1C, }, 0x00,0x00 },
230e9deda23SKazutaka YOKOTA /*2c*/{{  'z',   'Z',  0x1A,  0x1A,   'z',   'Z',  0x1A,  0x1A, }, 0x00,0x01 },
231e9deda23SKazutaka YOKOTA /*2d*/{{  'x',   'X',  0x18,  0x18,   'x',   'X',  0x18,  0x18, }, 0x00,0x01 },
232e9deda23SKazutaka YOKOTA /*2e*/{{  'c',   'C',  0x03,  0x03,   'c',   'C',  0x03,  0x03, }, 0x00,0x01 },
233e9deda23SKazutaka YOKOTA /*2f*/{{  'v',   'V',  0x16,  0x16,   'v',   'V',  0x16,  0x16, }, 0x00,0x01 },
234e9deda23SKazutaka YOKOTA /*30*/{{  'b',   'B',  0x02,  0x02,   'b',   'B',  0x02,  0x02, }, 0x00,0x01 },
235e9deda23SKazutaka YOKOTA /*31*/{{  'n',   'N',  0x0E,  0x0E,   'n',   'N',  0x0E,  0x0E, }, 0x00,0x01 },
236e9deda23SKazutaka YOKOTA /*32*/{{  'm',   'M',  0x0D,  0x0D,   'm',   'M',  0x0D,  0x0D, }, 0x00,0x01 },
237e9deda23SKazutaka YOKOTA /*33*/{{  ',',   '<',   NOP,   NOP,   ',',   '<',   NOP,   NOP, }, 0x33,0x00 },
238e9deda23SKazutaka YOKOTA /*34*/{{  '.',   '>',   NOP,   NOP,   '.',   '>',   NOP,   NOP, }, 0x33,0x00 },
239e9deda23SKazutaka YOKOTA /*35*/{{  '/',   '?',   NOP,   NOP,   '/',   '?',   NOP,   NOP, }, 0x33,0x00 },
240e9deda23SKazutaka YOKOTA /*36*/{{  RSH,   RSH,   RSH,   RSH,   RSH,   RSH,   RSH,   RSH, }, 0xFF,0x00 },
241e9deda23SKazutaka YOKOTA /*37*/{{  '*',   '*',   '*',   '*',   '*',   '*',   '*',   '*', }, 0x00,0x00 },
242e9deda23SKazutaka YOKOTA /*38*/{{ LALT,  LALT,  LALT,  LALT,  LALT,  LALT,  LALT,  LALT, }, 0xFF,0x00 },
243e9deda23SKazutaka YOKOTA /*39*/{{  ' ',   ' ',  0x00,   ' ',   ' ',   ' ',  SUSP,   ' ', }, 0x02,0x00 },
244e9deda23SKazutaka YOKOTA /*3a*/{{  CLK,   CLK,   CLK,   CLK,   CLK,   CLK,   CLK,   CLK, }, 0xFF,0x00 },
245e9deda23SKazutaka YOKOTA /*3b*/{{ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11),}, 0xFF,0x00 },
246e9deda23SKazutaka YOKOTA /*3c*/{{ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12),}, 0xFF,0x00 },
247e9deda23SKazutaka YOKOTA /*3d*/{{ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13),}, 0xFF,0x00 },
248e9deda23SKazutaka YOKOTA /*3e*/{{ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14),}, 0xFF,0x00 },
249e9deda23SKazutaka YOKOTA /*3f*/{{ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15),}, 0xFF,0x00 },
250e9deda23SKazutaka YOKOTA /*40*/{{ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16),}, 0xFF,0x00 },
251e9deda23SKazutaka YOKOTA /*41*/{{ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7),}, 0xFF,0x00 },
252e9deda23SKazutaka YOKOTA /*42*/{{ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8),}, 0xFF,0x00 },
253e9deda23SKazutaka YOKOTA /*43*/{{ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9),}, 0xFF,0x00 },
254e9deda23SKazutaka YOKOTA /*44*/{{ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10),}, 0xFF,0x00 },
255e9deda23SKazutaka YOKOTA /*45*/{{  NLK,   NLK,   NLK,   NLK,   NLK,   NLK,   NLK,   NLK, }, 0xFF,0x00 },
256e9deda23SKazutaka YOKOTA /*46*/{{  SLK,   SLK,   SLK,   SLK,   SLK,   SLK,   SLK,   SLK, }, 0xFF,0x00 },
257e9deda23SKazutaka YOKOTA /*47*/{{ F(49),  '7',   '7',   '7',   '7',   '7',   '7',   '7', }, 0x80,0x02 },
258e9deda23SKazutaka YOKOTA /*48*/{{ F(50),  '8',   '8',   '8',   '8',   '8',   '8',   '8', }, 0x80,0x02 },
259e9deda23SKazutaka YOKOTA /*49*/{{ F(51),  '9',   '9',   '9',   '9',   '9',   '9',   '9', }, 0x80,0x02 },
260e9deda23SKazutaka YOKOTA /*4a*/{{ F(52),  '-',   '-',   '-',   '-',   '-',   '-',   '-', }, 0x80,0x02 },
261e9deda23SKazutaka YOKOTA /*4b*/{{ F(53),  '4',   '4',   '4',   '4',   '4',   '4',   '4', }, 0x80,0x02 },
262e9deda23SKazutaka YOKOTA /*4c*/{{ F(54),  '5',   '5',   '5',   '5',   '5',   '5',   '5', }, 0x80,0x02 },
263e9deda23SKazutaka YOKOTA /*4d*/{{ F(55),  '6',   '6',   '6',   '6',   '6',   '6',   '6', }, 0x80,0x02 },
264e9deda23SKazutaka YOKOTA /*4e*/{{ F(56),  '+',   '+',   '+',   '+',   '+',   '+',   '+', }, 0x80,0x02 },
265e9deda23SKazutaka YOKOTA /*4f*/{{ F(57),  '1',   '1',   '1',   '1',   '1',   '1',   '1', }, 0x80,0x02 },
266e9deda23SKazutaka YOKOTA /*50*/{{ F(58),  '2',   '2',   '2',   '2',   '2',   '2',   '2', }, 0x80,0x02 },
267e9deda23SKazutaka YOKOTA /*51*/{{ F(59),  '3',   '3',   '3',   '3',   '3',   '3',   '3', }, 0x80,0x02 },
268e9deda23SKazutaka YOKOTA /*52*/{{ F(60),  '0',   '0',   '0',   '0',   '0',   '0',   '0', }, 0x80,0x02 },
269e9deda23SKazutaka YOKOTA /*53*/{{ 0x7F,   '.',   '.',   '.',   '.',   '.',   RBT,   RBT, }, 0x03,0x02 },
270e9deda23SKazutaka YOKOTA /*54*/{{  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP, }, 0xFF,0x00 },
271e9deda23SKazutaka YOKOTA /*55*/{{  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP, }, 0xFF,0x00 },
272e9deda23SKazutaka YOKOTA /*56*/{{  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP, }, 0xFF,0x00 },
273e9deda23SKazutaka YOKOTA /*57*/{{ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11),}, 0xFF,0x00 },
274e9deda23SKazutaka YOKOTA /*58*/{{ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12),}, 0xFF,0x00 },
275e9deda23SKazutaka YOKOTA /*59*/{{ 0x0D,  0x0D,  0x0A,  0x0A,  0x0D,  0x0D,  0x0A,  0x0A, }, 0x00,0x00 },
276e9deda23SKazutaka YOKOTA /*5a*/{{ RCTR,  RCTR,  RCTR,  RCTR,  RCTR,  RCTR,  RCTR,  RCTR, }, 0xFF,0x00 },
277e9deda23SKazutaka YOKOTA /*5b*/{{  '/',   '/',   '/',   '/',   '/',   '/',   '/',   '/', }, 0x00,0x02 },
278e9deda23SKazutaka YOKOTA /*5c*/{{ NEXT,  NEXT,   DBG,   DBG,   NOP,   NOP,   NOP,   NOP, }, 0xFF,0x00 },
279e9deda23SKazutaka YOKOTA /*5d*/{{ RALT,  RALT,  RALT,  RALT,  RALT,  RALT,  RALT,  RALT, }, 0xFF,0x00 },
280e9deda23SKazutaka YOKOTA /*5e*/{{ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49),}, 0xFF,0x00 },
281e9deda23SKazutaka YOKOTA /*5f*/{{ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50),}, 0xFF,0x00 },
282e9deda23SKazutaka YOKOTA /*60*/{{ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51),}, 0xFF,0x00 },
283e9deda23SKazutaka YOKOTA /*61*/{{ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53),}, 0xFF,0x00 },
284e9deda23SKazutaka YOKOTA /*62*/{{ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55),}, 0xFF,0x00 },
285e9deda23SKazutaka YOKOTA /*63*/{{ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57),}, 0xFF,0x00 },
286e9deda23SKazutaka YOKOTA /*64*/{{ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58),}, 0xFF,0x00 },
287e9deda23SKazutaka YOKOTA /*65*/{{ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59),}, 0xFF,0x00 },
288e9deda23SKazutaka YOKOTA /*66*/{{ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60),}, 0xFF,0x00 },
289e9deda23SKazutaka YOKOTA /*67*/{{ F(61), F(61), F(61), F(61), F(61), F(61),  RBT,  F(61),}, 0xFF,0x00 },
290e9deda23SKazutaka YOKOTA /*68*/{{  SLK,  SPSC,   SLK,  SPSC,  SUSP,   NOP,  SUSP,   NOP, }, 0xFF,0x00 },
291e9deda23SKazutaka YOKOTA /*69*/{{ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62),}, 0xFF,0x00 },
292e9deda23SKazutaka YOKOTA /*6a*/{{ F(63), F(63), F(63), F(63), F(63), F(63), F(63), F(63),}, 0xFF,0x00 },
293e9deda23SKazutaka YOKOTA /*6b*/{{ F(64), F(64), F(64), F(64), F(64), F(64), F(64), F(64),}, 0xFF,0x00 },
294e9deda23SKazutaka YOKOTA /*6c*/{{  NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP,   NOP, }, 0xFF,0x00 },
295ffba82a9SKazutaka YOKOTA } };
296e9deda23SKazutaka YOKOTA #endif /* !PC98 */
297916347f7SJordan K. Hubbard 
298a3bd3dacSKazutaka YOKOTA #if defined(NO_ACCENTCHARS)
299a3bd3dacSKazutaka YOKOTA static accentmap_t accent_map = { 0,		/* empty accent map */
300a3bd3dacSKazutaka YOKOTA   {
301a3bd3dacSKazutaka YOKOTA     { 0 }, { 0 }, { 0 }, { 0 }, { 0 }, { 0 }, { 0 }, { 0 },
302a3bd3dacSKazutaka YOKOTA     { 0 }, { 0 }, { 0 }, { 0 }, { 0 }, { 0 }, { 0 },
303a3bd3dacSKazutaka YOKOTA   }
304a3bd3dacSKazutaka YOKOTA };
305a3bd3dacSKazutaka YOKOTA #endif
306a3bd3dacSKazutaka YOKOTA 
307a3bd3dacSKazutaka YOKOTA #if defined(ISO_ACCENTCHARS)
308a3bd3dacSKazutaka YOKOTA static accentmap_t accent_map = { 15,	      /* iso8859 accent map */
309a3bd3dacSKazutaka YOKOTA   {
310a3bd3dacSKazutaka YOKOTA     /* dgra=0 */
311a3bd3dacSKazutaka YOKOTA     {  '`', { {  'a',0xe0 }, {  'A',0xc0 }, {  'e',0xe8 }, {  'E',0xc8 },
312a3bd3dacSKazutaka YOKOTA 	      {  'i',0xec }, {  'I',0xcc }, {  'o',0xf2 }, {  'O',0xd2 },
313a3bd3dacSKazutaka YOKOTA 	      {  'u',0xf9 }, {  'U',0xd9 }, }, },
314a3bd3dacSKazutaka YOKOTA     /* dacu=1 */
315a3bd3dacSKazutaka YOKOTA     { 0xb4, { {  'a',0xe1 }, {  'A',0xc1 }, {  'e',0xe9 }, {  'E',0xc9 },
316a3bd3dacSKazutaka YOKOTA 	      {  'i',0xed }, {  'I',0xcd }, {  'o',0xf3 }, {  'O',0xd3 },
317a3bd3dacSKazutaka YOKOTA 	      {  'u',0xfa }, {  'U',0xda }, {  'y',0xfd }, {  'Y',0xdd }, }, },
318a3bd3dacSKazutaka YOKOTA     /* dcir=2 */
319a3bd3dacSKazutaka YOKOTA     {  '^', { {  'a',0xe2 }, {  'A',0xc2 }, {  'e',0xea }, {  'E',0xca },
320a3bd3dacSKazutaka YOKOTA 	      {  'i',0xee }, {  'I',0xce }, {  'o',0xf4 }, {  'O',0xd4 },
321a3bd3dacSKazutaka YOKOTA 	      {  'u',0xfb }, {  'U',0xdb }, }, },
322a3bd3dacSKazutaka YOKOTA     /* dtil=3 */
323a3bd3dacSKazutaka YOKOTA     {  '~', { {  'a',0xe3 }, {  'A',0xc3 }, {  'n',0xf1 }, {  'N',0xd1 },
324a3bd3dacSKazutaka YOKOTA 	      {  'o',0xf5 }, {  'O',0xd5 }, }, },
325a3bd3dacSKazutaka YOKOTA     /* dmac=4 */
326a3bd3dacSKazutaka YOKOTA     { 0 },
327a3bd3dacSKazutaka YOKOTA     /* dbre=5 */
328a3bd3dacSKazutaka YOKOTA     { 0 },
329a3bd3dacSKazutaka YOKOTA     /* ddot=6 */
330a3bd3dacSKazutaka YOKOTA     { 0 },
331a3bd3dacSKazutaka YOKOTA     /* duml=7 */
332a3bd3dacSKazutaka YOKOTA     { 0xa8, { {  'a',0xe4 }, {  'A',0xc4 }, {  'e',0xeb }, {  'E',0xcb },
333a3bd3dacSKazutaka YOKOTA 	      {  'i',0xef }, {  'I',0xcf }, {  'o',0xf6 }, {  'O',0xd6 },
334a3bd3dacSKazutaka YOKOTA 	      {  'u',0xfc }, {  'U',0xdc }, {  'y',0xff }, }, },
335a3bd3dacSKazutaka YOKOTA     /* dsla=8 */
336a3bd3dacSKazutaka YOKOTA     { 0 },
337a3bd3dacSKazutaka YOKOTA     /* drin=9 */
338a3bd3dacSKazutaka YOKOTA     { 0xb0, { {  'a',0xe5 }, {  'A',0xc5 }, }, },
339a3bd3dacSKazutaka YOKOTA     /* dced=10 */
340a3bd3dacSKazutaka YOKOTA     { 0xb8, { {  'c',0xe7 }, {  'C',0xc7 }, }, },
341a3bd3dacSKazutaka YOKOTA     /* dapo=11 */
342a3bd3dacSKazutaka YOKOTA     { 0 },
343a3bd3dacSKazutaka YOKOTA     /* ddac=12 */
344a3bd3dacSKazutaka YOKOTA     { 0 },
345a3bd3dacSKazutaka YOKOTA     /* dogo=13 */
346a3bd3dacSKazutaka YOKOTA     { 0 },
347a3bd3dacSKazutaka YOKOTA     /* dcar=14 */
348a3bd3dacSKazutaka YOKOTA     { 0 },
349a3bd3dacSKazutaka YOKOTA   }
350a3bd3dacSKazutaka YOKOTA };
351a3bd3dacSKazutaka YOKOTA #endif /* ISO_ACCENTCHARS */
352a3bd3dacSKazutaka YOKOTA 
353e9deda23SKazutaka YOKOTA #endif /* !KBD_DFLT_KEYMAP */
354e9deda23SKazutaka YOKOTA 
3556f4e0bebSPoul-Henning Kamp static fkeytab_t fkey_tab[96] = {
356a926a37bSSøren Schmidt /* 01-04 */	{"\033[M", 3}, {"\033[N", 3}, {"\033[O", 3}, {"\033[P", 3},
357a926a37bSSøren Schmidt /* 05-08 */	{"\033[Q", 3}, {"\033[R", 3}, {"\033[S", 3}, {"\033[T", 3},
358a926a37bSSøren Schmidt /* 09-12 */	{"\033[U", 3}, {"\033[V", 3}, {"\033[W", 3}, {"\033[X", 3},
359a926a37bSSøren Schmidt /* 13-16 */	{"\033[Y", 3}, {"\033[Z", 3}, {"\033[a", 3}, {"\033[b", 3},
360a926a37bSSøren Schmidt /* 17-20 */	{"\033[c", 3}, {"\033[d", 3}, {"\033[e", 3}, {"\033[f", 3},
361a926a37bSSøren Schmidt /* 21-24 */	{"\033[g", 3}, {"\033[h", 3}, {"\033[i", 3}, {"\033[j", 3},
362a926a37bSSøren Schmidt /* 25-28 */	{"\033[k", 3}, {"\033[l", 3}, {"\033[m", 3}, {"\033[n", 3},
363a926a37bSSøren Schmidt /* 29-32 */	{"\033[o", 3}, {"\033[p", 3}, {"\033[q", 3}, {"\033[r", 3},
364a926a37bSSøren Schmidt /* 33-36 */	{"\033[s", 3}, {"\033[t", 3}, {"\033[u", 3}, {"\033[v", 3},
365a926a37bSSøren Schmidt /* 37-40 */	{"\033[w", 3}, {"\033[x", 3}, {"\033[y", 3}, {"\033[z", 3},
366a926a37bSSøren Schmidt /* 41-44 */	{"\033[@", 3}, {"\033[[", 3}, {"\033[\\",3}, {"\033[]", 3},
367a926a37bSSøren Schmidt /* 45-48 */     {"\033[^", 3}, {"\033[_", 3}, {"\033[`", 3}, {"\033[{", 3},
368a926a37bSSøren Schmidt /* 49-52 */	{"\033[H", 3}, {"\033[A", 3}, {"\033[I", 3}, {"-"     , 1},
369a926a37bSSøren Schmidt /* 53-56 */	{"\033[D", 3}, {"\033[E", 3}, {"\033[C", 3}, {"+"     , 1},
370a926a37bSSøren Schmidt /* 57-60 */	{"\033[F", 3}, {"\033[B", 3}, {"\033[G", 3}, {"\033[L", 3},
371d23c175fSSøren Schmidt /* 61-64 */	{"\177", 1},   {"\033[J", 3}, {"\033[~", 3}, {"\033[}", 3},
372a926a37bSSøren Schmidt /* 65-68 */	{"", 0}      , {"", 0}      , {"", 0}      , {"", 0}      ,
373a926a37bSSøren Schmidt /* 69-72 */	{"", 0}      , {"", 0}      , {"", 0}      , {"", 0}      ,
374a926a37bSSøren Schmidt /* 73-76 */	{"", 0}      , {"", 0}      , {"", 0}      , {"", 0}      ,
375a926a37bSSøren Schmidt /* 77-80 */	{"", 0}      , {"", 0}      , {"", 0}      , {"", 0}      ,
376a926a37bSSøren Schmidt /* 81-84 */	{"", 0}      , {"", 0}      , {"", 0}      , {"", 0}      ,
377a926a37bSSøren Schmidt /* 85-88 */	{"", 0}      , {"", 0}      , {"", 0}      , {"", 0}      ,
378a926a37bSSøren Schmidt /* 89-92 */	{"", 0}      , {"", 0}      , {"", 0}      , {"", 0}      ,
379a926a37bSSøren Schmidt /* 93-96 */	{"", 0}      , {"", 0}      , {"", 0}      , {"", 0}
380916347f7SJordan K. Hubbard };
381