3 // Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5 // Permission is hereby granted, free of charge, to any person obtaining a
6 // copy of this software and associated documentation files (the
7 // "Software"), to deal in the Software without restriction, including
8 // without limitation the rights to use, copy, modify, merge, publish,
9 // distribute, and/or sell copies of the Software, and to permit persons
10 // to whom the Software is furnished to do so, provided that the above
11 // copyright notice(s) and this permission notice appear in all copies of
12 // the Software and that both the above copyright notice(s) and this
13 // permission notice appear in supporting documentation.
15 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
18 // OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
19 // HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
20 // INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
21 // FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
22 // NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
23 // WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
25 // Except as contained in this notice, the name of a copyright holder
26 // shall not be used in advertising or otherwise to promote the sale, use
27 // or other dealings in this Software without prior written authorization
28 // of the copyright holder.
30 // $TOG: us /main/5 1998/02/10 13:45:06 kaleb $
32 //Copyright 1996, 1998 The Open Group
34 //All Rights Reserved.
36 //The above copyright notice and this permission notice shall be
37 //included in all copies or substantial portions of the Software.
39 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
40 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
41 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
42 //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
43 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
44 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
45 //OTHER DEALINGS IN THE SOFTWARE.
47 //Except as contained in this notice, the name of The Open Group shall
48 //not be used in advertising or otherwise to promote the sale, use or
49 //other dealings in this Software without prior written authorization
50 //from The Open Group.
52 // US/ASCII layout for a Type 4 Sun keyboard
55 // Alphanumeric section
56 key <AE01> { [ 1, exclam ], [ kana_NU ] };
57 key <AE02> { [ 2, quotedbl ], [ kana_FU ] };
58 key <AE03> { [ 3, numbersign ], [ kana_A, kana_a ] };
59 key <AE04> { [ 4, dollar ], [ kana_U, kana_u ] };
60 key <AE05> { [ 5, percent ], [ kana_E, kana_e ] };
61 key <AE06> { [ 6, ampersand ], [ kana_O, kana_o ] };
62 key <AE07> { [ 7, apostrophe ], [ kana_YA, kana_ya ] };
63 key <AE08> { [ 8, parenleft ], [ kana_YU, kana_yu ] };
64 key <AE09> { [ 9, parenright ], [ kana_YO, kana_yo ] };
65 key <AE10> { [ 0 ], [ kana_WA, kana_WO ] };
66 key <AE11> { [ minus, equal ], [ kana_HO ] };
67 key <AE12> { [ asciicircum, asciitilde], [ kana_HE ] };
68 key <BKSP> { [ BackSpace ] };
70 key <TAB> { [ Tab, ISO_Left_Tab ] };
71 key <AD01> { [ q, Q ], [ kana_TA ] };
72 key <AD02> { [ w, W ], [ kana_TE ] };
73 key <AD03> { [ e, E ], [ kana_I, kana_i ] };
74 key <AD04> { [ r, R ], [ kana_SU ] };
75 key <AD05> { [ t, T ], [ kana_KA ] };
76 key <AD06> { [ y, Y ], [ kana_N ] };
77 key <AD07> { [ u, U ], [ kana_NA ] };
78 key <AD08> { [ i, I ], [ kana_NI ] };
79 key <AD09> { [ o, O ], [ kana_RA ] };
80 key <AD10> { [ p, P ], [ kana_SE ] };
81 key <AD11> { [ at, quoteleft ], [ voicedsound ] };
82 key <AD12> { [ bracketleft, braceleft ], [ semivoicedsound, kana_openingbracket ] };
83 key <RTRN> { [ Return ] };
85 key <CAPS> { [ Caps_Lock ] };
86 key <AC01> { [ a, A ], [ kana_CHI ] };
87 key <AC02> { [ s, S ], [ kana_TO ] };
88 key <AC03> { [ d, D ], [ kana_SHI ] };
89 key <AC04> { [ f, F ], [ kana_HA ] };
90 key <AC05> { [ g, G ], [ kana_KI ] };
91 key <AC06> { [ h, H ], [ kana_KU ] };
92 key <AC07> { [ j, J ], [ kana_MA ] };
93 key <AC08> { [ k, K ], [ kana_NO ] };
94 key <AC09> { [ l, L ], [ kana_RI ] };
95 key <AC10> { [ semicolon, plus ], [ kana_RE ] };
96 key <AC11> { [ colon, asterisk ], [ kana_KE ] };
97 key <TLDE> { [ bracketright, braceright ], [ kana_MU, kana_closingbracket ] };
99 key <AB01> { [ z, Z ], [ kana_TSU, kana_tsu ] };
100 key <AB02> { [ x, X ], [ kana_SA ] };
101 key <AB03> { [ c, C ], [ kana_SO ] };
102 key <AB04> { [ v, V ], [ kana_HI ] };
103 key <AB05> { [ b, B ], [ kana_KO ] };
104 key <AB06> { [ n, N ], [ kana_MI ] };
105 key <AB07> { [ m, M ], [ kana_MO ] };
106 key <AB08> { [ comma, less ], [ kana_NE, kana_comma ] };
107 key <AB09> { [ period, greater ], [ kana_RU, kana_fullstop ] };
108 key <AB10> { [ slash, question ], [ kana_ME, kana_conjunctive ]};
109 key <UNDR> { [ backslash, underscore], [ kana_RO ] };
111 key <SPCE> { [ space ] };
112 key <KANJ> { [ Kanji ] };
113 key <HENK> { [ Henkan_Mode ] };
114 // key <LNFD> { [ backslash, underscore], [ kana_RO ]};
115 // End alphanumeric section
117 // Begin "Function" section
118 key <ESC> { [ Escape ] };
119 key <FK01> { [ F1 ] };
120 key <FK02> { [ F2 ] };
121 key <FK03> { [ F3 ] };
122 key <FK04> { [ F4 ] };
123 key <FK05> { [ F5 ] };
124 key <FK06> { [ F6 ] };
125 key <FK07> { [ F7 ] };
126 key <FK08> { [ F8 ] };
127 key <FK09> { [ F9 ] };
128 key <FK10> { [ F10 ] };
129 key <FK11> { [ SunF36 ] };
130 key <FK12> { [ SunF37 ] };
131 key <BKSL> { [ backslash, bar ], [ prolongedsound ] };
132 // key <BRCR> { [ Linefeed ] };
133 key <EXEC> { [ Execute ] };
135 xkb_symbols "type4" {
137 // Alphanumeric section
138 key <AE01> { [ 1, exclam ], [ kana_NU ] };
139 key <AE02> { [ 2, quotedbl ], [ kana_FU ] };
140 key <AE03> { [ 3, numbersign ], [ kana_A, kana_a ] };
141 key <AE04> { [ 4, dollar ], [ kana_U, kana_u ] };
142 key <AE05> { [ 5, percent ], [ kana_E, kana_e ] };
143 key <AE06> { [ 6, ampersand ], [ kana_O, kana_o ] };
144 key <AE07> { [ 7, apostrophe ], [ kana_YA, kana_ya ] };
145 key <AE08> { [ 8, parenleft ], [ kana_YU, kana_yu ] };
146 key <AE09> { [ 9, parenright ], [ kana_YO, kana_yo ] };
147 key <AE10> { [ 0 ], [ kana_WA, kana_WO ] };
148 key <AE11> { [ minus, equal ], [ kana_HO ] };
149 key <AE12> { [ asciicircum, asciitilde], [ kana_HE ] };
150 key <BKSP> { [ BackSpace ] };
152 key <TAB> { [ Tab, ISO_Left_Tab ] };
153 key <AD01> { [ q, Q ], [ kana_TA ] };
154 key <AD02> { [ w, W ], [ kana_TE ] };
155 key <AD03> { [ e, E ], [ kana_I, kana_i ] };
156 key <AD04> { [ r, R ], [ kana_SU ] };
157 key <AD05> { [ t, T ], [ kana_KA ] };
158 key <AD06> { [ y, Y ], [ kana_N ] };
159 key <AD07> { [ u, U ], [ kana_NA ] };
160 key <AD08> { [ i, I ], [ kana_NI ] };
161 key <AD09> { [ o, O ], [ kana_RA ] };
162 key <AD10> { [ p, P ], [ kana_SE ] };
163 key <AD11> { [ at, quoteleft ], [ voicedsound ] };
164 key <AD12> { [ bracketleft, braceleft ], [ semivoicedsound, kana_openingbracket ] };
165 key <RTRN> { [ Return ] };
167 key <CAPS> { [ Caps_Lock ] };
168 key <AC01> { [ a, A ], [ kana_CHI ] };
169 key <AC02> { [ s, S ], [ kana_TO ] };
170 key <AC03> { [ d, D ], [ kana_SHI ] };
171 key <AC04> { [ f, F ], [ kana_HA ] };
172 key <AC05> { [ g, G ], [ kana_KI ] };
173 key <AC06> { [ h, H ], [ kana_KU ] };
174 key <AC07> { [ j, J ], [ kana_MA ] };
175 key <AC08> { [ k, K ], [ kana_NO ] };
176 key <AC09> { [ l, L ], [ kana_RI ] };
177 key <AC10> { [ semicolon, plus ], [ kana_RE ] };
178 key <AC11> { [ colon, asterisk ], [ kana_KE ] };
179 key <TLDE> { [ bracketright, braceright ], [ kana_MU, kana_closingbracket ] };
181 key <LFSH> { [ Shift_L ] };
182 key <AB01> { [ z, Z ], [ kana_TSU, kana_tsu ] };
183 key <AB02> { [ x, X ], [ kana_SA ] };
184 key <AB03> { [ c, C ], [ kana_SO ] };
185 key <AB04> { [ v, V ], [ kana_HI ] };
186 key <AB05> { [ b, B ], [ kana_KO ] };
187 key <AB06> { [ n, N ], [ kana_MI ] };
188 key <AB07> { [ m, M ], [ kana_MO ] };
189 key <AB08> { [ comma, less ], [ kana_NE, kana_comma ] };
190 key <AB09> { [ period, greater ], [ kana_RU, kana_fullstop ] };
191 key <AB10> { [ slash, question ], [ kana_ME, kana_conjunctive ]};
192 key <UNDR> { [ backslash, underscore], [ kana_RO ] };
193 key <RTSH> { [ Shift_R ] };
195 key <LCTL> { [ Control_L ] };
196 key <SPCE> { [ space ] };
197 key <KANJ> { [ Kanji ] };
198 key <HENK> { [ Henkan_Mode ] };
199 key <LALT> { [ Alt_L ] };
200 key <ALGR> { [ Mode_switch ] };
201 key <LMTA> { [ Meta_L ] };
202 key <RMTA> { [ Meta_R ] };
203 key <LNFD> { [ backslash, underscore], [ kana_RO ]};
204 key <COMP> { [ Multi_key ] };
205 key <EXEC> { [ Execute ] };
206 // key <TLFD> { [ Linefeed ] };
207 // End alphanumeric section
209 // Begin "Function" section
210 key <ESC> { [ Escape ] };
211 key <FK01> { [ F1 ] };
212 key <FK02> { [ F2 ] };
213 key <FK03> { [ F3 ] };
214 key <FK04> { [ F4 ] };
215 key <FK05> { [ F5 ] };
216 key <FK06> { [ F6 ] };
217 key <FK07> { [ F7 ] };
218 key <FK08> { [ F8 ] };
219 key <FK09> { [ F9 ] };
220 key <FK10> { [ F10 ] };
221 key <FK11> { [ SunF36 ] };
222 key <FK12> { [ SunF37 ] };
223 key <BKSL> { [ backslash, bar ], [ prolongedsound ] };
224 key <BRCR> { [ Linefeed ] };
226 key <STOP> { [ L1, L1 ], [ SunStop ] };
227 key <AGAI> { [ L2, L2 ], [ SunAgain ] };
228 key <PROP> { [ L3, L3 ], [ SunProps ] };
229 key <UNDO> { [ L4, L4 ], [ SunUndo ] };
230 key <FRNT> { [ L5, L5 ], [ SunFront ] };
231 key <COPY> { [ L6, L6 ], [ SunCopy ] };
232 key <OPEN> { [ L7, L7 ], [ SunOpen ] };
233 key <PAST> { [ L8, L8 ], [ SunPaste ] };
234 key <FIND> { [ L9, L9 ], [ SunFind ] };
235 key <CUT> { [ L10, L10 ], [ SunCut ] };
236 // End "Function" section
238 // Begin "Editing" section
239 key <PRSC> { [ R2, R2 ], [ Print ] };
240 key <SCLK> { [ R3, R3 ], [ Scroll_Lock, Break ] };
241 key <PAUS> { [ R1, R1 ], [ Pause ] };
242 key <DELE> { [ Delete ] };
243 key <HELP> { [ Help ] };
245 // End "Editing" section, begin "Keypad"
246 key <NMLK> { [ Num_Lock ] };
247 key <KPEQ> { [ R4, R4 ], [ KP_Equal ] };
248 key <KPDV> { [ R5, R5 ], [ KP_Divide ] };
249 key <KPMU> { [ R6, R6 ], [ KP_Multiply ] };
250 key <KPSU> { [ KP_Subtract ] };
252 key <KP7> { [ R7, R7 ], [ KP_7, Home ] };
253 key <KP8> { [ Up, R8 ], [ KP_8 ] };
254 key <KP9> { [ R9, R9 ], [ KP_9, Prior ] };
255 key <KPAD> { [ KP_Add ] };
257 key <KP4> { [ Left, R10 ], [ KP_4 ] };
258 key <KP5> { [ R11, R11 ], [ KP_5 ] };
259 key <KP6> { [ Right, R12 ], [ KP_6 ] };
261 key <KP1> { [ R13, R13 ], [ KP_1, End ] };
262 key <KP2> { [ Down, R14 ], [ KP_2 ] };
263 key <KP3> { [ R15, R15 ], [ KP_3, Next ] };
264 key <KPEN> { [ KP_Enter ] };
265 key <KP0> { [ KP_Insert, KP_Insert], [ KP_0 ] };
266 key <KPDL> { [ Delete, Delete ], [ KP_Decimal ] };
267 // End "Keypad" section
270 // begin modifier mappings
271 modifier_map Shift { Shift_R, Shift_L };
272 modifier_map Mod1 { Meta_L, Meta_R };
273 modifier_map Mod2 { Mode_switch };
274 modifier_map Mod3 { Num_Lock };
275 modifier_map Mod4 { Alt_L };
278 // US/ASCII layout for a Type 5 Sun keyboard
279 xkb_symbols "type5" {
281 // Alphanumeric section
282 key <TLDE> { [ backslash, bar ], [ prolongedsound ] };
283 key <AE01> { [ 1, exclam ], [ kana_NU ] };
284 key <AE02> { [ 2, quotedbl ], [ kana_FU ] };
285 key <AE03> { [ 3, numbersign ], [ kana_A, kana_a ] };
286 key <AE04> { [ 4, dollar ], [ kana_U, kana_u ] };
287 key <AE05> { [ 5, percent ], [ kana_E, kana_e ] };
288 key <AE06> { [ 6, ampersand ], [ kana_O, kana_o ] };
289 key <AE07> { [ 7, apostrophe ], [ kana_YA, kana_ya ] };
290 key <AE08> { [ 8, parenleft ], [ kana_YU, kana_yu ] };
291 key <AE09> { [ 9, parenright ], [ kana_YO, kana_yo ] };
292 key <AE10> { [ 0 ], [ kana_WA, kana_WO ] };
293 key <AE11> { [ minus, equal ], [ kana_HO ] };
294 key <AE12> { [ asciicircum, asciitilde], [ kana_HE ] };
295 key <BKSP> { [ BackSpace ] };
297 key <TAB> { [ Tab, ISO_Left_Tab ] };
298 key <AD01> { [ q, Q ], [ kana_TA ] };
299 key <AD02> { [ w, W ], [ kana_TE ] };
300 key <AD03> { [ e, E ], [ kana_I, kana_i ] };
301 key <AD04> { [ r, R ], [ kana_SU ] };
302 key <AD05> { [ t, T ], [ kana_KA ] };
303 key <AD06> { [ y, Y ], [ kana_N ] };
304 key <AD07> { [ u, U ], [ kana_NA ] };
305 key <AD08> { [ i, I ], [ kana_NI ] };
306 key <AD09> { [ o, O ], [ kana_RA ] };
307 key <AD10> { [ p, P ], [ kana_SE ] };
308 key <AD11> { [ at, quoteleft ], [ voicedsound ] };
309 key <AD12> { [ bracketleft, braceleft ], [ semivoicedsound, kana_openingbracket ] };
310 key <RTRN> { [ Return ] };
312 key <CAPS> { [ Caps_Lock ] };
313 key <AC01> { [ a, A ], [ kana_CHI ] };
314 key <AC02> { [ s, S ], [ kana_TO ] };
315 key <AC03> { [ d, D ], [ kana_SHI ] };
316 key <AC04> { [ f, F ], [ kana_HA ] };
317 key <AC05> { [ g, G ], [ kana_KI ] };
318 key <AC06> { [ h, H ], [ kana_KU ] };
319 key <AC07> { [ j, J ], [ kana_MA ] };
320 key <AC08> { [ k, K ], [ kana_NO ] };
321 key <AC09> { [ l, L ], [ kana_RI ] };
322 key <AC10> { [ semicolon, plus ], [ kana_RE ] };
323 key <AC11> { [ colon, asterisk ], [ kana_KE ] };
324 key <BKSL> { [ bracketright, braceright ], [ kana_MU, kana_closingbracket ] };
326 key <LFSH> { [ Shift_L ] };
327 key <AB01> { [ z, Z ], [ kana_TSU, kana_tsu ] };
328 key <AB02> { [ x, X ], [ kana_SA ] };
329 key <AB03> { [ c, C ], [ kana_SO ] };
330 key <AB04> { [ v, V ], [ kana_HI ] };
331 key <AB05> { [ b, B ], [ kana_KO ] };
332 key <AB06> { [ n, N ], [ kana_MI ] };
333 key <AB07> { [ m, M ], [ kana_MO ] };
334 key <AB08> { [ comma, less ], [ kana_NE, kana_comma ] };
335 key <AB09> { [ period, greater ], [ kana_RU, kana_fullstop ] };
336 key <AB10> { [ slash, question ], [ kana_ME, kana_conjunctive ]};
337 key <UNDR> { [ backslash, underscore], [ kana_RO ] };
338 key <RTSH> { [ Shift_R ] };
340 key <LCTL> { [ Control_L ] };
341 // key <RCTL> { [ Control_R ] };
342 key <EXEC> { [ Execute ] };
343 key <SPCE> { [ space ] };
344 key <KANJ> { [ Kanji ] };
345 key <HENK> { [ Henkan_Mode ] };
346 key <LALT> { [ Alt_L ] };
347 key <ALGR> { [ Mode_switch ] };
348 key <LMTA> { [ Meta_L ] };
349 key <RMTA> { [ Meta_R ] };
350 key <COMP> { [ Multi_key ] };
351 // End alphanumeric section
353 // Begin "Function" section
354 key <ESC> { [ Escape ] };
355 key <FK01> { [ F1 ] };
356 key <FK02> { [ F2 ] };
357 key <FK03> { [ F3 ] };
358 key <FK04> { [ F4 ] };
359 key <FK05> { [ F5 ] };
360 key <FK06> { [ F6 ] };
361 key <FK07> { [ F7 ] };
362 key <FK08> { [ F8 ] };
363 key <FK09> { [ F9 ] };
364 key <FK10> { [ F10 ] };
365 key <FK11> { [ SunF36 ] };
366 key <FK12> { [ SunF37 ] };
367 key <STOP> { [ L1, L1 ], [ SunStop ] };
368 key <AGAI> { [ L2, L2 ], [ SunAgain ] };
369 key <PROP> { [ L3, L3 ], [ SunProps ] };
370 key <UNDO> { [ L4, L4 ], [ SunUndo ] };
371 key <FRNT> { [ L5, L5 ], [ SunFront ] };
372 key <COPY> { [ L6, L6 ], [ SunCopy ] };
373 key <OPEN> { [ L7, L7 ], [ SunOpen ] };
374 key <PAST> { [ L8, L8 ], [ SunPaste ] };
375 key <FIND> { [ L9, L9 ], [ SunFind ] };
376 key <CUT> { [ L10, L10 ], [ SunCut ] };
377 // End "Function" section
379 // Begin "Editing" section
380 key <PRSC> { [ R2, R2 ], [ Print, SunSys_Req ] };
381 key <SCLK> { [ R3, R3 ], [ Scroll_Lock ] };
382 key <PAUS> { [ R1, R1 ], [ Pause, Break ] };
383 key <LEFT> { [ Left ] };
384 key <RGHT> { [ Right ] };
386 key <DOWN> { [ Down ] };
388 key <DELE> { [ Delete ] };
389 key <INS> { [ Insert ] };
390 key <PGUP> { [ Prior ] };
391 key <PGDN> { [ Next ] };
392 key <HOME> { [ Home ] };
393 key <END> { [ End ] };
394 key <HELP> { [ Help ] };
396 // End "Editing" section, begin "Keypad"
397 key <NMLK> { [ Num_Lock ] };
398 key <KPDV> { [ R5, R5 ], [ KP_Divide ] };
399 key <KPMU> { [ R6, R6 ], [ KP_Multiply ] };
400 key <KPSU> { [ R4, R4 ], [ KP_Subtract ] };
402 key <KP7> { [ R7, R7 ], [ KP_7, Home ] };
403 key <KP8> { [ Up, R8 ], [ KP_8 ] };
404 key <KP9> { [ R9, R9 ], [ KP_9, Prior ] };
405 key <KPAD> { [ KP_Add ] };
407 key <KP4> { [ Left, R10 ], [ KP_4 ] };
408 key <KP5> { [ R11, R11 ], [ KP_5 ] };
409 key <KP6> { [ Right, R12 ], [ KP_6 ] };
411 key <KP1> { [ R13, R13 ], [ KP_1, End ] };
412 key <KP2> { [ Down, R14 ], [ KP_2 ] };
413 key <KP3> { [ R15, R15 ], [ KP_3 ] };
414 key <KPEN> { [ KP_Enter ] };
416 key <KP0> { [ KP_Insert, KP_Insert ], [ KP_0 ] };
417 key <KPDL> { [ KP_Delete, KP_Delete ], [ KP_Decimal ] };
418 // End "Keypad" section,
419 // begin "four keys up on the right"
421 key <MUTE> { [ SunAudioMute, SunVideoDegauss ] };
422 key <VOL-> { [ SunAudioLowerVolume, SunVideoLowerBrightness ] };
423 key <VOL+> { [ SunAudioRaiseVolume, SunVideoRaiseBrightness ] };
424 key <POWR> { [ SunPowerSwitch, SunPowerSwitchShift ] };
426 // begin modifier mappings
427 modifier_map Shift { Shift_R };
428 modifier_map Mod1 { Meta_L, Meta_R };
429 modifier_map Mod2 { Alt_R };
430 modifier_map Mod3 { Num_Lock };
431 modifier_map Mod4 { Alt_L };
434 xkb_symbols "type5hobo" {
436 // Alphanumeric section
437 key <TLDE> { [ backslash, bar ], [ prolongedsound ] };
438 key <AE01> { [ 1, exclam ], [ kana_NU ] };
439 key <AE02> { [ 2, quotedbl ], [ kana_FU ] };
440 key <AE03> { [ 3, numbersign ], [ kana_A, kana_a ] };
441 key <AE04> { [ 4, dollar ], [ kana_U, kana_u ] };
442 key <AE05> { [ 5, percent ], [ kana_E, kana_e ] };
443 key <AE06> { [ 6, ampersand ], [ kana_O, kana_o ] };
444 key <AE07> { [ 7, apostrophe ], [ kana_YA, kana_ya ], [ KP_7 ]};
445 key <AE08> { [ 8, parenleft ], [ kana_YU, kana_yu ], [ KP_8 ]};
446 key <AE09> { [ 9, parenright ], [ kana_YO, kana_yo ], [ KP_9 ]};
447 key <AE10> { [ 0 ], [ kana_WA, kana_WO ], [ KP_Multiply]};
448 key <AE11> { [ minus, equal ], [ kana_HO ] };
449 key <AE12> { [ asciicircum, asciitilde], [ kana_HE ] };
450 key <BKSP> { [ BackSpace ] };
452 key <TAB> { [ Tab, ISO_Left_Tab ] };
453 key <AD01> { [ q, Q ], [ kana_TA ] };
454 key <AD02> { [ w, W ], [ kana_TE ] };
455 key <AD03> { [ e, E ], [ kana_I, kana_i ] };
456 key <AD04> { [ r, R ], [ kana_SU ] };
457 key <AD05> { [ t, T ], [ kana_KA ] };
458 key <AD06> { [ y, Y ], [ kana_N ] };
459 key <AD07> { [ u, U ], [ kana_NA ], [ KP_4 ] };
460 key <AD08> { [ i, I ], [ kana_NI ], [ KP_5 ] };
461 key <AD09> { [ o, O ], [ kana_RA ], [ KP_6 ] };
462 key <AD10> { [ p, P ], [ kana_SE ], [ KP_Subtract]};
463 key <AD11> { [ at, quoteleft ], [ voicedsound ] };
464 key <AD12> { [ bracketleft, braceleft ], [ semivoicedsound, kana_openingbracket ] };
465 key <RTRN> { [ Return ], [ NoSymbol, NoSymbol], [ KP_Enter ] };
467 key <CAPS> { [ Caps_Lock ] };
468 key <AC01> { [ a, A ], [ kana_CHI ] };
469 key <AC02> { [ s, S ], [ kana_TO ] };
470 key <AC03> { [ d, D ], [ kana_SHI ] };
471 key <AC04> { [ f, F ], [ kana_HA ] };
472 key <AC05> { [ g, G ], [ kana_KI ] };
473 key <AC06> { [ h, H ], [ kana_KU ] };
474 key <AC07> { [ j, J ], [ kana_MA ], [ KP_1 ]};
475 key <AC08> { [ k, K ], [ kana_NO ], [ KP_2 ]};
476 key <AC09> { [ l, L ], [ kana_RI ], [ KP_3 ]};
477 key <AC10> { [ semicolon, plus], [ kana_RE ], [ KP_Add ]};
478 key <AC11> { [ colon, asterisk ], [ kana_KE ] };
479 key <BKSL> { [ bracketright, braceright ], [ kana_MU, kana_closingbracket ] };
481 key <LFSH> { [ Shift_L ] };
482 key <AB01> { [ z, Z ], [ kana_TSU, kana_tsu ] };
483 key <AB02> { [ x, X ], [ kana_SA ] };
484 key <AB03> { [ c, C ], [ kana_SO ] };
485 key <AB04> { [ v, V ], [ kana_HI ] };
486 key <AB05> { [ b, B ], [ kana_KO ] };
487 key <AB06> { [ n, N ], [ kana_MI ] };
488 key <AB07> { [ m, M ], [ kana_MO ], [ KP_0 ]};
489 key <AB08> { [ comma, less ], [ kana_NE, kana_comma ] };
490 key <AB09> { [ period, greater ], [ kana_RU, kana_fullstop ], [ KP_Decimal ] };
491 key <AB10> { [ slash, question ], [ kana_ME, kana_conjunctive ], [ KP_Divide ]};
492 key <UNDR> { [ backslash, underscore], [ kana_RO ] };
493 key <RTSH> { [ Shift_R ] };
495 key <LCTL> { [ Control_L ] };
496 key <EXEC> { [ Execute ] };
497 key <SPCE> { [ space ] };
498 key <KANJ> { [ Kanji ] };
499 key <HENK> { [ Henkan_Mode ] };
500 key <LALT> { [ Alt_L ] };
501 key <ALGR> { [ Mode_switch ] };
502 key <LMTA> { [ Meta_L ] };
503 key <RMTA> { [ Meta_R ] };
504 key <COMP> { [ Multi_key ] };
505 // End alphanumeric section
507 // Begin "Function" section
508 key <ESC> { [ Escape ] };
509 key <FK01> { [ F1 ] };
510 key <FK02> { [ F2 ] };
511 key <FK03> { [ F3 ] };
512 key <FK04> { [ F4 ] };
513 key <FK05> { [ F5 ] };
514 key <FK06> { [ F6 ] };
515 key <FK07> { [ F7 ] };
516 key <FK08> { [ F8 ] };
517 key <FK09> { [ F9 ] };
518 key <FK10> { [ F10 ] };
519 key <FK11> { [ SunF36 ] };
520 key <FK12> { [ SunF37 ] };
521 key <STOP> { [ L1, L1 ], [ SunStop ] };
522 key <AGAI> { [ L2, L2 ], [ SunAgain ] };
523 key <PROP> { [ L3, L3 ], [ SunProps ] };
524 key <UNDO> { [ L4, L4 ], [ SunUndo ] };
525 key <FRNT> { [ L5, L5 ], [ SunFront ] };
526 key <COPY> { [ L6, L6 ], [ SunCopy ] };
527 key <OPEN> { [ L7, L7 ], [ SunOpen ] };
528 key <PAST> { [ L8, L8 ], [ SunPaste ] };
529 key <FIND> { [ L9, L9 ], [ SunFind ] };
530 key <CUT> { [ L10, L10 ], [ SunCut ] };
531 // End "Function" section
533 // Begin "Editing" section
534 key <PRSC> { [ R2, R2 ], [ Print, SunSys_Req ] };
535 key <SCLK> { [ R3, R3 ], [ Scroll_Lock ] };
536 key <PAUS> { [ R1, R1 ], [ Pause, Break ] };
537 key <LEFT> { [ Left ] };
538 key <RGHT> { [ Right ] };
540 key <DOWN> { [ Down ] };
542 key <DELE> { [ Delete ] };
543 key <INS> { [ Insert ] };
544 key <PGUP> { [ Prior ] };
545 key <PGDN> { [ Next ] };
546 key <HOME> { [ Home ] };
547 key <END> { [ End ] };
548 key <HELP> { [ Help ] };
550 // End "Editing" section, begin "Keypad"
551 key <NMLK> { [ Num_Lock ] };
552 // key <KPDV> { [ R5, R5 ], [ KP_Divide ] };
553 // key <KPMU> { [ R6, R6 ], [ KP_Multiply ] };
554 // key <KPSU> { [ R4, R4 ], [ KP_Subtract ] };
556 // key <KP7> { [ R7, R7 ], [ KP_7, Home ] };
557 // key <KP8> { [ Up, R8 ], [ KP_8 ] };
558 // key <KP9> { [ R9, R9 ], [ KP_9, Prior ] };
559 // key <KPAD> { [ KP_Add ] };
561 // key <KP4> { [ Left, R10 ], [ KP_4 ] };
562 // key <KP5> { [ R11, R11 ], [ KP_5 ] };
563 // key <KP6> { [ Right, R12 ], [ KP_6 ] };
565 // key <KP1> { [ R13, R13 ], [ KP_1, End ] };
566 // key <KP2> { [ Down, R14 ], [ KP_2 ] };
567 // key <KP3> { [ R15, R15 ], [ KP_3 ] };
568 // key <KPEN> { [ KP_Enter ] };
570 // key <KP0> { [ KP_Insert, KP_Insert ], [ KP_0 ] };
571 // key <KPDL> { [ KP_Delete, KP_Delete ], [ KP_Decimal ] };
572 // End "Keypad" section,
573 // begin "four keys up on the right"
575 key <MUTE> { [ SunAudioMute, SunVideoDegauss ] };
576 key <VOL-> { [ SunAudioLowerVolume, SunVideoLowerBrightness ] };
577 key <VOL+> { [ SunAudioRaiseVolume, SunVideoRaiseBrightness ] };
578 key <POWR> { [ SunPowerSwitch, SunPowerSwitchShift ] };
580 // begin modifier mappings
581 modifier_map Shift { Shift_R };
582 modifier_map Mod1 { Meta_L, Meta_R };
583 modifier_map Mod2 { Alt_R };
584 modifier_map Mod3 { Num_Lock };
585 modifier_map Mod4 { Alt_L };
588 // layout for a Japanese Type 6 Sun keyboard
589 // Just shows differences from Type 6 US layout
591 xkb_symbols "type6" {
593 // Alphanumeric section
594 // Though Yen symbol is engraved on key AE13, JA L10N folks want backslash.
595 key <AE13> { [ backslash, bar ], [ prolongedsound ] };
596 key <AE01> { [ 1, exclam ], [ kana_NU ] };
597 key <AE02> { [ 2, quotedbl ], [ kana_FU ] };
598 key <AE03> { [ 3, numbersign ], [ kana_A, kana_a ] };
599 key <AE04> { [ 4, dollar ], [ kana_U, kana_u ] };
600 key <AE05> { [ 5, percent ], [ kana_E, kana_e ] };
601 key <AE06> { [ 6, ampersand ], [ kana_O, kana_o ] };
602 key <AE07> { [ 7, apostrophe ], [ kana_YA, kana_ya ] };
603 key <AE08> { [ 8, parenleft ], [ kana_YU, kana_yu ] };
604 key <AE09> { [ 9, parenright ], [ kana_YO, kana_yo ] };
605 key <AE10> { [ 0 ], [ kana_WA, kana_WO ] };
606 key <AE11> { [ minus, equal ], [ kana_HO ] };
607 key <AE12> { [ asciicircum, asciitilde], [ kana_HE ] };
609 key <AD01> { [ q, Q ], [ kana_TA ] };
610 key <AD02> { [ w, W ], [ kana_TE ] };
611 key <AD03> { [ e, E ], [ kana_I, kana_i ] };
612 key <AD04> { [ r, R ], [ kana_SU ] };
613 key <AD05> { [ t, T ], [ kana_KA ] };
614 key <AD06> { [ y, Y ], [ kana_N ] };
615 key <AD07> { [ u, U ], [ kana_NA ] };
616 key <AD08> { [ i, I ], [ kana_NI ] };
617 key <AD09> { [ o, O ], [ kana_RA ] };
618 key <AD10> { [ p, P ], [ kana_SE ] };
619 key <AD11> { [ at, quoteleft ], [ voicedsound ] };
620 key <AD12> { [ bracketleft, braceleft ], [ semivoicedsound, kana_openingbracket ] };
622 key <AC01> { [ a, A ], [ kana_CHI ] };
623 key <AC02> { [ s, S ], [ kana_TO ] };
624 key <AC03> { [ d, D ], [ kana_SHI ] };
625 key <AC04> { [ f, F ], [ kana_HA ] };
626 key <AC05> { [ g, G ], [ kana_KI ] };
627 key <AC06> { [ h, H ], [ kana_KU ] };
628 key <AC07> { [ j, J ], [ kana_MA ] };
629 key <AC08> { [ k, K ], [ kana_NO ] };
630 key <AC09> { [ l, L ], [ kana_RI ] };
631 key <AC10> { [ semicolon, plus ], [ kana_RE ] };
632 key <AC11> { [ colon, asterisk ], [ kana_KE ] };
633 key <BKSL> { [ bracketright, braceright ], [ kana_MU, kana_closingbracket ] };
635 key <AB01> { [ z, Z ], [ kana_TSU, kana_tsu ] };
636 key <AB02> { [ x, X ], [ kana_SA ] };
637 key <AB03> { [ c, C ], [ kana_SO ] };
638 key <AB04> { [ v, V ], [ kana_HI ] };
639 key <AB05> { [ b, B ], [ kana_KO ] };
640 key <AB06> { [ n, N ], [ kana_MI ] };
641 key <AB07> { [ m, M ], [ kana_MO ] };
642 key <AB08> { [ comma, less ], [ kana_NE, kana_comma ] };
643 key <AB09> { [ period, greater ], [ kana_RU, kana_fullstop ] };
644 key <AB10> { [ slash, question ], [ kana_ME, kana_conjunctive ]};
645 key <AB11> { [ backslash, underscore], [ kana_RO ] };
646 key <UNDR> { [ backslash, underscore], [ kana_RO ] };
648 key <EXEC> { [ Execute ] };
649 key <KANJ> { [ Kanji ] };
650 key <HENK> { [ Henkan_Mode ] };
651 key <ALGR> { [ Kana_Lock, Mode_switch ] };
652 // End alphanumeric section
656 include "sun_vndr/us(pc101)"
657 include "sun_vndr/jp(basic)"
658 key <TLDE> { [ Henkan_Mode, Henkan_Mode ], [ Henkan_Mode ] };
660 key <AE10> { [ 0, asciitilde ], [ kana_WA, kana_WO ]};
661 key <AE13> { [ backslash, bar ], [ prolongedsound ]};
664 key <AC12> { [ bracketright, braceright ], [ kana_MU, kana_closingbracket ]};
666 key <ALGR> { [ Mode_switch ] };
667 key <RALT> { [ Alt_R ] };
671 xkb_symbols "J3100" {
672 include "sun_vndr/us(pc101)"
674 // Alphanumeric section
675 key <AE01> { [ 1, exclam ], [ kana_NU ] };
676 key <AE02> { [ 2, quotedbl ], [ kana_FU ] };
677 key <AE03> { [ 3, numbersign ], [ kana_A, kana_a ] };
678 key <AE04> { [ 4, dollar ], [ kana_U, kana_u ] };
679 key <AE05> { [ 5, percent ], [ kana_E, kana_e ] };
680 key <AE06> { [ 6, ampersand ], [ kana_O, kana_o ] };
681 key <AE07> { [ 7, apostrophe ], [ kana_YA, kana_ya ] };
682 key <AE08> { [ 8, parenleft ], [ kana_YU, kana_yu ] };
683 key <AE09> { [ 9, parenright ], [ kana_YO, kana_yo ] };
684 key <AE10> { [ 0 ], [ kana_WA, kana_WO ] };
685 key <AE11> { [ minus, equal ], [ kana_HO ] };
686 key <AE12> { [ asciicircum, asciitilde], [ kana_HE ] };
687 key <BKSP> { [ BackSpace ] };
689 key <TAB> { [ Tab, ISO_Left_Tab ] };
690 key <AD01> { [ q, Q ], [ kana_TA ] };
691 key <AD02> { [ w, W ], [ kana_TE ] };
692 key <AD03> { [ e, E ], [ kana_I, kana_i ] };
693 key <AD04> { [ r, R ], [ kana_SU ] };
694 key <AD05> { [ t, T ], [ kana_KA ] };
695 key <AD06> { [ y, Y ], [ kana_N ] };
696 key <AD07> { [ u, U ], [ kana_NA ] };
697 key <AD08> { [ i, I ], [ kana_NI ] };
698 key <AD09> { [ o, O ], [ kana_RA ] };
699 key <AD10> { [ p, P ], [ kana_SE ] };
700 key <AD11> { [ at, quoteleft ], [ voicedsound ] };
701 key <AD12> { [ bracketleft, braceleft ], [ semivoicedsound, kana_openingbracket ] };
702 key <RTRN> { [ Return ] };
704 key <CAPS> { [ Caps_Lock ] };
705 key <AC01> { [ a, A ], [ kana_CHI ] };
706 key <AC02> { [ s, S ], [ kana_TO ] };
707 key <AC03> { [ d, D ], [ kana_SHI ] };
708 key <AC04> { [ f, F ], [ kana_HA ] };
709 key <AC05> { [ g, G ], [ kana_KI ] };
710 key <AC06> { [ h, H ], [ kana_KU ] };
711 key <AC07> { [ j, J ], [ kana_MA ] };
712 key <AC08> { [ k, K ], [ kana_NO ] };
713 key <AC09> { [ l, L ], [ kana_RI ] };
714 key <AC10> { [ semicolon, plus ], [ kana_RE ] };
715 key <AC11> { [ colon, asterisk ], [ kana_KE ] };
716 key <TLDE> { [ bracketright, braceright ], [ kana_MU, kana_closingbracket ] };
718 key <AB01> { [ z, Z ], [ kana_TSU, kana_tsu ] };
719 key <AB02> { [ x, X ], [ kana_SA ] };
720 key <AB03> { [ c, C ], [ kana_SO ] };
721 key <AB04> { [ v, V ], [ kana_HI ] };
722 key <AB05> { [ b, B ], [ kana_KO ] };
723 key <AB06> { [ n, N ], [ kana_MI ] };
724 key <AB07> { [ m, M ], [ kana_MO ] };
725 key <AB08> { [ comma, less ], [ kana_NE, kana_comma ] };
726 key <AB09> { [ period, greater ], [ kana_RU, kana_fullstop ] };
727 key <AB10> { [ slash, question ], [ kana_ME, kana_conjunctive ]};
728 // key <UNDR> { [ backslash, underscore], [ kana_RO ] };
730 key <SPCE> { [ space ] };
731 // key <KANJ> { [ Kanji ] };
732 // key <HENK> { [ Henkan_Mode ] };
733 // key <LNFD> { [ backslash, underscore], [ kana_RO ]};
734 // End alphanumeric section
736 // Begin "Function" section
737 key <ESC> { [ Escape ] };
738 key <FK01> { [ F1 ] };
739 key <FK02> { [ F2 ] };
740 key <FK03> { [ F3 ] };
741 key <FK04> { [ F4 ] };
742 key <FK05> { [ F5 ] };
743 key <FK06> { [ F6 ] };
744 key <FK07> { [ F7 ] };
745 key <FK08> { [ F8 ] };
746 key <FK09> { [ F9 ] };
747 key <FK10> { [ F10 ] };
748 key <FK11> { [ SunF36 ] };
749 key <FK12> { [ SunF37 ] };
750 key <BKSL> { [ backslash, bar ], [ prolongedsound ] };
751 // key <BRCR> { [ Linefeed ] };
752 // key <EXEC> { [ Execute ] };
754 key <ESC> { [ Escape, 3 ] };
756 key <AE02> { [ 2, at ], [ kana_FU ]};
757 key <AE06> { [ 6, asciicircum ], [ kana_O, kana_o ]};
758 key <AE07> { [ 7, ampersand ], [ kana_YA, kana_ya ]};
759 key <AE08> { [ 8, asterisk ], [ kana_YU, kana_yu ]};
760 key <AE09> { [ 9, parenleft ], [ kana_YO, kana_yo ]};
761 key <AE10> { [ 0, parenright ], [ kana_WA, kana_WO ]};
762 key <AE11> { [ minus, underscore ], [ kana_HO ]};
763 key <AE12> { [ equal, plus ], [ kana_HE ]};
765 key <BKSL> { [ backslash, bar ], [ prolongedsound ]};
766 key <AE12> { [ equal, plus ], [ kana_HE ]};
768 key <AD11> { [ bracketleft, braceleft ], [ voicedsound ]};
769 key <AD12> { [ bracketright, braceright ], [ semivoicedsound, kana_openingbracket ]};
771 key <AC10> { [ semicolon, colon ], [ kana_RE ]};
772 key <AC11> { [ quoteright, quotedbl ], [ kana_KE ]};
774 key <TLDE> { [ quoteleft, asciitilde ], [ kana_MU, kana_closingbracket ]};
775 key <LSGT> { [ backslash, bar ], [ kana_RO ]};
776 // key <ALGR> { [ Mode_switch ] };
777 key <RALT> { [ Henkan_Mode ] };
778 key <RCTL> { [ Mode_switch ] };
782 xkb_symbols "Muhenkan_x86" {
783 include "sun_vndr/jp(x86)"
785 key <EXEC> { [ Muhenkan ] };
791 xkb_symbols "type7" {
792 include "sun_vndr/jp(type6)"
793 key <AE10> { [ 0, asciitilde ], [ kana_WA, kana_WO ] };
794 key <HZTG> { [ Henkan_Mode ] };
795 key <HENK> { [ Kana_Lock, Mode_switch ] };
796 key <ALGR> { [ Alt_R ] };