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 description= "Sun Type5 keyboard";
170 shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
171 shape.cornerRadius= 1;
172 shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
173 shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
174 shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
175 shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
176 shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
177 shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
178 shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
179 shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
180 shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
181 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
182 shape "SPCE" { { [157,18] }, { [2,1], [155,17] } };
183 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
184 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
185 shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
186 shape "LOGO" { { [ 16,16] } };
202 keys { { <HELP>, "HELP" }, { <ESC>, 9 },
203 { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
204 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
205 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
206 { <PRSC>, 9 }, <SCLK>, <PAUS>,
207 { <MUTE>, 9 }, <VOL->, <VOL+>, <POWR>
210 }; // End of "Function" section
216 keys { <STOP>, <AGAI>,
217 { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
218 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
219 <AE10>, <AE11>, <AE12>,
220 { <BKSP>, "BKSP", color="grey20" }
225 keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
226 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
227 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
234 keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
235 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
236 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
243 keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" },
244 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
245 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
246 { <RTSH>, "RTSH", color="grey20" }
251 keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
254 <RMTA>, <COMP>, <ALGR>
257 }; // End of "Alpha" section
264 keys { <INS>, <HOME>, <PGUP> };
268 keys { <DELE>, <END>, <PGDN> };
277 keys { <LEFT>, <DOWN>, <RGHT> };
279 }; // End of "Editing" section
286 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
290 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
294 keys { <KP4>, <KP5>, <KP6> };
298 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
302 keys { { <KP0>, "KP0" }, <KPDL> };
304 }; // End of "Keypad" section
307 xkb_geometry "type5euro" {
309 // This is an approximate layout for a (US/ASCII) Sun Type5
310 // keyboard. I just took a similar layout (101 key PC keyboard)
311 // and adjusted the sizes.
313 description= "Sun Type5 keyboard";
318 shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
319 shape.cornerRadius= 1;
320 shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
321 shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
322 shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
323 shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
324 shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
325 shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
326 shape "LFSH" { { [ 24,18] }, { [2,1], [22,17] } };
327 shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
328 shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
329 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
330 shape "SPCE" { { [157,18] }, { [2,1], [155,17] } };
331 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
332 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
333 shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
334 shape "LOGO" { { [ 16,16] } };
350 keys { { <HELP>, "HELP" }, { <ESC>, 9 },
351 { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
352 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
353 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
354 { <PRSC>, 9 }, <SCLK>, <PAUS>,
355 { <MUTE>, 9 }, <VOL->, <VOL+>, <POWR>
358 }; // End of "Function" section
364 keys { <STOP>, <AGAI>,
365 { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
366 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
367 <AE10>, <AE11>, <AE12>,
368 { <BKSP>, "BKSP", color="grey20" }
373 keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
374 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
375 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
382 keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
383 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
384 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
391 keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, <LSGT>,
392 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
393 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
394 { <RTSH>, "RTSH", color="grey20" }
399 keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
402 <RMTA>, <COMP>, <ALGR>
405 }; // End of "Alpha" section
412 keys { <INS>, <HOME>, <PGUP> };
416 keys { <DELE>, <END>, <PGDN> };
425 keys { <LEFT>, <DOWN>, <RGHT> };
427 }; // End of "Editing" section
434 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
438 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
442 keys { <KP4>, <KP5>, <KP6> };
446 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
450 keys { { <KP0>, "KP0" }, <KPDL> };
452 }; // End of "Keypad" section
456 xkb_geometry "type5unix" {
458 // This is an approximate layout for a (US/ASCII) Sun Type5
459 // keyboard. I just took a similar layout (101 key PC keyboard)
460 // and adjusted the sizes.
462 description= "Sun Type5 Unix keyboard";
467 shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
468 shape.cornerRadius= 1;
469 shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
470 shape "BKSP" { { [ 27,18] }, { [2,1], [25,17] } };
471 shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
472 shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
473 shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
474 shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
475 shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
476 shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
477 shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
478 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
479 shape "SPCE" { { [157,18] }, { [2,1], [155,17] } };
480 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
481 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
482 shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
483 shape "LOGO" { { [ 16,16] } };
499 keys { { <HELP>, "HELP" }, { <NONE>, 9 },
500 { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
501 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
502 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
503 { <PRSC>, 9 }, <SCLK>, <PAUS>,
504 { <MUTE>, 9 }, <VOL->, <VOL+>, <POWR>
507 }; // End of "Function" section
513 keys { <STOP>, <AGAI>,
514 { <ESC>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
515 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
516 <AE10>, <AE11>, <AE12>,
522 keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
523 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
524 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
531 keys { <FRNT>, <COPY>, { <LCTL>, 9, shape="LCTL" },
532 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
533 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
540 keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" },
541 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
542 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
543 { <RTSH>, "RTSH", color="grey20" }
548 keys { <FIND>, <CUT>, { <CAPS>, 9, shape="CAPS" },
551 <RMTA>, <COMP>, <ALGR>
554 }; // End of "Alpha" section
561 keys { <INS>, <HOME>, <PGUP> };
565 keys { <DELE>, <END>, <PGDN> };
574 keys { <LEFT>, <DOWN>, <RGHT> };
576 }; // End of "Editing" section
583 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
587 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
591 keys { <KP4>, <KP5>, <KP6> };
595 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
599 keys { { <KP0>, "KP0" }, <KPDL> };
601 }; // End of "Keypad" section
604 xkb_geometry "type5_se" {
606 // kbd: type = 4, layout = 43
608 description= "Sun Type5 keyboard (Sweden)";
616 shape.cornerRadius= 1;
618 shape "EDGE" { cornerRadius= 2, { [ 510, 170 ] } };
619 shape "LOGO" { cornerRadius= 2,
620 { [ 0, 8], [ 8, 16], [ 16, 8], [ 8, 0] }
623 shape "NORM" { { [ 18, 18] }, { [ 2, 1], [ 16, 17] } };
624 shape "BKSP" { { [ 38, 18] }, { [ 2, 1], [ 36, 17] } };
625 shape "TABK" { { [ 27, 18] }, { [ 2, 1], [ 25, 17] } };
627 { [ 0, 0], [ 29, 0], [ 29, 37], [ 5, 37], [ 5, 18], [ 0, 18] },
628 { [ 2, 1], [ 27, 1], [ 27, 36], [ 7, 36], [ 7, 17], [ 2, 17] }
630 shape "CAPS" { { [ 32, 18] }, { [ 2, 1], [ 30, 17 ] } };
631 shape "LFSH" { { [ 24, 18] }, { [ 2, 1], [ 22, 17 ] } };
632 shape "RTSH" { { [ 51, 18] }, { [ 2, 1], [ 49, 17 ] } };
633 shape "LCTL" { { [ 32, 18] }, { [ 2, 1], [ 30, 17 ] } };
634 shape "MODK" { { [ 28, 18] }, { [ 2, 1], [ 26, 17 ] } };
635 shape "SPCE" { { [157, 18] }, { [ 2, 1], [155, 17 ] } };
636 shape "KP0" { { [ 37, 18] }, { [ 2, 1], [ 35, 17 ] } };
637 shape "KPAD" { { [ 18, 37] }, { [ 2, 1], [ 16, 36 ] } };
638 shape "HELP" { { [ 37, 18] }, { [ 2, 1], [ 35, 17 ] } };
651 { <HELP>, "HELP", 1 }, { <ESC>, "NORM", 9 },
652 { <FK01>, "NORM", 19 }, { <FK02>, "NORM", 1 },
653 { <FK03>, "NORM", 1 }, { <FK04>, "NORM", 1 },
654 { <FK05>, "NORM", 11 }, { <FK06>, "NORM", 1 },
655 { <FK07>, "NORM", 1 }, { <FK08>, "NORM", 1 },
656 { <FK09>, "NORM", 11 }, { <FK10>, "NORM", 1 },
657 { <FK11>, "NORM", 1 }, { <FK12>, "NORM", 1 },
658 { <PRSC>, "NORM", 9 }, { <SCLK>, "NORM", 1 },
659 { <PAUS>, "NORM", 1 }, { <MUTE>, "NORM", 11 },
660 { <VOL->, "NORM", 1 }, { <VOL+>, "NORM", 1 },
661 { <POWR>, "NORM", 1, color= "white" }
664 }; // End of "Function" section
677 { <STOP>, "NORM", 1, color= "grey10" },
678 { <AGAI>, "NORM", 1, color= "grey10" },
679 { <TLDE>, "NORM", 9 }, { <AE01>, "NORM", 1 },
680 { <AE02>, "NORM", 1 }, { <AE03>, "NORM", 1 },
681 { <AE04>, "NORM", 1 }, { <AE05>, "NORM", 1 },
682 { <AE06>, "NORM", 1 }, { <AE07>, "NORM", 1 },
683 { <AE08>, "NORM", 1 }, { <AE09>, "NORM", 1 },
684 { <AE10>, "NORM", 1 }, { <AE11>, "NORM", 1 },
685 { <AE12>, "NORM", 1 },
686 { <BKSP>, "BKSP", 1, color="grey10" }
693 { <PROP>, "NORM", 1, color= "grey10" },
694 { <UNDO>, "NORM", 1, color= "grey10" },
695 { <TAB>, "TABK", 9, color= "grey10" },
696 { <AD01>, "NORM", 1 },
697 { <AD02>, "NORM", 1 }, { <AD03>, "NORM", 1 },
698 { <AD04>, "NORM", 1 }, { <AD05>, "NORM", 1 },
699 { <AD06>, "NORM", 1 }, { <AD07>, "NORM", 1 },
700 { <AD08>, "NORM", 1 }, { <AD09>, "NORM", 1 },
701 { <AD10>, "NORM", 1 }, { <AD11>, "NORM", 1 },
702 { <AD12>, "NORM", 1 },
703 { <RTRN>, "RTRN", 1, color= "grey10" }
710 { <FRNT>, "NORM", 1, color= "grey10" },
711 { <COPY>, "NORM", 1, color= "grey10" },
712 { <CAPS>, "CAPS", 9, color= "grey10" },
713 { <AC01>, "NORM", 1 },
714 { <AC02>, "NORM", 1 }, { <AC03>, "NORM", 1 },
715 { <AC04>, "NORM", 1 }, { <AC05>, "NORM", 1 },
716 { <AC06>, "NORM", 1 }, { <AC07>, "NORM", 1 },
717 { <AC08>, "NORM", 1 }, { <AC09>, "NORM", 1 },
718 { <AC10>, "NORM", 1 }, { <AC11>, "NORM", 1 },
719 { <AC12>, "NORM", 1 }
726 { <OPEN>, "NORM", 1, color= "grey10" },
727 { <PAST>, "NORM", 1, color= "grey10" },
728 { <LFSH>, "LFSH", 9, color= "grey10" },
729 { <AB00>, "NORM", 1 }, { <AB01>, "NORM", 1 },
730 { <AB02>, "NORM", 1 }, { <AB03>, "NORM", 1 },
731 { <AB04>, "NORM", 1 }, { <AB05>, "NORM", 1 },
732 { <AB06>, "NORM", 1 }, { <AB07>, "NORM", 1 },
733 { <AB08>, "NORM", 1 }, { <AB09>, "NORM", 1 },
734 { <AB10>, "NORM", 1 },
735 { <RTSH>, "RTSH", 1, color="grey10" }
743 { <FIND>, "NORM", 1 }, { <CUT>, "NORM", 1 },
744 { <LCTL>, "LCTL", 9 }, { <LALT>, "NORM", 1 },
745 { <LMTA>, "NORM", 1 },
746 { <SPCE>, "SPCE", 1, color= "white" },
747 { <RMTA>, "NORM", 1 }, { <COMP>, "NORM", 1 },
748 { <ALGR>, "NORM", 1 }
751 }; // End of "Alpha" section
764 { <INS>, "NORM", 1 }, { <HOME>, "NORM", 1 },
765 { <PGUP>, "NORM", 1 }
772 { <DELE>, "NORM", 1 }, { <END>, "NORM", 1 },
773 { <PGDN>, "NORM", 1 }
787 { <LEFT>, "NORM", 1 }, { <DOWN>, "NORM", 1 },
788 { <RGHT>, "NORM", 1 }
791 }; // End of "Editing" section
805 { <NMLK>, "NORM", 1 }, { <KPDV>, "NORM", 1 },
806 { <KPMU>, "NORM", 1 }, { <KPSU>, "NORM", 1 }
813 { <KP7>, "NORM", 1 }, { <KP8>, "NORM", 1 },
814 { <KP9>, "NORM", 1 },
815 { <KPAD>, "KPAD", 1, color="grey10" }
822 { <KP4>, "NORM", 1 }, { <KP5>, "NORM", 1 },
830 { <KP1>, "NORM", 1 }, { <KP2>, "NORM", 1 },
831 { <KP3>, "NORM", 1 },
832 { <KPEN>, "KPAD", 1, color="grey10" }
839 { <KP0>, "KP0", 1 }, { <KPDL>, "NORM", 1 }
842 }; // End of "Keypad" section
859 logo "SUNLogoImage" {
867 shape "LED" { cornerRadius= 1,
868 { [ 0, 1.5], [ 1.5, 3], [ 3, 1.5], [ 1.5, 0] }
870 indicator.onColor= "green";
871 indicator.offColor= "green30";
872 indicator.shape= "LED";
873 indicator "Caps Lock" { left= 75; top= 103; priority= 5; };
874 indicator "Compose" { left= 314; top= 142; priority= 5; };
875 indicator "Scroll Lock" { left= 378; top= 29; };
876 indicator "Num Lock" { left= 426; top= 66; };
879 xkb_geometry "type5c_se" {
881 // kbd: type = 4, layout = 43
883 description= "Sun Type5c keyboard (Sweden)";
891 shape.cornerRadius= 1;
893 shape "EDGE" { cornerRadius= 2, { [ 510, 170 ] } };
894 shape "LOGO" { cornerRadius= 2,
895 { [ 0, 8], [ 8, 16], [ 16, 8], [ 8, 0] }
898 shape "NORM" { { [ 18, 18] }, { [ 2, 1], [ 16, 17] } };
899 shape "BKSP" { { [ 38, 18] }, { [ 2, 1], [ 36, 17] } };
900 shape "TABK" { { [ 27, 18] }, { [ 2, 1], [ 25, 17] } };
901 shape "META" { { [ 27, 18] }, { [ 2, 1], [ 25, 17] } };
903 { [ 0, 0], [ 29, 0], [ 29, 37], [ 5, 37], [ 5, 18], [ 0, 18] },
904 { [ 2, 1], [ 27, 1], [ 27, 36], [ 7, 36], [ 7, 17], [ 2, 17] }
906 shape "CAPS" { { [ 32, 18] }, { [ 2, 1], [ 30, 17 ] } };
907 shape "LFSH" { { [ 24, 18] }, { [ 2, 1], [ 22, 17 ] } };
908 shape "RTSH" { { [ 51, 18] }, { [ 2, 1], [ 49, 17 ] } };
909 shape "LCTL" { { [ 32, 18] }, { [ 2, 1], [ 30, 17 ] } };
910 shape "MODK" { { [ 28, 18] }, { [ 2, 1], [ 26, 17 ] } };
911 shape "SPCE" { { [139, 18] }, { [ 2, 1], [137, 17 ] } };
912 shape "KP0" { { [ 37, 18] }, { [ 2, 1], [ 35, 17 ] } };
913 shape "KPAD" { { [ 18, 37] }, { [ 2, 1], [ 16, 36 ] } };
914 shape "HELP" { { [ 37, 18] }, { [ 2, 1], [ 35, 17 ] } };
927 { <HELP>, "HELP", 1 }, { <ESC>, "NORM", 9 },
928 { <FK01>, "NORM", 19 }, { <FK02>, "NORM", 1 },
929 { <FK03>, "NORM", 1 }, { <FK04>, "NORM", 1 },
930 { <FK05>, "NORM", 11 }, { <FK06>, "NORM", 1 },
931 { <FK07>, "NORM", 1 }, { <FK08>, "NORM", 1 },
932 { <FK09>, "NORM", 11 }, { <FK10>, "NORM", 1 },
933 { <FK11>, "NORM", 1 }, { <FK12>, "NORM", 1 },
934 { <PRSC>, "NORM", 9 }, { <SCLK>, "NORM", 1 },
935 { <PAUS>, "NORM", 1 }, { <MUTE>, "NORM", 11 },
936 { <VOL->, "NORM", 1 }, { <VOL+>, "NORM", 1 },
937 { <POWR>, "NORM", 1, color= "white" }
940 }; // End of "Function" section
953 { <STOP>, "NORM", 1, color= "grey10" },
954 { <AGAI>, "NORM", 1, color= "grey10" },
955 { <TLDE>, "NORM", 9 }, { <AE01>, "NORM", 1 },
956 { <AE02>, "NORM", 1 }, { <AE03>, "NORM", 1 },
957 { <AE04>, "NORM", 1 }, { <AE05>, "NORM", 1 },
958 { <AE06>, "NORM", 1 }, { <AE07>, "NORM", 1 },
959 { <AE08>, "NORM", 1 }, { <AE09>, "NORM", 1 },
960 { <AE10>, "NORM", 1 }, { <AE11>, "NORM", 1 },
961 { <AE12>, "NORM", 1 },
962 { <BKSP>, "BKSP", 1, color="grey10" }
969 { <PROP>, "NORM", 1, color= "grey10" },
970 { <UNDO>, "NORM", 1, color= "grey10" },
971 { <TAB>, "TABK", 9, color= "grey10" },
972 { <AD01>, "NORM", 1 },
973 { <AD02>, "NORM", 1 }, { <AD03>, "NORM", 1 },
974 { <AD04>, "NORM", 1 }, { <AD05>, "NORM", 1 },
975 { <AD06>, "NORM", 1 }, { <AD07>, "NORM", 1 },
976 { <AD08>, "NORM", 1 }, { <AD09>, "NORM", 1 },
977 { <AD10>, "NORM", 1 }, { <AD11>, "NORM", 1 },
978 { <AD12>, "NORM", 1 },
979 { <RTRN>, "RTRN", 1, color= "grey10" }
986 { <FRNT>, "NORM", 1, color= "grey10" },
987 { <COPY>, "NORM", 1, color= "grey10" },
988 { <CAPS>, "CAPS", 9, color= "grey10" },
989 { <AC01>, "NORM", 1 },
990 { <AC02>, "NORM", 1 }, { <AC03>, "NORM", 1 },
991 { <AC04>, "NORM", 1 }, { <AC05>, "NORM", 1 },
992 { <AC06>, "NORM", 1 }, { <AC07>, "NORM", 1 },
993 { <AC08>, "NORM", 1 }, { <AC09>, "NORM", 1 },
994 { <AC10>, "NORM", 1 }, { <AC11>, "NORM", 1 },
995 { <AC12>, "NORM", 1 }
1002 { <OPEN>, "NORM", 1, color= "grey10" },
1003 { <PAST>, "NORM", 1, color= "grey10" },
1004 { <LFSH>, "LFSH", 9, color= "grey10" },
1005 { <AB00>, "NORM", 1 }, { <AB01>, "NORM", 1 },
1006 { <AB02>, "NORM", 1 }, { <AB03>, "NORM", 1 },
1007 { <AB04>, "NORM", 1 }, { <AB05>, "NORM", 1 },
1008 { <AB06>, "NORM", 1 }, { <AB07>, "NORM", 1 },
1009 { <AB08>, "NORM", 1 }, { <AB09>, "NORM", 1 },
1010 { <AB10>, "NORM", 1 },
1011 { <RTSH>, "RTSH", 1, color="grey10" }
1017 key.color= "grey10";
1019 { <FIND>, "NORM", 1 }, { <CUT>, "NORM", 1 },
1020 { <LCTL>, "LCTL", 9 }, { <LALT>, "NORM", 1 },
1021 { <LMTA>, "META", 1 },
1022 { <SPCE>, "SPCE", 1, color= "white" },
1023 { <RMTA>, "META", 1 }, { <COMP>, "NORM", 1 },
1024 { <ALGR>, "NORM", 1 }
1027 }; // End of "Alpha" section
1030 key.color= "grey10";
1040 { <INS>, "NORM", 1 }, { <HOME>, "NORM", 1 },
1041 { <PGUP>, "NORM", 1 }
1048 { <DELE>, "NORM", 1 }, { <END>, "NORM", 1 },
1049 { <PGDN>, "NORM", 1 }
1063 { <LEFT>, "NORM", 1 }, { <DOWN>, "NORM", 1 },
1064 { <RGHT>, "NORM", 1 }
1067 }; // End of "Editing" section
1079 key.color= "grey10";
1081 { <NMLK>, "NORM", 1 }, { <KPDV>, "NORM", 1 },
1082 { <KPMU>, "NORM", 1 }, { <KPSU>, "NORM", 1 }
1089 { <KP7>, "NORM", 1 }, { <KP8>, "NORM", 1 },
1090 { <KP9>, "NORM", 1 },
1091 { <KPAD>, "KPAD", 1, color="grey10" }
1098 { <KP4>, "NORM", 1 }, { <KP5>, "NORM", 1 },
1099 { <KP6>, "NORM", 1 }
1106 { <KP1>, "NORM", 1 }, { <KP2>, "NORM", 1 },
1107 { <KP3>, "NORM", 1 },
1108 { <KPEN>, "KPAD", 1, color="grey10" }
1115 { <KP0>, "KP0", 1 }, { <KPDL>, "NORM", 1 }
1118 }; // End of "Keypad" section
1135 logo "SUNLogoImage" {
1143 text.font= "charter";
1144 text.weight= "medium";
1147 text "SunLogoText" {
1154 shape "LED" { cornerRadius= 1,
1155 { [ 0, 1.5], [ 1.5, 3], [ 3, 1.5], [ 1.5, 0] }
1157 indicator.onColor= "green";
1158 indicator.offColor= "green30";
1159 indicator.shape= "LED";
1160 indicator "Caps Lock" { left= 75; top= 103; priority= 5; };
1161 indicator "Compose" { left= 314; top= 142; priority= 5; };
1162 indicator "Scroll Lock" { left= 378; top= 29; };
1163 indicator "Num Lock" { left= 426; top= 66; };
1166 xkb_geometry "type4_se" {
1168 // kbd: type = 4, layout = 11
1170 description= "Sun Type4 keyboard (Sweden)";
1177 labelColor= "black";
1179 shape "EDGE" { cornerRadius= 2, { [ 452, 185 ] } };
1180 shape.cornerRadius= 1;
1181 shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
1182 shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
1183 shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
1184 shape "DELE" { { [ 18,18] }, { [2,1], [16,17] } };
1186 approx = { [ 0, 0], [28,37] },
1187 { [ 0, 0], [28, 0], [28,37],
1188 [ 5,37], [ 5,19], [ 0,19] },
1189 { [ 1, 1], [26, 1], [26,36],
1190 [ 7,36], [ 7,18], [ 1,18] }
1192 shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
1193 shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
1194 shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } };
1195 shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
1196 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
1197 shape "SPCE" { { [170,18] }, { [2,1], [168,17] } };
1198 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
1199 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
1200 shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
1217 key.color= "grey10";
1218 keys { <STOP>, <AGAI>, { <FK01>, 9 },
1219 <FK02>, <FK03>, <FK04>,
1220 <FK05>, <FK06>, <FK07>, <FK08>,
1221 <FK09>, <FK10>, <FK11>, <FK12>,
1222 { <AF13>, color= "white"},
1223 { <AF14>, color= "white"},
1224 <DELE>, { <PAUS>, 9 },
1225 <PRSC>, <SCLK>, <NMLK>
1232 { <PROP>, color= "grey10" },
1233 { <UNDO>, color= "grey10" },
1234 { <ESC>, 9, color= "grey10" },
1235 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>,
1236 <AE06>, <AE07>, <AE08>, <AE09>, <AE10>,
1238 { <BKSP>, "BKSP", color= "grey10" },
1239 { <KPEQ>, 9, color= "grey10" },
1240 { <KPDV>, color= "grey10" },
1241 { <KPMU>, color= "grey10" },
1242 { <KPSU>, color= "grey10" }
1249 { <FRNT>, color= "grey10" },
1250 { <COPY>, color= "grey10" },
1251 { <TAB>, 9, "TABK", color= "grey10" },
1252 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1253 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
1255 { <RTRN>, "RTRN", color= "grey10" },
1256 { <KP7>, 9, color= "grey10" },
1257 { <KP8>, color= "grey10" },
1258 { <KP9>, color= "grey10" },
1259 { <KPAD>, "KPAD", color= "grey10" }
1266 { <OPEN>, color= "grey10" },
1267 { <PAST>, color= "grey10" },
1268 { <CAPS>, 9, "LCTL", color= "grey10" },
1269 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1270 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
1272 { <KP4>, 33, color= "grey10" },
1273 { <KP5>, color= "grey10" },
1274 { <KP6>, color= "grey10" }
1281 { <FIND>, color= "grey10" },
1282 { <CUT>, color= "grey10" },
1283 { <LFSH>, 9 , "LFSH", color= "grey10" },
1284 <AB00>, <AB01>, <AB02>, <AB03>,
1285 <AB04>, <AB05>, <AB06>, <AB07>,
1286 <AB08>, <AB09>, <AB10>,
1287 { <RTSH>, "RTSH", color= "grey10" },
1288 { <LNFD>, color= "grey10" },
1289 { <KP1>, 9, color= "grey10" },
1290 { <KP2>, color= "grey10" },
1291 { <KP3>, color= "grey10" },
1292 { <KPEN>, "KPAD", color= "grey10" }
1297 key.color= "grey10";
1299 { <HELP>, "HELP" }, { <LCTL>, 9 },
1301 { <SPCE>, "SPCE", color= "white" },
1302 <RMTA>, <COMP>, <ALGR>,
1303 { <KP0>, 9, "KP0" }, <KPDL>
1306 }; // End of "Alpha" section
1308 shape "RIDGE" { cornerRadius= 1, { [ 0, 1], [ 1, 0 ],
1310 [330, 2], [ 1, 2] } };
1317 shape "LEDS" { cornerRadius= 1, { [ 75 ,21 ] } };
1318 shape "LED" { cornerRadius= 0, { [ 7, 4 ] } };
1319 outline "LedPanel" {
1324 indicator.onColor= "green";
1325 indicator.offColor= "green30";
1327 indicator.shape= "LED";
1328 indicator "Caps Lock" { left= 364; };
1329 indicator "Compose" { left= 383; };
1330 indicator "Scroll Lock" { left= 402; };
1331 indicator "Num Lock" { left= 421; };
1333 text.color= "black";
1334 text "CapsLockLabel" { left= 364; text="Caps\nLock"; };
1335 text "ComposeLabel" { left= 380; text="\nCompose"; };
1336 text "ScrollLockLabel" { left= 402; text="Scroll\nLock"; };
1337 text "NumLockLabel" { left= 421; text="Num\nLock"; };