2 // symbols for a Japanese 106 keyboard(by tsuka@kawalab.dnj.ynu.ac.jp)
5 partial default alphanumeric_keys
8 name[Group1]= "Japanese";
10 key <AE10> { [ 0, asciitilde ] };
11 key <AE13> { [ backslash, bar ] };
14 // common latin part of jp keyboard map
15 partial hidden alphanumeric_keys
16 xkb_symbols "common" {
17 // "Common" keys for jp 106/109A layout
19 // Alphanumeric section
21 type[Group1]="PC_ALT_LEVEL2",
22 symbols[Group1]= [ Zenkaku_Hankaku, Kanji ]
25 key <AE01> { [ 1, exclam ] };
26 key <AE02> { [ 2, quotedbl ] };
27 key <AE03> { [ 3, numbersign ] };
28 key <AE04> { [ 4, dollar ] };
29 key <AE05> { [ 5, percent ] };
30 key <AE06> { [ 6, ampersand ] };
31 key <AE07> { [ 7, apostrophe ] };
32 key <AE08> { [ 8, parenleft ] };
33 key <AE09> { [ 9, parenright ] };
34 key <AE11> { [ minus, equal ] };
35 key <AE12> { [ asciicircum, asciitilde] };
37 key <AD01> { [ q, Q ] };
38 key <AD02> { [ w, W ] };
39 key <AD03> { [ e, E ] };
40 key <AD04> { [ r, R ] };
41 key <AD05> { [ t, T ] };
42 key <AD06> { [ y, Y ] };
43 key <AD07> { [ u, U ] };
44 key <AD08> { [ i, I ] };
45 key <AD09> { [ o, O ] };
46 key <AD10> { [ p, P ] };
47 key <AD11> { [ at, grave ] };
48 key <AD12> { [ bracketleft, braceleft ] };
50 key <CAPS> { [ Eisu_toggle, Caps_Lock ] };
52 key <AC01> { [ a, A ] };
53 key <AC02> { [ s, S ] };
54 key <AC03> { [ d, D ] };
55 key <AC04> { [ f, F ] };
56 key <AC05> { [ g, G ] };
57 key <AC06> { [ h, H ] };
58 key <AC07> { [ j, J ] };
59 key <AC08> { [ k, K ] };
60 key <AC09> { [ l, L ] };
61 key <AC10> { [ semicolon, plus ] };
62 key <AC11> { [ colon, asterisk ] };
63 key <AC12> { [ bracketright, braceright ] };
65 key <AB01> { [ z, Z ] };
66 key <AB02> { [ x, X ] };
67 key <AB03> { [ c, C ] };
68 key <AB04> { [ v, V ] };
69 key <AB05> { [ b, B ] };
70 key <AB06> { [ n, N ] };
71 key <AB07> { [ m, M ] };
72 key <AB08> { [ comma, less ] };
73 key <AB09> { [ period, greater ] };
74 key <AB10> { [ slash, question ] };
75 key <AB11> { [ backslash, underscore] };
76 key <LCTL> { [ Control_L ] };
78 key <NFER> { [ Muhenkan ] };
81 type[Group1]="PC_ALT_LEVEL2",
82 symbols[Group1]= [ Henkan, Mode_switch ]
85 type[Group1]="PC_ALT_LEVEL2",
86 symbols[Group1]= [ Hiragana_Katakana, Romaji ]
90 type[Group1]="PC_ALT_LEVEL2",
91 symbols[Group1]= [ Eisu_toggle ]
95 type[Group1]="PC_ALT_LEVEL2",
96 symbols[Group1]= [ Hiragana_Katakana ]
101 type[Group1]= "PC_ALT_LEVEL2",
102 symbols[Group1]= [ Print, Execute ]
107 partial alphanumeric_keys
108 xkb_symbols "OADG109A" {
111 name[Group1]= "Japanese (OADG 109A)";
113 key <AE10> { [ 0 ] };
114 key <AE13> { [ yen, bar ] };
117 // 86 keys with kana map
118 partial alphanumeric_keys
119 xkb_symbols "kana86" {
121 include "pc(function)"
122 include "pc(editing)"
123 include "keypad(numoperdecsep)"
124 include "altwin(menu)"
126 include "jp(OADG109A)"
127 name[Group1]= "Japanese (Kana 86)";
129 key <ESC> { [ Escape ] };
130 key <NMLK> { [ Num_Lock, Pointer_EnableKeys ] };
131 key <BKSP> { [ BackSpace ] };
132 key <TAB> { [ Tab, ISO_Left_Tab ] };
133 key <RTRN> { [ Return ] };
134 key <LFSH> { [ Shift_L ] };
135 key <RTSH> { [ Shift_R ] };
136 key <LWIN> { [ Super_L ] };
137 key <LALT> { [ Alt_L ] };
138 key <SPCE> { [ space ] };
139 key <RALT> { [ Alt_R ] };
140 // for compatability with other keyboards connected at the same time
141 key <RWIN> { [ Super_R ] };
142 key <RCTL> { [ Control_R ] };
145 partial alphanumeric_keys
148 name[Group1]= "Japanese (Kana)";
150 // Alphanumeric section
152 type[Group1]="PC_ALT_LEVEL2",
153 symbols[Group1]= [ Zenkaku_Hankaku, Kanji ]
155 key <AE01> { [ kana_NU ] };
156 key <AE02> { [ kana_FU ] };
157 key <AE03> { [ kana_A, kana_a ] };
158 key <AE04> { [ kana_U, kana_u ] };
159 key <AE05> { [ kana_E, kana_e ] };
160 key <AE06> { [ kana_O, kana_o ] };
161 key <AE07> { [ kana_YA, kana_ya ] };
162 key <AE08> { [ kana_YU, kana_yu ] };
163 key <AE09> { [ kana_YO, kana_yo ] };
164 key <AE10> { [ kana_WA, kana_WO ] };
165 key <AE11> { [ kana_HO ] };
166 key <AE12> { [ kana_HE ] };
167 key <AE13> { [ prolongedsound ] };
169 key <AD01> { [ kana_TA ] };
170 key <AD02> { [ kana_TE ] };
171 key <AD03> { [ kana_I, kana_i ] };
172 key <AD04> { [ kana_SU ] };
173 key <AD05> { [ kana_KA ] };
174 key <AD06> { [ kana_N ] };
175 key <AD07> { [ kana_NA ] };
176 key <AD08> { [ kana_NI ] };
177 key <AD09> { [ kana_RA ] };
178 key <AD10> { [ kana_SE ] };
179 key <AD11> { [ voicedsound ] };
180 key <AD12> { [ semivoicedsound, kana_openingbracket ] };
182 key <CAPS> { [ Eisu_toggle, Caps_Lock ] };
183 key <AC01> { [ kana_CHI ] };
184 key <AC02> { [ kana_TO ] };
185 key <AC03> { [ kana_SHI ] };
186 key <AC04> { [ kana_HA ] };
187 key <AC05> { [ kana_KI ] };
188 key <AC06> { [ kana_KU ] };
189 key <AC07> { [ kana_MA ] };
190 key <AC08> { [ kana_NO ] };
191 key <AC09> { [ kana_RI ] };
192 key <AC10> { [ kana_RE ] };
193 key <AC11> { [ kana_KE ] };
194 key <AC12> { [ kana_MU, kana_closingbracket ] };
196 key <AB01> { [ kana_TSU, kana_tsu ] };
197 key <AB02> { [ kana_SA ] };
198 key <AB03> { [ kana_SO ] };
199 key <AB04> { [ kana_HI ] };
200 key <AB05> { [ kana_KO ] };
201 key <AB06> { [ kana_MI ] };
202 key <AB07> { [ kana_MO ] };
203 key <AB08> { [ kana_NE, kana_comma ] };
204 key <AB09> { [ kana_RU, kana_fullstop ] };
205 key <AB10> { [ kana_ME, kana_middledot ] };
206 key <AB11> { [ kana_RO ] };
207 key <LCTL> { [ Control_L ] };
209 key <NFER> { [ Muhenkan ] };
212 type[Group1]="PC_ALT_LEVEL2",
213 symbols[Group1]= [ Henkan, Mode_switch ]
216 type[Group1]="PC_ALT_LEVEL2",
217 symbols[Group1]= [ Hiragana_Katakana, Romaji ]
220 // End alphanumeric section
223 type[Group1]= "PC_ALT_LEVEL2",
224 symbols[Group1]= [ Print, Execute ]
228 partial alphanumeric_keys
229 xkb_symbols "nicola_f_bs" {
232 symbols[Group1]= [ bracketright, braceright ]
234 key <AE10> { [ 0,underscore ] };
235 key <AD11> { [ colon, asterisk ] };
236 key <AC11> { [ BackSpace, BackSpace ] };
237 key <AC12> { [ Escape ] };
238 key <AB11> { [ at, grave ] };
241 // Copied from macintosh_vndr/jp
242 partial alphanumeric_keys
244 name[Group1] = "Japanese (Macintosh)";
247 replace key <CAPS> { [ Caps_Lock ] };