1 // $Xorg: O2,v 1.3 2000/08/17 19:54:36 cpqbld Exp $
3 // Copyright (c) 1996 by Silicon Graphics Computer Systems, Inc.
5 // Permission to use, copy, modify, and distribute this
6 // software and its documentation for any purpose and without
7 // fee is hereby granted, provided that the above copyright
8 // notice appear in all copies and that both that copyright
9 // notice and this permission notice appear in supporting
10 // documentation, and that the name of Silicon Graphics not be
11 // used in advertising or publicity pertaining to distribution
12 // of the software without specific prior written permission.
13 // Silicon Graphics makes no representation about the suitability
14 // of this software for any purpose. It is provided "as is"
15 // without any express or implied warranty.
17 // SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
18 // SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19 // AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
20 // GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
21 // DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
22 // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
23 // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
24 // THE USE OR PERFORMANCE OF THIS SOFTWARE.
28 default xkb_geometry "pc101" {
30 // This is an approximate layout for a 101-key (US/ASCII) SGI
31 // keyboard. I just took a similar layout (101 key PC keyboard)
32 // and adjusted the sizes of a few keys by eye. I didn't actually
33 // *measure* a real keyboard.
35 description= "101-key keyboard for Silicon Graphics O2";
42 { [ 15, 0 ], [ 433, 0 ], [ 433, 10 ], [ 448, 10 ],
43 [ 448, 162 ], [ 0, 162 ], [ 0, 10 ], [ 15, 10 ] }
45 shape.cornerRadius= 1;
46 shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
47 shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
48 shape "TABK" { { [ 28,18] }, { [2,1], [26,17] } };
49 shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
50 shape "RTRN" { { [ 40,18] }, { [2,1], [37,17] } };
51 shape "CAPS" { { [ 34,18] }, { [2,1], [29,17] } };
52 shape "RTSH" { { [ 49,18] }, { [2,1], [47,17] } };
53 shape "LFSH" { { [ 44,18] }, { [2,1], [42,17] } };
54 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
55 shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
56 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
57 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
58 shape "LOGO" { { [ 12,12] } };
74 keys { { <ESC>, color="grey20" },
75 { <FK01>, 19}, <FK02>, <FK03>, <FK04>,
76 { <FK05>, 11}, <FK06>, <FK07>, <FK08>,
77 { <FK09>, 11}, <FK10>, <FK11>, <FK12>
80 }; // End of "Function" section
86 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
87 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
88 <AE10>, <AE11>, <AE12>,
89 { <BKSP>, "BKSP", color="grey20" }
94 keys { { <TAB>, "TABK", color= "grey20" },
95 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
96 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
103 keys { { <CAPS>, "CAPS", color="grey20" },
104 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
105 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
106 <AC11>, { <RTRN>, "RTRN", color="grey20" }
111 keys { { <LFSH>, "LFSH", color="grey20" },
112 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
113 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
114 { <RTSH>, "RTSH", color="grey20" }
121 keys { <LCTL>, { <LALT>, 20 },
122 { <SPCE>, "SPCE",color="white" },
123 <RALT>, { <RCTL>, 20 }
126 }; // End of "Alpha" section
134 keys { <PRSC>, <SCLK>, <PAUS> };
138 keys { <INS>, <HOME>, <PGUP> };
142 keys { <DELE>, <END>, <PGDN> };
151 keys { <LEFT>, <DOWN>, <RGHT> };
153 }; // End of "Editing" section
155 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
156 shape "LED" { cornerRadius= 0, { [ 3, 1.5] } };
163 indicator.onColor= "green";
164 indicator.offColor= "green30";
166 indicator.shape= "LED";
167 indicator "Num Lock" { left= 372; };
168 indicator "Caps Lock" { left= 397; };
169 indicator "Scro llLock" { left= 422; };
171 text.font= "helvetica";
174 text.fontWidth= "normal";
178 text "NumLockLabel" { left= 376.5; text="1"; };
179 text "CapsLockLabel" { left= 401.5; text="A"; };
180 text "ScrollLockLabel" { left= 426.5; text="S"; };
182 logo "SGILogoImage" {
188 text.font= "helvetica";
191 text.fontWidth= "narrow";
193 text "SiliconLogoText" {
199 text "GraphicsLogoText" {
212 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
216 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
220 keys { <KP4>, <KP5>, <KP6> };
224 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
228 keys { { <KP0>, "KP0" }, <KPDL> };
230 }; // End of "Keypad" section
231 alias <AC00> = <CAPS>;
232 alias <AA00> = <LCTL>;
235 xkb_geometry "pc102" {
237 // This is an approximate layout for 102-key SGI international
238 // keyboards. I just took a similar layout (101 key PC keyboard)
239 // and adjusted the sizes of a few keys by eye. I didn't actually
240 // *measure* a real keyboard.
242 description= "Silicon Graphics 102-key Keyboard";
246 shape.cornerRadius= 1;
247 shape "EDGE" { cornerRadius=2, { [ 470, 193 ] } };
248 shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
249 shape "BKSP" { { [35,18] }, { [2,1], [33,17] } };
250 shape "TABK" { { [27,18] }, { [2,1], [25,17] } };
252 approx = { [ 0, 0], [26,37] },
253 { [ 0, 0], [26, 0], [26,37],
254 [ 5,37], [ 5,18], [ 0,18] },
255 { [ 1, 1], [24, 1], [24,36],
256 [ 7,36], [ 7,17], [ 1,17] }
258 shape "CAPS" { { [ 32,18] }, { [2,1], [25,17] } };
259 shape "RTSH" { { [ 50,18] }, { [2,1], [48,17] } };
260 shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
261 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
262 shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
263 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
264 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
265 shape "LOGO" { { [ 16,16] } };
281 keys { { <ESC>, color="grey20" },
282 { <FK01>, 18}, <FK02>, <FK03>, <FK04>,
283 { <FK05>, 10}, <FK06>, <FK07>, <FK08>,
284 { <FK09>, 10}, <FK10>, <FK11>, <FK12>
287 }; // End of "Function" section
293 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
294 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
295 <AE10>, <AE11>, <AE12>,
296 { <BKSP>, "BKSP", color= "grey20" }
301 keys { { <TAB>, "TABK", color= "grey20" },
302 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
303 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
305 { <RTRN>, "RTRN", color= "grey20" }
310 keys { { <CAPS>, "CAPS", color= "grey20" },
311 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
312 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
318 keys { { <LFSH>, "LFSH", color= "grey20" }, <LSGT>,
319 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
320 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
321 { <RTSH>, "RTSH", color= "grey20" }
330 { <SPCE>, "SPCE", color="white" },
335 }; // End of "Alpha" section
343 keys { <PRSC>, <SCLK>, <PAUS> };
347 keys { <INS>, <HOME>, <PGUP> };
351 keys { <DELE>, <END>, <PGDN> };
360 keys { <LEFT>, <DOWN>, <RGHT> };
362 }; // End of "Editing" section
364 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
365 shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
372 indicator.onColor= "green";
373 indicator.offColor= "green30";
375 indicator.shape= "LED";
376 indicator "Num Lock" { left= 384; };
377 indicator "Caps Lock" { left= 409; };
378 indicator "Scroll Lock" { left= 434; };
381 text "NumLockLabel" { left= 380.5; text="Num\nLock"; };
382 text "CapsLockLabel" { left= 405; text="Caps\nLock"; };
383 text "ScrollLockLabel" { left= 430; text="Scroll\nLock"; };
385 logo "SGILogoImage" {
395 text= "SiliconGraphics";
409 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
413 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
417 keys { <KP4>, <KP5>, <KP6> };
421 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
425 keys { { <KP0>, "KP0" }, <KPDL> };
427 }; // End of "Keypad" section
428 alias <AC00> = <CAPS>;
429 alias <AA00> = <LCTL>;
432 xkb_geometry "jp106" {
433 description= "Silicon Graphics 106-key Japanese keyboard";
437 shape "EDGE" { cornerRadius= 2, { [ 442, 167 ] } };
438 shape.cornerRadius= 1;
439 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
440 shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
441 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
442 shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } };
444 { [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } ,
445 { [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } };
446 shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
447 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
448 shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } };
449 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
450 shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } };
451 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
452 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
453 shape "LOGO" { { [ 16,16] } };
461 logo "SGILogoImage" {
472 text= "SiliconGraphics";
480 shape "LEDS" { cornerRadius= 0.1, { [ 76 ,20 ] } };
481 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
489 indicator.onColor= "green";
490 indicator.offColor= "green30";
492 indicator.shape= "LED";
493 indicator "Num Lock" { left= 366; };
494 indicator "Caps Lock" { left= 391; };
495 indicator "Scroll Lock" { left= 416; };
498 text "NumLockLabel" { left= 366; text="Num\nLock"; };
499 text "CapsLockLabel" { left= 391; text="Caps\nLock"; };
500 text "ScrollLockLabel" { left= 416; text="Scroll\nLock"; };
510 keys { { <ESC>, color="grey20" },
511 { <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
512 { <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"},
513 { <FK07>, color="grey20"}, {<FK08>,color="grey20"},
514 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
515 { <PRSC>, 8 }, <SCLK>, <PAUS>
518 }; // End of "Function" section
524 keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>,
525 <AE03>, <AE04>, <AE05>, <AE06>, <AE07>,
526 <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
527 <AE13>, { <BKSP>, "BKSP", color="grey20" }
532 keys { { <TAB>, "TABK", color="grey20" },
533 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
534 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
535 <AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" }
540 keys { { <CAPS>, "CAPS", color="grey20" },
541 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
542 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
548 keys { { <LFSH>, "LFSH", color="grey20" },
549 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
550 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
551 <AB11>, { <RTSH>, "RTSH", color="grey20" }
558 keys { <LCTL>, { <LALT>, 20 },<NFER>,
559 { <SPCE>, "SPCE", color="white" },
560 <XFER>,<HKTG>,<RALT>, { <RCTL>, 17 }
563 }; // End of "Alpha" section
571 keys { <INS>, <HOME>, <PGUP> };
575 keys { <DELE>, <END>, <PGDN> };
584 keys { <LEFT>, <DOWN>, <RGHT> };
586 }; // End of "Editing" section
594 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
598 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
602 keys { <KP4>, <KP5>, <KP6> };
606 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
610 keys { { <KP0>, "KP0" }, <KPDL> };
612 }; // End of "Keypad" section
614 alias <AC00> = <CAPS>;
615 alias <AA00> = <LCTL>;
617 }; // End of "jp106" geometry