2 // Copyright (c) 1996 by Silicon Graphics Computer Systems, Inc.
4 // Permission to use, copy, modify, and distribute this
5 // software and its documentation for any purpose and without
6 // fee is hereby granted, provided that the above copyright
7 // notice appear in all copies and that both that copyright
8 // notice and this permission notice appear in supporting
9 // documentation, and that the name of Silicon Graphics not be
10 // used in advertising or publicity pertaining to distribution
11 // of the software without specific prior written permission.
12 // Silicon Graphics makes no representation about the suitability
13 // of this software for any purpose. It is provided "as is"
14 // without any express or implied warranty.
16 // SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
17 // SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
18 // AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
19 // GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
20 // DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
21 // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
22 // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
23 // THE USE OR PERFORMANCE OF THIS SOFTWARE.
25 default xkb_geometry "pc101" {
27 // This is an approximate layout for a 101-key (US/ASCII) SGI
28 // keyboard. I just took a similar layout (101 key PC keyboard)
29 // and adjusted the sizes of a few keys by eye. I didn't actually
30 // *measure* a real keyboard.
32 description= "101-key keyboard for Silicon Graphics O2";
39 { [ 15, 0 ], [ 433, 0 ], [ 433, 10 ], [ 448, 10 ],
40 [ 448, 162 ], [ 0, 162 ], [ 0, 10 ], [ 15, 10 ] }
42 shape.cornerRadius= 1;
43 shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
44 shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
45 shape "TABK" { { [ 28,18] }, { [2,1], [26,17] } };
46 shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
47 shape "RTRN" { { [ 40,18] }, { [2,1], [37,17] } };
48 shape "CAPS" { { [ 34,18] }, { [2,1], [29,17] } };
49 shape "RTSH" { { [ 49,18] }, { [2,1], [47,17] } };
50 shape "LFSH" { { [ 44,18] }, { [2,1], [42,17] } };
51 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
52 shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
53 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
54 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
55 shape "LOGO" { { [ 12,12] } };
71 keys { { <ESC>, color="grey20" },
72 { <FK01>, 19}, <FK02>, <FK03>, <FK04>,
73 { <FK05>, 11}, <FK06>, <FK07>, <FK08>,
74 { <FK09>, 11}, <FK10>, <FK11>, <FK12>
77 }; // End of "Function" section
83 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
84 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
85 <AE10>, <AE11>, <AE12>,
86 { <BKSP>, "BKSP", color="grey20" }
91 keys { { <TAB>, "TABK", color= "grey20" },
92 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
93 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
100 keys { { <CAPS>, "CAPS", color="grey20" },
101 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
102 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
103 <AC11>, { <RTRN>, "RTRN", color="grey20" }
108 keys { { <LFSH>, "LFSH", color="grey20" },
109 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
110 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
111 { <RTSH>, "RTSH", color="grey20" }
118 keys { <LCTL>, { <LALT>, 20 },
119 { <SPCE>, "SPCE",color="white" },
120 <RALT>, { <RCTL>, 20 }
123 }; // End of "Alpha" section
131 keys { <PRSC>, <SCLK>, <PAUS> };
135 keys { <INS>, <HOME>, <PGUP> };
139 keys { <DELE>, <END>, <PGDN> };
148 keys { <LEFT>, <DOWN>, <RGHT> };
150 }; // End of "Editing" section
152 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
153 shape "LED" { cornerRadius= 0, { [ 3, 1.5] } };
160 indicator.onColor= "green";
161 indicator.offColor= "green30";
163 indicator.shape= "LED";
164 indicator "Num Lock" { left= 372; };
165 indicator "Caps Lock" { left= 397; };
166 indicator "Scro llLock" { left= 422; };
168 text.font= "helvetica";
171 text.fontWidth= "normal";
175 text "NumLockLabel" { left= 376.5; text="1"; };
176 text "CapsLockLabel" { left= 401.5; text="A"; };
177 text "ScrollLockLabel" { left= 426.5; text="S"; };
179 logo "SGILogoImage" {
185 text.font= "helvetica";
188 text.fontWidth= "narrow";
190 text "SiliconLogoText" {
196 text "GraphicsLogoText" {
209 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
213 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
217 keys { <KP4>, <KP5>, <KP6> };
221 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
225 keys { { <KP0>, "KP0" }, <KPDL> };
227 }; // End of "Keypad" section
228 alias <AC00> = <CAPS>;
229 alias <AA00> = <LCTL>;
232 xkb_geometry "pc102" {
234 // This is an approximate layout for 102-key SGI international
235 // keyboards. I just took a similar layout (101 key PC keyboard)
236 // and adjusted the sizes of a few keys by eye. I didn't actually
237 // *measure* a real keyboard.
239 description= "Silicon Graphics 102-key Keyboard";
243 shape.cornerRadius= 1;
244 shape "EDGE" { cornerRadius=2, { [ 470, 193 ] } };
245 shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
246 shape "BKSP" { { [35,18] }, { [2,1], [33,17] } };
247 shape "TABK" { { [27,18] }, { [2,1], [25,17] } };
249 approx = { [ 0, 0], [26,37] },
250 { [ 0, 0], [26, 0], [26,37],
251 [ 5,37], [ 5,18], [ 0,18] },
252 { [ 1, 1], [24, 1], [24,36],
253 [ 7,36], [ 7,17], [ 1,17] }
255 shape "CAPS" { { [ 32,18] }, { [2,1], [25,17] } };
256 shape "RTSH" { { [ 50,18] }, { [2,1], [48,17] } };
257 shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
258 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
259 shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
260 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
261 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
262 shape "LOGO" { { [ 16,16] } };
278 keys { { <ESC>, color="grey20" },
279 { <FK01>, 18}, <FK02>, <FK03>, <FK04>,
280 { <FK05>, 10}, <FK06>, <FK07>, <FK08>,
281 { <FK09>, 10}, <FK10>, <FK11>, <FK12>
284 }; // End of "Function" section
290 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
291 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
292 <AE10>, <AE11>, <AE12>,
293 { <BKSP>, "BKSP", color= "grey20" }
298 keys { { <TAB>, "TABK", color= "grey20" },
299 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
300 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
302 { <RTRN>, "RTRN", color= "grey20" }
307 keys { { <CAPS>, "CAPS", color= "grey20" },
308 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
309 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
315 keys { { <LFSH>, "LFSH", color= "grey20" }, <LSGT>,
316 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
317 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
318 { <RTSH>, "RTSH", color= "grey20" }
327 { <SPCE>, "SPCE", color="white" },
332 }; // End of "Alpha" section
340 keys { <PRSC>, <SCLK>, <PAUS> };
344 keys { <INS>, <HOME>, <PGUP> };
348 keys { <DELE>, <END>, <PGDN> };
357 keys { <LEFT>, <DOWN>, <RGHT> };
359 }; // End of "Editing" section
361 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
362 shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
369 indicator.onColor= "green";
370 indicator.offColor= "green30";
372 indicator.shape= "LED";
373 indicator "Num Lock" { left= 384; };
374 indicator "Caps Lock" { left= 409; };
375 indicator "Scroll Lock" { left= 434; };
378 text "NumLockLabel" { left= 380.5; text="Num\nLock"; };
379 text "CapsLockLabel" { left= 405; text="Caps\nLock"; };
380 text "ScrollLockLabel" { left= 430; text="Scroll\nLock"; };
382 logo "SGILogoImage" {
392 text= "SiliconGraphics";
406 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
410 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
414 keys { <KP4>, <KP5>, <KP6> };
418 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
422 keys { { <KP0>, "KP0" }, <KPDL> };
424 }; // End of "Keypad" section
425 alias <AC00> = <CAPS>;
426 alias <AA00> = <LCTL>;
429 xkb_geometry "jp106" {
430 description= "Silicon Graphics 106-key Japanese keyboard";
434 shape "EDGE" { cornerRadius= 2, { [ 442, 167 ] } };
435 shape.cornerRadius= 1;
436 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
437 shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
438 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
439 shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } };
441 { [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } ,
442 { [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } };
443 shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
444 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
445 shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } };
446 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
447 shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } };
448 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
449 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
450 shape "LOGO" { { [ 16,16] } };
458 logo "SGILogoImage" {
469 text= "SiliconGraphics";
477 shape "LEDS" { cornerRadius= 0.1, { [ 76 ,20 ] } };
478 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
486 indicator.onColor= "green";
487 indicator.offColor= "green30";
489 indicator.shape= "LED";
490 indicator "Num Lock" { left= 366; };
491 indicator "Caps Lock" { left= 391; };
492 indicator "Scroll Lock" { left= 416; };
495 text "NumLockLabel" { left= 366; text="Num\nLock"; };
496 text "CapsLockLabel" { left= 391; text="Caps\nLock"; };
497 text "ScrollLockLabel" { left= 416; text="Scroll\nLock"; };
507 keys { { <ESC>, color="grey20" },
508 { <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
509 { <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"},
510 { <FK07>, color="grey20"}, {<FK08>,color="grey20"},
511 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
512 { <PRSC>, 8 }, <SCLK>, <PAUS>
515 }; // End of "Function" section
521 keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>,
522 <AE03>, <AE04>, <AE05>, <AE06>, <AE07>,
523 <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
524 <AE13>, { <BKSP>, "BKSP", color="grey20" }
529 keys { { <TAB>, "TABK", color="grey20" },
530 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
531 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
532 <AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" }
537 keys { { <CAPS>, "CAPS", color="grey20" },
538 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
539 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
545 keys { { <LFSH>, "LFSH", color="grey20" },
546 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
547 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
548 <AB11>, { <RTSH>, "RTSH", color="grey20" }
555 keys { <LCTL>, { <LALT>, 20 },<NFER>,
556 { <SPCE>, "SPCE", color="white" },
557 <XFER>,<HKTG>,<RALT>, { <RCTL>, 17 }
560 }; // End of "Alpha" section
568 keys { <INS>, <HOME>, <PGUP> };
572 keys { <DELE>, <END>, <PGDN> };
581 keys { <LEFT>, <DOWN>, <RGHT> };
583 }; // End of "Editing" section
591 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
595 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
599 keys { <KP4>, <KP5>, <KP6> };
603 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
607 keys { { <KP0>, "KP0" }, <KPDL> };
609 }; // End of "Keypad" section
611 alias <AC00> = <CAPS>;
612 alias <AA00> = <LCTL>;
614 }; // End of "jp106" geometry