1 // $Xorg: indy,v 1.3 2000/08/17 19:54:37 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= "Silicon Graphics 101-key keyboard";
40 shape "EDGE" { cornerRadius= 2, { [ 472, 193 ] } };
41 shape.cornerRadius= 1;
42 shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
43 shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
44 shape "TABK" { { [ 28,18] }, { [2,1], [26,17] } };
45 shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
46 shape "RTRN" { { [ 40,18] }, { [2,1], [37,17] } };
47 shape "CAPS" { { [ 34,18] }, { [2,1], [29,17] } };
48 shape "RTSH" { { [ 49,18] }, { [2,1], [47,17] } };
49 shape "LFSH" { { [ 44,18] }, { [2,1], [42,17] } };
50 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
51 shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
52 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
53 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
54 shape "LOGO" { { [ 16,16] } };
70 keys { { <ESC>, color="grey20" },
71 { <FK01>, 19}, <FK02>, <FK03>, <FK04>,
72 { <FK05>, 11}, <FK06>, <FK07>, <FK08>,
73 { <FK09>, 11}, <FK10>, <FK11>, <FK12>
76 }; // End of "Function" section
82 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
83 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
84 <AE10>, <AE11>, <AE12>,
85 { <BKSP>, "BKSP", color="grey20" }
90 keys { { <TAB>, "TABK", color= "grey20" },
91 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
92 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
99 keys { { <CAPS>, "CAPS", color="grey20" },
100 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
101 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
102 <AC11>, { <RTRN>, "RTRN", color="grey20" }
107 keys { { <LFSH>, "LFSH", color="grey20" },
108 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
109 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
110 { <RTSH>, "RTSH", color="grey20" }
117 keys { <LCTL>, { <LALT>, 20 },
118 { <SPCE>, "SPCE",color="white" },
119 <RALT>, { <RCTL>, 20 }
122 }; // End of "Alpha" section
130 keys { <PRSC>, <SCLK>, <PAUS> };
134 keys { <INS>, <HOME>, <PGUP> };
138 keys { <DELE>, <END>, <PGDN> };
147 keys { <LEFT>, <DOWN>, <RGHT> };
149 }; // End of "Editing" section
151 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
152 shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
159 indicator.onColor= "green";
160 indicator.offColor= "green30";
162 indicator.shape= "LED";
163 indicator "Num Lock" { left= 386; };
164 indicator "Caps Lock" { left= 411; };
165 indicator "Scroll Lock" { left= 436; };
168 text "NumLockLabel" { left= 382.5; text="Num\nLock"; };
169 text "CapsLockLabel" { left= 407; text="Caps\nLock"; };
170 text "ScrollLockLabel" { left= 432; text="Scroll\nLock"; };
172 logo "SGILogoImage" {
182 text= "SiliconGraphics";
196 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
200 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
204 keys { <KP4>, <KP5>, <KP6> };
208 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
212 keys { { <KP0>, "KP0" }, <KPDL> };
214 }; // End of "Keypad" section
215 alias <AC00> = <CAPS>;
216 alias <AA00> = <LCTL>;
219 xkb_geometry "pc102" {
221 // This is an approximate layout for 102-key SGI international
222 // keyboards. I just took a similar layout (101 key PC keyboard)
223 // and adjusted the sizes of a few keys by eye. I didn't actually
224 // *measure* a real keyboard.
226 description= "Silicon Graphics 102-key Keyboard";
230 shape.cornerRadius= 1;
231 shape "EDGE" { cornerRadius=2, { [ 470, 193 ] } };
232 shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
233 shape "BKSP" { { [35,18] }, { [2,1], [33,17] } };
234 shape "TABK" { { [27,18] }, { [2,1], [25,17] } };
236 approx = { [ 0, 0], [26,37] },
237 { [ 0, 0], [26, 0], [26,37],
238 [ 5,37], [ 5,18], [ 0,18] },
239 { [ 1, 1], [24, 1], [24,36],
240 [ 7,36], [ 7,17], [ 1,17] }
242 shape "CAPS" { { [ 32,18] }, { [2,1], [25,17] } };
243 shape "RTSH" { { [ 50,18] }, { [2,1], [48,17] } };
244 shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
245 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
246 shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
247 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
248 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
249 shape "LOGO" { { [ 16,16] } };
265 keys { { <ESC>, color="grey20" },
266 { <FK01>, 18}, <FK02>, <FK03>, <FK04>,
267 { <FK05>, 10}, <FK06>, <FK07>, <FK08>,
268 { <FK09>, 10}, <FK10>, <FK11>, <FK12>
271 }; // End of "Function" section
277 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
278 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
279 <AE10>, <AE11>, <AE12>,
280 { <BKSP>, "BKSP", color= "grey20" }
285 keys { { <TAB>, "TABK", color= "grey20" },
286 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
287 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
289 { <RTRN>, "RTRN", color= "grey20" }
294 keys { { <CAPS>, "CAPS", color= "grey20" },
295 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
296 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
302 keys { { <LFSH>, "LFSH", color= "grey20" }, <LSGT>,
303 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
304 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
305 { <RTSH>, "RTSH", color= "grey20" }
314 { <SPCE>, "SPCE", color="white" },
319 }; // End of "Alpha" section
327 keys { <PRSC>, <SCLK>, <PAUS> };
331 keys { <INS>, <HOME>, <PGUP> };
335 keys { <DELE>, <END>, <PGDN> };
344 keys { <LEFT>, <DOWN>, <RGHT> };
346 }; // End of "Editing" section
348 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
349 shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
356 indicator.onColor= "green";
357 indicator.offColor= "green30";
359 indicator.shape= "LED";
360 indicator "Num Lock" { left= 384; };
361 indicator "Caps Lock" { left= 409; };
362 indicator "Scroll Lock" { left= 434; };
365 text "NumLockLabel" { left= 380.5; text="Num\nLock"; };
366 text "CapsLockLabel" { left= 405; text="Caps\nLock"; };
367 text "ScrollLockLabel" { left= 430; text="Scroll\nLock"; };
369 logo "SGILogoImage" {
379 text= "SiliconGraphics";
393 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
397 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
401 keys { <KP4>, <KP5>, <KP6> };
405 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
409 keys { { <KP0>, "KP0" }, <KPDL> };
411 }; // End of "Keypad" section
412 alias <AC00> = <CAPS>;
413 alias <AA00> = <LCTL>;
416 xkb_geometry "jp106" {
417 description= "Silicon Graphics 106-key Japanese keyboard";
421 shape "EDGE" { cornerRadius= 2, { [ 442, 167 ] } };
422 shape.cornerRadius= 1;
423 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
424 shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
425 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
426 shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } };
428 { [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } ,
429 { [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } };
430 shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
431 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
432 shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } };
433 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
434 shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } };
435 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
436 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
437 shape "LOGO" { { [ 16,16] } };
445 logo "SGILogoImage" {
456 text= "SiliconGraphics";
464 shape "LEDS" { cornerRadius= 0.1, { [ 76 ,20 ] } };
465 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
473 indicator.onColor= "green";
474 indicator.offColor= "green30";
476 indicator.shape= "LED";
477 indicator "Num Lock" { left= 366; };
478 indicator "Caps Lock" { left= 391; };
479 indicator "Scroll Lock" { left= 416; };
482 text "NumLockLabel" { left= 366; text="Num\nLock"; };
483 text "CapsLockLabel" { left= 391; text="Caps\nLock"; };
484 text "ScrollLockLabel" { left= 416; text="Scroll\nLock"; };
494 keys { { <ESC>, color="grey20" },
495 { <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
496 { <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"},
497 { <FK07>, color="grey20"}, {<FK08>,color="grey20"},
498 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
499 { <PRSC>, 8 }, <SCLK>, <PAUS>
502 }; // End of "Function" section
508 keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>,
509 <AE03>, <AE04>, <AE05>, <AE06>, <AE07>,
510 <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
511 <AE13>, { <BKSP>, "BKSP", color="grey20" }
516 keys { { <TAB>, "TABK", color="grey20" },
517 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
518 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
519 <AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" }
524 keys { { <CAPS>, "CAPS", color="grey20" },
525 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
526 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
532 keys { { <LFSH>, "LFSH", color="grey20" },
533 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
534 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
535 <AB11>, { <RTSH>, "RTSH", color="grey20" }
542 keys { <LCTL>, { <LALT>, 20 },<NFER>,
543 { <SPCE>, "SPCE", color="white" },
544 <XFER>,<HKTG>,<RALT>, { <RCTL>, 17 }
547 }; // End of "Alpha" section
555 keys { <INS>, <HOME>, <PGUP> };
559 keys { <DELE>, <END>, <PGDN> };
568 keys { <LEFT>, <DOWN>, <RGHT> };
570 }; // End of "Editing" section
578 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
582 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
586 keys { <KP4>, <KP5>, <KP6> };
590 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
594 keys { { <KP0>, "KP0" }, <KPDL> };
596 }; // End of "Keypad" section
598 alias <AC00> = <CAPS>;
599 alias <AA00> = <LCTL>;
601 }; // End of "jp106" geometry