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.
26 default xkb_geometry "pc101" {
28 // This is an approximate layout for a 101-key (US/ASCII) SGI
29 // keyboard. I just took a similar layout (101 key PC keyboard)
30 // and adjusted the sizes of a few keys by eye. I didn't actually
31 // *measure* a real keyboard.
33 description= "Silicon Graphics 101-key keyboard";
38 shape "EDGE" { cornerRadius= 2, { [ 472, 193 ] } };
39 shape.cornerRadius= 1;
40 shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
41 shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
42 shape "TABK" { { [ 28,18] }, { [2,1], [26,17] } };
43 shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
44 shape "RTRN" { { [ 40,18] }, { [2,1], [37,17] } };
45 shape "CAPS" { { [ 34,18] }, { [2,1], [29,17] } };
46 shape "RTSH" { { [ 49,18] }, { [2,1], [47,17] } };
47 shape "LFSH" { { [ 44,18] }, { [2,1], [42,17] } };
48 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
49 shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
50 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
51 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
52 shape "LOGO" { { [ 16,16] } };
68 keys { { <ESC>, color="grey20" },
69 { <FK01>, 19}, <FK02>, <FK03>, <FK04>,
70 { <FK05>, 11}, <FK06>, <FK07>, <FK08>,
71 { <FK09>, 11}, <FK10>, <FK11>, <FK12>
74 }; // End of "Function" section
80 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
81 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
82 <AE10>, <AE11>, <AE12>,
83 { <BKSP>, "BKSP", color="grey20" }
88 keys { { <TAB>, "TABK", color= "grey20" },
89 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
90 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
97 keys { { <CAPS>, "CAPS", color="grey20" },
98 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
99 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
100 <AC11>, { <RTRN>, "RTRN", color="grey20" }
105 keys { { <LFSH>, "LFSH", color="grey20" },
106 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
107 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
108 { <RTSH>, "RTSH", color="grey20" }
115 keys { <LCTL>, { <LALT>, 20 },
116 { <SPCE>, "SPCE",color="white" },
117 <RALT>, { <RCTL>, 20 }
120 }; // End of "Alpha" section
128 keys { <PRSC>, <SCLK>, <PAUS> };
132 keys { <INS>, <HOME>, <PGUP> };
136 keys { <DELE>, <END>, <PGDN> };
145 keys { <LEFT>, <DOWN>, <RGHT> };
147 }; // End of "Editing" section
149 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
150 shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
157 indicator.onColor= "green";
158 indicator.offColor= "green30";
160 indicator.shape= "LED";
161 indicator "Num Lock" { left= 386; };
162 indicator "Caps Lock" { left= 411; };
163 indicator "Scroll Lock" { left= 436; };
166 text "NumLockLabel" { left= 382.5; text="Num\nLock"; };
167 text "CapsLockLabel" { left= 407; text="Caps\nLock"; };
168 text "ScrollLockLabel" { left= 432; text="Scroll\nLock"; };
170 logo "SGILogoImage" {
180 text= "SiliconGraphics";
194 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
198 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
202 keys { <KP4>, <KP5>, <KP6> };
206 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
210 keys { { <KP0>, "KP0" }, <KPDL> };
212 }; // End of "Keypad" section
213 alias <AC00> = <CAPS>;
214 alias <AA00> = <LCTL>;
217 xkb_geometry "pc102" {
219 // This is an approximate layout for 102-key SGI international
220 // keyboards. I just took a similar layout (101 key PC keyboard)
221 // and adjusted the sizes of a few keys by eye. I didn't actually
222 // *measure* a real keyboard.
224 description= "Silicon Graphics 102-key Keyboard";
228 shape.cornerRadius= 1;
229 shape "EDGE" { cornerRadius=2, { [ 470, 193 ] } };
230 shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
231 shape "BKSP" { { [35,18] }, { [2,1], [33,17] } };
232 shape "TABK" { { [27,18] }, { [2,1], [25,17] } };
234 approx = { [ 0, 0], [26,37] },
235 { [ 0, 0], [26, 0], [26,37],
236 [ 5,37], [ 5,18], [ 0,18] },
237 { [ 1, 1], [24, 1], [24,36],
238 [ 7,36], [ 7,17], [ 1,17] }
240 shape "CAPS" { { [ 32,18] }, { [2,1], [25,17] } };
241 shape "RTSH" { { [ 50,18] }, { [2,1], [48,17] } };
242 shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
243 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
244 shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
245 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
246 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
247 shape "LOGO" { { [ 16,16] } };
263 keys { { <ESC>, color="grey20" },
264 { <FK01>, 18}, <FK02>, <FK03>, <FK04>,
265 { <FK05>, 10}, <FK06>, <FK07>, <FK08>,
266 { <FK09>, 10}, <FK10>, <FK11>, <FK12>
269 }; // End of "Function" section
275 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
276 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
277 <AE10>, <AE11>, <AE12>,
278 { <BKSP>, "BKSP", color= "grey20" }
283 keys { { <TAB>, "TABK", color= "grey20" },
284 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
285 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
287 { <RTRN>, "RTRN", color= "grey20" }
292 keys { { <CAPS>, "CAPS", color= "grey20" },
293 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
294 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
300 keys { { <LFSH>, "LFSH", color= "grey20" }, <LSGT>,
301 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
302 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
303 { <RTSH>, "RTSH", color= "grey20" }
312 { <SPCE>, "SPCE", color="white" },
317 }; // End of "Alpha" section
325 keys { <PRSC>, <SCLK>, <PAUS> };
329 keys { <INS>, <HOME>, <PGUP> };
333 keys { <DELE>, <END>, <PGDN> };
342 keys { <LEFT>, <DOWN>, <RGHT> };
344 }; // End of "Editing" section
346 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
347 shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
354 indicator.onColor= "green";
355 indicator.offColor= "green30";
357 indicator.shape= "LED";
358 indicator "Num Lock" { left= 384; };
359 indicator "Caps Lock" { left= 409; };
360 indicator "Scroll Lock" { left= 434; };
363 text "NumLockLabel" { left= 380.5; text="Num\nLock"; };
364 text "CapsLockLabel" { left= 405; text="Caps\nLock"; };
365 text "ScrollLockLabel" { left= 430; text="Scroll\nLock"; };
367 logo "SGILogoImage" {
377 text= "SiliconGraphics";
391 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
395 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
399 keys { <KP4>, <KP5>, <KP6> };
403 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
407 keys { { <KP0>, "KP0" }, <KPDL> };
409 }; // End of "Keypad" section
410 alias <AC00> = <CAPS>;
411 alias <AA00> = <LCTL>;
414 xkb_geometry "jp106" {
415 description= "Silicon Graphics 106-key Japanese keyboard";
419 shape "EDGE" { cornerRadius= 2, { [ 442, 167 ] } };
420 shape.cornerRadius= 1;
421 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
422 shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
423 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
424 shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } };
426 { [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } ,
427 { [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } };
428 shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
429 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
430 shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } };
431 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
432 shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } };
433 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
434 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
435 shape "LOGO" { { [ 16,16] } };
443 logo "SGILogoImage" {
454 text= "SiliconGraphics";
462 shape "LEDS" { cornerRadius= 0.1, { [ 76 ,20 ] } };
463 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
471 indicator.onColor= "green";
472 indicator.offColor= "green30";
474 indicator.shape= "LED";
475 indicator "Num Lock" { left= 366; };
476 indicator "Caps Lock" { left= 391; };
477 indicator "Scroll Lock" { left= 416; };
480 text "NumLockLabel" { left= 366; text="Num\nLock"; };
481 text "CapsLockLabel" { left= 391; text="Caps\nLock"; };
482 text "ScrollLockLabel" { left= 416; text="Scroll\nLock"; };
492 keys { { <ESC>, color="grey20" },
493 { <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
494 { <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"},
495 { <FK07>, color="grey20"}, {<FK08>,color="grey20"},
496 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
497 { <PRSC>, 8 }, <SCLK>, <PAUS>
500 }; // End of "Function" section
506 keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>,
507 <AE03>, <AE04>, <AE05>, <AE06>, <AE07>,
508 <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
509 <AE13>, { <BKSP>, "BKSP", color="grey20" }
514 keys { { <TAB>, "TABK", color="grey20" },
515 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
516 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
517 <AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" }
522 keys { { <CAPS>, "CAPS", color="grey20" },
523 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
524 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
530 keys { { <LFSH>, "LFSH", color="grey20" },
531 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
532 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
533 <AB11>, { <RTSH>, "RTSH", color="grey20" }
540 keys { <LCTL>, { <LALT>, 20 },<NFER>,
541 { <SPCE>, "SPCE", color="white" },
542 <XFER>,<HKTG>,<RALT>, { <RCTL>, 17 }
545 }; // End of "Alpha" section
553 keys { <INS>, <HOME>, <PGUP> };
557 keys { <DELE>, <END>, <PGDN> };
566 keys { <LEFT>, <DOWN>, <RGHT> };
568 }; // End of "Editing" section
576 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
580 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
584 keys { <KP4>, <KP5>, <KP6> };
588 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
592 keys { { <KP0>, "KP0" }, <KPDL> };
594 }; // End of "Keypad" section
596 alias <AC00> = <CAPS>;
597 alias <AA00> = <LCTL>;
599 }; // End of "jp106" geometry