1 // $Xorg: sun,v 1.4 2001/02/09 02:05:51 xorgcvs Exp $
3 //Copyright 1996, 1998 The Open Group
5 //Permission to use, copy, modify, distribute, and sell this software and its
6 //documentation for any purpose is hereby granted without fee, provided that
7 //the above copyright notice appear in all copies and that both that
8 //copyright notice and this permission notice appear in supporting
11 //The above copyright notice and this permission notice shall be
12 //included in all copies or substantial portions of the Software.
14 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
18 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 //OTHER DEALINGS IN THE SOFTWARE.
22 //Except as contained in this notice, the name of The Open Group shall
23 //not be used in advertising or otherwise to promote the sale, use or
24 //other dealings in this Software without prior written authorization
25 //from The Open Group.
27 // $XFree86: xc/programs/xkbcomp/geometry/sun,v 1.6 2001/12/14 20:01:58 dawes Exp $
29 xkb_geometry "type4" {
31 // This is an approximate layout for a (US/ASCII) Sun Type4 US
34 description= "Sun Type4 keyboard";
39 shape "EDGE" { cornerRadius= 2, { [ 452, 185 ] } };
40 shape.cornerRadius= 1;
41 shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
42 shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
43 shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
44 shape "DELE" { { [ 37,18] }, { [2,1], [35,17] } };
46 approx = { [ 0, 0], [28,37] },
47 { [ 0, 0], [28, 0], [28,37],
48 [ 5,37], [ 5,19], [ 0,19] },
49 { [ 1, 1], [26, 1], [26,36],
50 [ 7,36], [ 7,18], [ 1,18] }
52 shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
53 shape "LFSH" { { [ 41,18] }, { [2,1], [39,17] } };
54 shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } };
55 shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
56 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
57 shape "SPCE" { { [170,18] }, { [2,1], [168,17] } };
58 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
59 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
60 shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
77 keys { <STOP>, <AGAI>,
78 { <FK01>, 9 }, <FK02>, <FK03>, <FK04>,
79 <FK05>, <FK06>, <FK07>, <FK08>,
80 <FK09>, <FK10>, <FK11>, <FK12>,
81 <BKSL>, { <DELE>, "DELE" },
82 { <PAUS>, 9 }, <PRSC>, <SCLK>, <NMLK>
87 keys { <PROP>, <UNDO>, { <ESC>, 9 },
88 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>,
89 <AE06>, <AE07>, <AE08>, <AE09>, <AE10>,
92 { <KPEQ>, 9 }, <KPDV>, <KPMU>, <KPSU>
98 keys { <FRNT>, <COPY>,
99 { <TAB>, 9, shape="TABK" },
100 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
101 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
102 <AD11>, <AD12>, { <RTRN>, "RTRN" },
103 { <KP7>, 9 }, <KP8>, <KP9>, { <KPAD>, "KPAD" }
108 keys { <OPEN>, <PAST>,
109 { <LCTL>, 9, shape="LCTL" },
110 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
111 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
113 { <KP4>, 33 }, <KP5>, <KP6>
118 keys { <FIND>, <CUT>,
119 { <LFSH>, 9 , shape="LFSH" },
120 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
121 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
122 { <RTSH>, "RTSH" }, <LNFD>,
123 { <KP1>, 9} , <KP2>, <KP3>, { <KPEN>, "KPAD" }
128 keys { { <HELP>, "HELP" }, { <CAPS>, 9 },
129 <LALT>, <LMTA>, { <SPCE>, "SPCE" },
130 <RMTA>, <COMP>, <ALGR>,
131 { <KP0>, 9, shape="KP0" }, <KPDL>
134 }; // End of "Alpha" section
136 shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
137 shape "LED" { cornerRadius= 0, { [ 7, 4 ] } };
143 indicator.onColor= "green";
144 indicator.offColor= "green30";
146 indicator.shape= "LED";
147 indicator "Caps Lock" { left= 364; };
148 indicator "Compose" { left= 383; };
149 indicator "Scroll Lock" { left= 402; };
150 indicator "Num Lock" { left= 421; };
153 text "CapsLockLabel" { left= 364; text="Caps\nLock"; };
154 text "ComposeLabel" { left= 380; text="Compose"; };
155 text "ScrollLockLabel" { left= 402; text="Scroll\nLock"; };
156 text "NumLockLabel" { left= 421; text="Num\nLock"; };
159 default xkb_geometry "type5" {
161 // This is an approximate layout for a (US/ASCII) Sun Type5
162 // keyboard. I just took a similar layout (101 key PC keyboard)
163 // and adjusted the sizes.
165 // Sun Type6 US keyboard (PN 320-1270, PN 320-1271) is identical.
166 description= "Sun Type5 keyboard";
171 shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
172 shape.cornerRadius= 1;
173 shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
174 shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
175 shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
176 shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
177 shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
178 shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
179 shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
180 shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
181 shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
182 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
183 shape "SPCE" { { [157,18] }, { [2,1], [155,17] } };
184 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
185 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
186 shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
187 shape "LOGO" { { [ 16,16] } };
203 keys { { <HELP>, "HELP" }, { <ESC>, 9 },
204 { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
205 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
206 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
207 { <PRSC>, 9 }, <SCLK>, <PAUS>,
208 { <MUTE>, 9 }, <VOL->, <VOL+>, <POWR>
211 }; // End of "Function" section
217 keys { <STOP>, <AGAI>,
218 { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
219 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
220 <AE10>, <AE11>, <AE12>,
221 { <BKSP>, "BKSP", color="grey20" }
226 keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
227 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
228 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
235 keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
236 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
237 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
244 keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" },
245 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
246 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
247 { <RTSH>, "RTSH", color="grey20" }
252 keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
255 <RMTA>, <COMP>, <ALGR>
258 }; // End of "Alpha" section
265 keys { <INS>, <HOME>, <PGUP> };
269 keys { <DELE>, <END>, <PGDN> };
278 keys { <LEFT>, <DOWN>, <RGHT> };
280 }; // End of "Editing" section
287 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
291 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
295 keys { <KP4>, <KP5>, <KP6> };
299 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
303 keys { { <KP0>, "KP0" }, <KPDL> };
305 }; // End of "Keypad" section
308 xkb_geometry "type5euro" {
310 // This is an approximate layout for a (US/ASCII) Sun Type5
311 // keyboard. I just took a similar layout (101 key PC keyboard)
312 // and adjusted the sizes.
314 description= "Sun Type5 keyboard";
319 shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
320 shape.cornerRadius= 1;
321 shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
322 shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
323 shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
324 shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
325 shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
326 shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
327 shape "LFSH" { { [ 24,18] }, { [2,1], [22,17] } };
328 shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
329 shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
330 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
331 shape "SPCE" { { [157,18] }, { [2,1], [155,17] } };
332 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
333 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
334 shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
335 shape "LOGO" { { [ 16,16] } };
351 keys { { <HELP>, "HELP" }, { <ESC>, 9 },
352 { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
353 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
354 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
355 { <PRSC>, 9 }, <SCLK>, <PAUS>,
356 { <MUTE>, 9 }, <VOL->, <VOL+>, <POWR>
359 }; // End of "Function" section
365 keys { <STOP>, <AGAI>,
366 { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
367 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
368 <AE10>, <AE11>, <AE12>,
369 { <BKSP>, "BKSP", color="grey20" }
374 keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
375 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
376 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
383 keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
384 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
385 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
392 keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, <LSGT>,
393 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
394 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
395 { <RTSH>, "RTSH", color="grey20" }
400 keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
403 <RMTA>, <COMP>, <ALGR>
406 }; // End of "Alpha" section
413 keys { <INS>, <HOME>, <PGUP> };
417 keys { <DELE>, <END>, <PGDN> };
426 keys { <LEFT>, <DOWN>, <RGHT> };
428 }; // End of "Editing" section
435 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
439 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
443 keys { <KP4>, <KP5>, <KP6> };
447 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
451 keys { { <KP0>, "KP0" }, <KPDL> };
453 }; // End of "Keypad" section
457 xkb_geometry "type5unix" {
459 // This is an approximate layout for a (US/ASCII) Sun Type5
460 // keyboard. I just took a similar layout (101 key PC keyboard)
461 // and adjusted the sizes.
463 // Sun Type6 US/UNIX keyboard (PN 320-1272, PN 320-1273) is identical.
464 description= "Sun Type5 Unix keyboard";
469 shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
470 shape.cornerRadius= 1;
471 shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
472 shape "BKSP" { { [ 28,18] }, { [2,1], [26,17] } };
473 shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
474 shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
475 shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
476 shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
477 shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
478 shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
479 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
480 shape "SPCE" { { [157,18] }, { [2,1], [155,17] } };
481 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
482 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
483 shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
484 shape "LOGO" { { [ 16,16] } };
500 keys { { <HELP>, "HELP" }, { <NONE>, 9 },
501 { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
502 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
503 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
504 { <PRSC>, 9 }, <SCLK>, <PAUS>,
505 { <MUTE>, 9 }, <VOL->, <VOL+>, <POWR>
508 }; // End of "Function" section
514 keys { <STOP>, <AGAI>,
515 { <ESC>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
516 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
517 <AE10>, <AE11>, <AE12>,
523 keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
524 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
525 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
532 keys { <FRNT>, <COPY>, { <LCTL>, 9, shape="LCTL" },
533 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
534 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
541 keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" },
542 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
543 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
549 keys { <FIND>, <CUT>, { <CAPS>, 9, shape="CAPS" },
552 <RMTA>, <COMP>, <ALGR>
555 }; // End of "Alpha" section
562 keys { <INS>, <HOME>, <PGUP> };
566 keys { <DELE>, <END>, <PGDN> };
575 keys { <LEFT>, <DOWN>, <RGHT> };
577 }; // End of "Editing" section
584 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
588 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
592 keys { <KP4>, <KP5>, <KP6> };
596 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
600 keys { { <KP0>, "KP0" }, <KPDL> };
602 }; // End of "Keypad" section
605 xkb_geometry "type5_se" {
607 // kbd: type = 4, layout = 43
609 description= "Sun Type5 keyboard (Sweden)";
617 shape.cornerRadius= 1;
619 shape "EDGE" { cornerRadius= 2, { [ 510, 170 ] } };
620 shape "LOGO" { cornerRadius= 2,
621 { [ 0, 8], [ 8, 16], [ 16, 8], [ 8, 0] }
624 shape "NORM" { { [ 18, 18] }, { [ 2, 1], [ 16, 17] } };
625 shape "BKSP" { { [ 38, 18] }, { [ 2, 1], [ 36, 17] } };
626 shape "TABK" { { [ 27, 18] }, { [ 2, 1], [ 25, 17] } };
628 { [ 0, 0], [ 29, 0], [ 29, 37], [ 5, 37], [ 5, 18], [ 0, 18] },
629 { [ 2, 1], [ 27, 1], [ 27, 36], [ 7, 36], [ 7, 17], [ 2, 17] }
631 shape "CAPS" { { [ 32, 18] }, { [ 2, 1], [ 30, 17 ] } };
632 shape "LFSH" { { [ 24, 18] }, { [ 2, 1], [ 22, 17 ] } };
633 shape "RTSH" { { [ 51, 18] }, { [ 2, 1], [ 49, 17 ] } };
634 shape "LCTL" { { [ 32, 18] }, { [ 2, 1], [ 30, 17 ] } };
635 shape "MODK" { { [ 28, 18] }, { [ 2, 1], [ 26, 17 ] } };
636 shape "SPCE" { { [157, 18] }, { [ 2, 1], [155, 17 ] } };
637 shape "KP0" { { [ 37, 18] }, { [ 2, 1], [ 35, 17 ] } };
638 shape "KPAD" { { [ 18, 37] }, { [ 2, 1], [ 16, 36 ] } };
639 shape "HELP" { { [ 37, 18] }, { [ 2, 1], [ 35, 17 ] } };
652 { <HELP>, "HELP", 1 }, { <ESC>, "NORM", 9 },
653 { <FK01>, "NORM", 19 }, { <FK02>, "NORM", 1 },
654 { <FK03>, "NORM", 1 }, { <FK04>, "NORM", 1 },
655 { <FK05>, "NORM", 11 }, { <FK06>, "NORM", 1 },
656 { <FK07>, "NORM", 1 }, { <FK08>, "NORM", 1 },
657 { <FK09>, "NORM", 11 }, { <FK10>, "NORM", 1 },
658 { <FK11>, "NORM", 1 }, { <FK12>, "NORM", 1 },
659 { <PRSC>, "NORM", 9 }, { <SCLK>, "NORM", 1 },
660 { <PAUS>, "NORM", 1 }, { <MUTE>, "NORM", 11 },
661 { <VOL->, "NORM", 1 }, { <VOL+>, "NORM", 1 },
662 { <POWR>, "NORM", 1, color= "white" }
665 }; // End of "Function" section
678 { <STOP>, "NORM", 1, color= "grey10" },
679 { <AGAI>, "NORM", 1, color= "grey10" },
680 { <TLDE>, "NORM", 9 }, { <AE01>, "NORM", 1 },
681 { <AE02>, "NORM", 1 }, { <AE03>, "NORM", 1 },
682 { <AE04>, "NORM", 1 }, { <AE05>, "NORM", 1 },
683 { <AE06>, "NORM", 1 }, { <AE07>, "NORM", 1 },
684 { <AE08>, "NORM", 1 }, { <AE09>, "NORM", 1 },
685 { <AE10>, "NORM", 1 }, { <AE11>, "NORM", 1 },
686 { <AE12>, "NORM", 1 },
687 { <BKSP>, "BKSP", 1, color="grey10" }
694 { <PROP>, "NORM", 1, color= "grey10" },
695 { <UNDO>, "NORM", 1, color= "grey10" },
696 { <TAB>, "TABK", 9, color= "grey10" },
697 { <AD01>, "NORM", 1 },
698 { <AD02>, "NORM", 1 }, { <AD03>, "NORM", 1 },
699 { <AD04>, "NORM", 1 }, { <AD05>, "NORM", 1 },
700 { <AD06>, "NORM", 1 }, { <AD07>, "NORM", 1 },
701 { <AD08>, "NORM", 1 }, { <AD09>, "NORM", 1 },
702 { <AD10>, "NORM", 1 }, { <AD11>, "NORM", 1 },
703 { <AD12>, "NORM", 1 },
704 { <RTRN>, "RTRN", 1, color= "grey10" }
711 { <FRNT>, "NORM", 1, color= "grey10" },
712 { <COPY>, "NORM", 1, color= "grey10" },
713 { <CAPS>, "CAPS", 9, color= "grey10" },
714 { <AC01>, "NORM", 1 },
715 { <AC02>, "NORM", 1 }, { <AC03>, "NORM", 1 },
716 { <AC04>, "NORM", 1 }, { <AC05>, "NORM", 1 },
717 { <AC06>, "NORM", 1 }, { <AC07>, "NORM", 1 },
718 { <AC08>, "NORM", 1 }, { <AC09>, "NORM", 1 },
719 { <AC10>, "NORM", 1 }, { <AC11>, "NORM", 1 },
720 { <AC12>, "NORM", 1 }
727 { <OPEN>, "NORM", 1, color= "grey10" },
728 { <PAST>, "NORM", 1, color= "grey10" },
729 { <LFSH>, "LFSH", 9, color= "grey10" },
730 { <AB00>, "NORM", 1 }, { <AB01>, "NORM", 1 },
731 { <AB02>, "NORM", 1 }, { <AB03>, "NORM", 1 },
732 { <AB04>, "NORM", 1 }, { <AB05>, "NORM", 1 },
733 { <AB06>, "NORM", 1 }, { <AB07>, "NORM", 1 },
734 { <AB08>, "NORM", 1 }, { <AB09>, "NORM", 1 },
735 { <AB10>, "NORM", 1 },
736 { <RTSH>, "RTSH", 1, color="grey10" }
744 { <FIND>, "NORM", 1 }, { <CUT>, "NORM", 1 },
745 { <LCTL>, "LCTL", 9 }, { <LALT>, "NORM", 1 },
746 { <LMTA>, "NORM", 1 },
747 { <SPCE>, "SPCE", 1, color= "white" },
748 { <RMTA>, "NORM", 1 }, { <COMP>, "NORM", 1 },
749 { <ALGR>, "NORM", 1 }
752 }; // End of "Alpha" section
765 { <INS>, "NORM", 1 }, { <HOME>, "NORM", 1 },
766 { <PGUP>, "NORM", 1 }
773 { <DELE>, "NORM", 1 }, { <END>, "NORM", 1 },
774 { <PGDN>, "NORM", 1 }
788 { <LEFT>, "NORM", 1 }, { <DOWN>, "NORM", 1 },
789 { <RGHT>, "NORM", 1 }
792 }; // End of "Editing" section
806 { <NMLK>, "NORM", 1 }, { <KPDV>, "NORM", 1 },
807 { <KPMU>, "NORM", 1 }, { <KPSU>, "NORM", 1 }
814 { <KP7>, "NORM", 1 }, { <KP8>, "NORM", 1 },
815 { <KP9>, "NORM", 1 },
816 { <KPAD>, "KPAD", 1, color="grey10" }
823 { <KP4>, "NORM", 1 }, { <KP5>, "NORM", 1 },
831 { <KP1>, "NORM", 1 }, { <KP2>, "NORM", 1 },
832 { <KP3>, "NORM", 1 },
833 { <KPEN>, "KPAD", 1, color="grey10" }
840 { <KP0>, "KP0", 1 }, { <KPDL>, "NORM", 1 }
843 }; // End of "Keypad" section
860 logo "SUNLogoImage" {
868 shape "LED" { cornerRadius= 1,
869 { [ 0, 1.5], [ 1.5, 3], [ 3, 1.5], [ 1.5, 0] }
871 indicator.onColor= "green";
872 indicator.offColor= "green30";
873 indicator.shape= "LED";
874 indicator "Caps Lock" { left= 75; top= 103; priority= 5; };
875 indicator "Compose" { left= 314; top= 142; priority= 5; };
876 indicator "Scroll Lock" { left= 378; top= 29; };
877 indicator "Num Lock" { left= 426; top= 66; };
880 xkb_geometry "type5c_se" {
882 // kbd: type = 4, layout = 43
884 description= "Sun Type5c keyboard (Sweden)";
892 shape.cornerRadius= 1;
894 shape "EDGE" { cornerRadius= 2, { [ 510, 170 ] } };
895 shape "LOGO" { cornerRadius= 2,
896 { [ 0, 8], [ 8, 16], [ 16, 8], [ 8, 0] }
899 shape "NORM" { { [ 18, 18] }, { [ 2, 1], [ 16, 17] } };
900 shape "BKSP" { { [ 38, 18] }, { [ 2, 1], [ 36, 17] } };
901 shape "TABK" { { [ 27, 18] }, { [ 2, 1], [ 25, 17] } };
902 shape "META" { { [ 27, 18] }, { [ 2, 1], [ 25, 17] } };
904 { [ 0, 0], [ 29, 0], [ 29, 37], [ 5, 37], [ 5, 18], [ 0, 18] },
905 { [ 2, 1], [ 27, 1], [ 27, 36], [ 7, 36], [ 7, 17], [ 2, 17] }
907 shape "CAPS" { { [ 32, 18] }, { [ 2, 1], [ 30, 17 ] } };
908 shape "LFSH" { { [ 24, 18] }, { [ 2, 1], [ 22, 17 ] } };
909 shape "RTSH" { { [ 51, 18] }, { [ 2, 1], [ 49, 17 ] } };
910 shape "LCTL" { { [ 32, 18] }, { [ 2, 1], [ 30, 17 ] } };
911 shape "MODK" { { [ 28, 18] }, { [ 2, 1], [ 26, 17 ] } };
912 shape "SPCE" { { [139, 18] }, { [ 2, 1], [137, 17 ] } };
913 shape "KP0" { { [ 37, 18] }, { [ 2, 1], [ 35, 17 ] } };
914 shape "KPAD" { { [ 18, 37] }, { [ 2, 1], [ 16, 36 ] } };
915 shape "HELP" { { [ 37, 18] }, { [ 2, 1], [ 35, 17 ] } };
928 { <HELP>, "HELP", 1 }, { <ESC>, "NORM", 9 },
929 { <FK01>, "NORM", 19 }, { <FK02>, "NORM", 1 },
930 { <FK03>, "NORM", 1 }, { <FK04>, "NORM", 1 },
931 { <FK05>, "NORM", 11 }, { <FK06>, "NORM", 1 },
932 { <FK07>, "NORM", 1 }, { <FK08>, "NORM", 1 },
933 { <FK09>, "NORM", 11 }, { <FK10>, "NORM", 1 },
934 { <FK11>, "NORM", 1 }, { <FK12>, "NORM", 1 },
935 { <PRSC>, "NORM", 9 }, { <SCLK>, "NORM", 1 },
936 { <PAUS>, "NORM", 1 }, { <MUTE>, "NORM", 11 },
937 { <VOL->, "NORM", 1 }, { <VOL+>, "NORM", 1 },
938 { <POWR>, "NORM", 1, color= "white" }
941 }; // End of "Function" section
954 { <STOP>, "NORM", 1, color= "grey10" },
955 { <AGAI>, "NORM", 1, color= "grey10" },
956 { <TLDE>, "NORM", 9 }, { <AE01>, "NORM", 1 },
957 { <AE02>, "NORM", 1 }, { <AE03>, "NORM", 1 },
958 { <AE04>, "NORM", 1 }, { <AE05>, "NORM", 1 },
959 { <AE06>, "NORM", 1 }, { <AE07>, "NORM", 1 },
960 { <AE08>, "NORM", 1 }, { <AE09>, "NORM", 1 },
961 { <AE10>, "NORM", 1 }, { <AE11>, "NORM", 1 },
962 { <AE12>, "NORM", 1 },
963 { <BKSP>, "BKSP", 1, color="grey10" }
970 { <PROP>, "NORM", 1, color= "grey10" },
971 { <UNDO>, "NORM", 1, color= "grey10" },
972 { <TAB>, "TABK", 9, color= "grey10" },
973 { <AD01>, "NORM", 1 },
974 { <AD02>, "NORM", 1 }, { <AD03>, "NORM", 1 },
975 { <AD04>, "NORM", 1 }, { <AD05>, "NORM", 1 },
976 { <AD06>, "NORM", 1 }, { <AD07>, "NORM", 1 },
977 { <AD08>, "NORM", 1 }, { <AD09>, "NORM", 1 },
978 { <AD10>, "NORM", 1 }, { <AD11>, "NORM", 1 },
979 { <AD12>, "NORM", 1 },
980 { <RTRN>, "RTRN", 1, color= "grey10" }
987 { <FRNT>, "NORM", 1, color= "grey10" },
988 { <COPY>, "NORM", 1, color= "grey10" },
989 { <CAPS>, "CAPS", 9, color= "grey10" },
990 { <AC01>, "NORM", 1 },
991 { <AC02>, "NORM", 1 }, { <AC03>, "NORM", 1 },
992 { <AC04>, "NORM", 1 }, { <AC05>, "NORM", 1 },
993 { <AC06>, "NORM", 1 }, { <AC07>, "NORM", 1 },
994 { <AC08>, "NORM", 1 }, { <AC09>, "NORM", 1 },
995 { <AC10>, "NORM", 1 }, { <AC11>, "NORM", 1 },
996 { <AC12>, "NORM", 1 }
1003 { <OPEN>, "NORM", 1, color= "grey10" },
1004 { <PAST>, "NORM", 1, color= "grey10" },
1005 { <LFSH>, "LFSH", 9, color= "grey10" },
1006 { <AB00>, "NORM", 1 }, { <AB01>, "NORM", 1 },
1007 { <AB02>, "NORM", 1 }, { <AB03>, "NORM", 1 },
1008 { <AB04>, "NORM", 1 }, { <AB05>, "NORM", 1 },
1009 { <AB06>, "NORM", 1 }, { <AB07>, "NORM", 1 },
1010 { <AB08>, "NORM", 1 }, { <AB09>, "NORM", 1 },
1011 { <AB10>, "NORM", 1 },
1012 { <RTSH>, "RTSH", 1, color="grey10" }
1018 key.color= "grey10";
1020 { <FIND>, "NORM", 1 }, { <CUT>, "NORM", 1 },
1021 { <LCTL>, "LCTL", 9 }, { <LALT>, "NORM", 1 },
1022 { <LMTA>, "META", 1 },
1023 { <SPCE>, "SPCE", 1, color= "white" },
1024 { <RMTA>, "META", 1 }, { <COMP>, "NORM", 1 },
1025 { <ALGR>, "NORM", 1 }
1028 }; // End of "Alpha" section
1031 key.color= "grey10";
1041 { <INS>, "NORM", 1 }, { <HOME>, "NORM", 1 },
1042 { <PGUP>, "NORM", 1 }
1049 { <DELE>, "NORM", 1 }, { <END>, "NORM", 1 },
1050 { <PGDN>, "NORM", 1 }
1064 { <LEFT>, "NORM", 1 }, { <DOWN>, "NORM", 1 },
1065 { <RGHT>, "NORM", 1 }
1068 }; // End of "Editing" section
1080 key.color= "grey10";
1082 { <NMLK>, "NORM", 1 }, { <KPDV>, "NORM", 1 },
1083 { <KPMU>, "NORM", 1 }, { <KPSU>, "NORM", 1 }
1090 { <KP7>, "NORM", 1 }, { <KP8>, "NORM", 1 },
1091 { <KP9>, "NORM", 1 },
1092 { <KPAD>, "KPAD", 1, color="grey10" }
1099 { <KP4>, "NORM", 1 }, { <KP5>, "NORM", 1 },
1100 { <KP6>, "NORM", 1 }
1107 { <KP1>, "NORM", 1 }, { <KP2>, "NORM", 1 },
1108 { <KP3>, "NORM", 1 },
1109 { <KPEN>, "KPAD", 1, color="grey10" }
1116 { <KP0>, "KP0", 1 }, { <KPDL>, "NORM", 1 }
1119 }; // End of "Keypad" section
1136 logo "SUNLogoImage" {
1144 text.font= "charter";
1145 text.weight= "medium";
1148 text "SunLogoText" {
1155 shape "LED" { cornerRadius= 1,
1156 { [ 0, 1.5], [ 1.5, 3], [ 3, 1.5], [ 1.5, 0] }
1158 indicator.onColor= "green";
1159 indicator.offColor= "green30";
1160 indicator.shape= "LED";
1161 indicator "Caps Lock" { left= 75; top= 103; priority= 5; };
1162 indicator "Compose" { left= 314; top= 142; priority= 5; };
1163 indicator "Scroll Lock" { left= 378; top= 29; };
1164 indicator "Num Lock" { left= 426; top= 66; };
1167 xkb_geometry "type4_se" {
1169 // kbd: type = 4, layout = 11
1171 description= "Sun Type4 keyboard (Sweden)";
1178 labelColor= "black";
1180 shape "EDGE" { cornerRadius= 2, { [ 452, 185 ] } };
1181 shape.cornerRadius= 1;
1182 shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
1183 shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
1184 shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
1185 shape "DELE" { { [ 18,18] }, { [2,1], [16,17] } };
1187 approx = { [ 0, 0], [28,37] },
1188 { [ 0, 0], [28, 0], [28,37],
1189 [ 5,37], [ 5,19], [ 0,19] },
1190 { [ 1, 1], [26, 1], [26,36],
1191 [ 7,36], [ 7,18], [ 1,18] }
1193 shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
1194 shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
1195 shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } };
1196 shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
1197 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
1198 shape "SPCE" { { [170,18] }, { [2,1], [168,17] } };
1199 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
1200 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
1201 shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
1218 key.color= "grey10";
1219 keys { <STOP>, <AGAI>, { <FK01>, 9 },
1220 <FK02>, <FK03>, <FK04>,
1221 <FK05>, <FK06>, <FK07>, <FK08>,
1222 <FK09>, <FK10>, <FK11>, <FK12>,
1223 { <AF13>, color= "white"},
1224 { <AF14>, color= "white"},
1225 <DELE>, { <PAUS>, 9 },
1226 <PRSC>, <SCLK>, <NMLK>
1233 { <PROP>, color= "grey10" },
1234 { <UNDO>, color= "grey10" },
1235 { <ESC>, 9, color= "grey10" },
1236 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>,
1237 <AE06>, <AE07>, <AE08>, <AE09>, <AE10>,
1239 { <BKSP>, "BKSP", color= "grey10" },
1240 { <KPEQ>, 9, color= "grey10" },
1241 { <KPDV>, color= "grey10" },
1242 { <KPMU>, color= "grey10" },
1243 { <KPSU>, color= "grey10" }
1250 { <FRNT>, color= "grey10" },
1251 { <COPY>, color= "grey10" },
1252 { <TAB>, 9, "TABK", color= "grey10" },
1253 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1254 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
1256 { <RTRN>, "RTRN", color= "grey10" },
1257 { <KP7>, 9, color= "grey10" },
1258 { <KP8>, color= "grey10" },
1259 { <KP9>, color= "grey10" },
1260 { <KPAD>, "KPAD", color= "grey10" }
1267 { <OPEN>, color= "grey10" },
1268 { <PAST>, color= "grey10" },
1269 { <CAPS>, 9, "LCTL", color= "grey10" },
1270 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1271 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
1273 { <KP4>, 33, color= "grey10" },
1274 { <KP5>, color= "grey10" },
1275 { <KP6>, color= "grey10" }
1282 { <FIND>, color= "grey10" },
1283 { <CUT>, color= "grey10" },
1284 { <LFSH>, 9 , "LFSH", color= "grey10" },
1285 <AB00>, <AB01>, <AB02>, <AB03>,
1286 <AB04>, <AB05>, <AB06>, <AB07>,
1287 <AB08>, <AB09>, <AB10>,
1288 { <RTSH>, "RTSH", color= "grey10" },
1289 { <LNFD>, color= "grey10" },
1290 { <KP1>, 9, color= "grey10" },
1291 { <KP2>, color= "grey10" },
1292 { <KP3>, color= "grey10" },
1293 { <KPEN>, "KPAD", color= "grey10" }
1298 key.color= "grey10";
1300 { <HELP>, "HELP" }, { <LCTL>, 9 },
1302 { <SPCE>, "SPCE", color= "white" },
1303 <RMTA>, <COMP>, <ALGR>,
1304 { <KP0>, 9, "KP0" }, <KPDL>
1307 }; // End of "Alpha" section
1309 shape "RIDGE" { cornerRadius= 1, { [ 0, 1], [ 1, 0 ],
1311 [330, 2], [ 1, 2] } };
1318 shape "LEDS" { cornerRadius= 1, { [ 75 ,21 ] } };
1319 shape "LED" { cornerRadius= 0, { [ 7, 4 ] } };
1320 outline "LedPanel" {
1325 indicator.onColor= "green";
1326 indicator.offColor= "green30";
1328 indicator.shape= "LED";
1329 indicator "Caps Lock" { left= 364; };
1330 indicator "Compose" { left= 383; };
1331 indicator "Scroll Lock" { left= 402; };
1332 indicator "Num Lock" { left= 421; };
1334 text.color= "black";
1335 text "CapsLockLabel" { left= 364; text="Caps\nLock"; };
1336 text "ComposeLabel" { left= 380; text="\nCompose"; };
1337 text "ScrollLockLabel" { left= 402; text="Scroll\nLock"; };
1338 text "NumLockLabel" { left= 421; text="Num\nLock"; };