2 //Copyright 1996, 1998 The Open Group
4 //Permission to use, copy, modify, distribute, and sell this software and its
5 //documentation for any purpose is hereby granted without fee, provided that
6 //the above copyright notice appear in all copies and that both that
7 //copyright notice and this permission notice appear in supporting
10 //The above copyright notice and this permission notice shall be
11 //included in all copies or substantial portions of the Software.
13 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
14 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
15 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
16 //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
17 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
18 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
19 //OTHER DEALINGS IN THE SOFTWARE.
21 //Except as contained in this notice, the name of The Open Group shall
22 //not be used in advertising or otherwise to promote the sale, use or
23 //other dealings in this Software without prior written authorization
24 //from The Open Group.
26 // symbols for a NEC PC98 keyboard
27 default xkb_symbols "pc98" {
29 key <ESC> { [ Escape ] };
31 // Alphanumeric section
32 key <AE01> { [ 1, exclam ], [ kana_NU ] };
33 key <AE02> { [ 2, quotedbl ], [ kana_FU ] };
34 key <AE03> { [ 3, numbersign ], [ kana_A, kana_a ] };
35 key <AE04> { [ 4, dollar ], [ kana_U, kana_u ] };
36 key <AE05> { [ 5, percent ], [ kana_E, kana_e ] };
37 key <AE06> { [ 6, ampersand ], [ kana_O, kana_o ] };
38 key <AE07> { [ 7, apostrophe ], [ kana_YA, kana_ya ] };
39 key <AE08> { [ 8, parenleft ], [ kana_YU, kana_yu ] };
40 key <AE09> { [ 9, parenright ], [ kana_YO, kana_yo ] };
41 key <AE10> { [ 0 ], [ kana_WA, kana_WO ] };
42 key <AE11> { [ minus, equal ], [ kana_HO ] };
43 key <AE12> { [ asciicircum, quoteleft ], [ kana_HE ] };
44 key <BKSL> { [ backslash, bar ], [ prolongedsound ] };
45 key <BKSP> { [ BackSpace ] };
47 key <TAB> { [ Tab, ISO_Left_Tab ] };
48 key <AD01> { [ q, Q ], [ kana_TA ] };
49 key <AD02> { [ w, W ], [ kana_TE ] };
50 key <AD03> { [ e, E ], [ kana_I, kana_i ] };
51 key <AD04> { [ r, R ], [ kana_SU ] };
52 key <AD05> { [ t, T ], [ kana_KA ] };
53 key <AD06> { [ y, Y ], [ kana_N ] };
54 key <AD07> { [ u, U ], [ kana_NA ] };
55 key <AD08> { [ i, I ], [ kana_NI ] };
56 key <AD09> { [ o, O ], [ kana_RA ] };
57 key <AD10> { [ p, P ], [ kana_SE ] };
58 key <AD11> { [ at, asciitilde ], [ voicedsound ] };
59 key <AD12> { [ bracketleft, braceleft ], [ semivoicedsound, kana_openingbracket ] };
60 key <RTRN> { [ Return ] };
62 key <LCTL> { [ Control_L ] };
63 key <CAPS> { [ Caps_Lock ] };
64 key <AC01> { [ a, A ], [ kana_CHI ] };
65 key <AC02> { [ s, S ], [ kana_TO ] };
66 key <AC03> { [ d, D ], [ kana_SHI ] };
67 key <AC04> { [ f, F ], [ kana_HA ] };
68 key <AC05> { [ g, G ], [ kana_KI ] };
69 key <AC06> { [ h, H ], [ kana_KU ] };
70 key <AC07> { [ j, J ], [ kana_MA ] };
71 key <AC08> { [ k, K ], [ kana_NO ] };
72 key <AC09> { [ l, L ], [ kana_RI ] };
73 key <AC10> { [ semicolon, plus ], [ kana_RE ] };
74 key <AC11> { [ colon, asterisk ], [ kana_KE ] };
75 key <AC12> { [ bracketright, braceright ], [ kana_MU, kana_closingbracket ] };
77 key <LFSH> { [ Shift_L ] };
78 key <AB01> { [ z, Z ], [ kana_TSU, kana_tsu ] };
79 key <AB02> { [ x, X ], [ kana_SA ] };
80 key <AB03> { [ c, C ], [ kana_SO ] };
81 key <AB04> { [ v, V ], [ kana_HI ] };
82 key <AB05> { [ b, B ], [ kana_KO ] };
83 key <AB06> { [ n, N ], [ kana_MI ] };
84 key <AB07> { [ m, M ], [ kana_MO ] };
85 key <AB08> { [ comma, less ], [ kana_NE, kana_comma ] };
86 key <AB09> { [ period, greater ], [ kana_RU, kana_fullstop ] };
87 key <AB10> { [ slash, question ], [ kana_ME, kana_middledot ] };
88 key <AB11> { [ NoSymbol, underscore ], [ kana_RO ] };
89 // key <RTSH> { [ Shift_R ] };
91 key <ALGR> { [ Mode_switch ] };
92 key <LALT> { [ Alt_L ] };
93 key <NFER> { [ Muhenkan ] };
94 key <SPCE> { [ space ] };
95 key <XFER> { [ Henkan, Kanji ] };
97 // End alphanumeric section
99 // Begin "Function" section
100 key <BRK> { [ Break ] };
101 key <PRSC> { [ Print ] };
102 key <FK01> { [ F1 ] };
103 key <FK02> { [ F2 ] };
104 key <FK03> { [ F3 ] };
105 key <FK04> { [ F4 ] };
106 key <FK05> { [ F5 ] };
107 key <FK06> { [ F6 ] };
108 key <FK07> { [ F7 ] };
109 key <FK08> { [ F8 ] };
110 key <FK09> { [ F9 ] };
111 key <FK10> { [ F10 ] };
112 key <FK11> { [ F11 ] };
113 key <FK12> { [ F12 ] };
114 key <FK13> { [ F13 ] };
115 key <FK14> { [ F14 ] };
116 key <FK15> { [ F15 ] };
117 // End "Function" section
119 // Begin "Editing" section
120 key <INS> { [ Insert ] };
121 key <DELE> { [ Delete ] };
122 key <PGUP> { [ Prior ] };
123 key <PGDN> { [ Next ] };
125 key <LEFT> { [ Left ] };
126 key <RGHT> { [ Right ] };
127 key <DOWN> { [ Down ] };
128 // End "Editing" section
130 // Begin "Keypad" section
131 key <HOME> { [ Clear, Home ] };
132 key <HELP> { [ Help ] };
133 key <KPSU> { [ KP_Subtract ] };
134 key <KPDV> { [ KP_Divide ] };
136 key <KP7> { [ KP_7 ] };
137 key <KP8> { [ KP_8 ] };
138 key <KP9> { [ KP_9 ] };
139 key <KPMU> { [ KP_Multiply ] };
141 key <KP4> { [ KP_4 ] };
142 key <KP5> { [ KP_5 ] };
143 key <KP6> { [ KP_6 ] };
144 key <KPAD> { [ KP_Add ] };
146 key <KP1> { [ KP_1 ] };
147 key <KP2> { [ KP_2 ] };
148 key <KP3> { [ KP_3 ] };
149 key <KPEQ> { [ KP_Equal ] };
151 key <KP0> { [ KP_0 ] };
152 key <KPSP> { [ KP_Separator ] };
153 key <KPDC> { [ KP_Decimal ] };
154 // key <KPEN> { [ KP_Enter ] };
155 // End "Keypad" section
157 // begin modifier mappings
158 modifier_map Shift { Shift_L };
159 modifier_map Lock { Caps_Lock };
160 modifier_map Control{ Control_L };
161 modifier_map Mod1 { Alt_L };
162 modifier_map Mod2 { Mode_switch };