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= "Silicon Graphics 101-key keyboard";
37 shape "EDGE" { cornerRadius= 2, { [ 472, 193 ] } };
38 shape.cornerRadius= 1;
39 shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
40 shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
41 shape "TABK" { { [ 28,18] }, { [2,1], [26,17] } };
42 shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
43 shape "RTRN" { { [ 40,18] }, { [2,1], [37,17] } };
44 shape "CAPS" { { [ 34,18] }, { [2,1], [29,17] } };
45 shape "RTSH" { { [ 49,18] }, { [2,1], [47,17] } };
46 shape "LFSH" { { [ 44,18] }, { [2,1], [42,17] } };
47 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
48 shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
49 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
50 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
51 shape "LOGO" { { [ 16,16] } };
67 keys { { <ESC>, color="grey20" },
68 { <FK01>, 19}, <FK02>, <FK03>, <FK04>,
69 { <FK05>, 11}, <FK06>, <FK07>, <FK08>,
70 { <FK09>, 11}, <FK10>, <FK11>, <FK12>
73 }; // End of "Function" section
79 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
80 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
81 <AE10>, <AE11>, <AE12>,
82 { <BKSP>, "BKSP", color="grey20" }
87 keys { { <TAB>, "TABK", color= "grey20" },
88 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
89 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
96 keys { { <CAPS>, "CAPS", color="grey20" },
97 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
98 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
99 <AC11>, { <RTRN>, "RTRN", color="grey20" }
104 keys { { <LFSH>, "LFSH", color="grey20" },
105 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
106 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
107 { <RTSH>, "RTSH", color="grey20" }
114 keys { <LCTL>, { <LALT>, 20 },
115 { <SPCE>, "SPCE",color="white" },
116 <RALT>, { <RCTL>, 20 }
119 }; // End of "Alpha" section
127 keys { <PRSC>, <SCLK>, <PAUS> };
131 keys { <INS>, <HOME>, <PGUP> };
135 keys { <DELE>, <END>, <PGDN> };
144 keys { <LEFT>, <DOWN>, <RGHT> };
146 }; // End of "Editing" section
148 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
149 shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
156 indicator.onColor= "green";
157 indicator.offColor= "green30";
159 indicator.shape= "LED";
160 indicator "Num Lock" { left= 386; };
161 indicator "Caps Lock" { left= 411; };
162 indicator "Scroll Lock" { left= 436; };
165 text "NumLockLabel" { left= 382.5; text="Num\nLock"; };
166 text "CapsLockLabel" { left= 407; text="Caps\nLock"; };
167 text "ScrollLockLabel" { left= 432; text="Scroll\nLock"; };
169 logo "SGILogoImage" {
179 text= "SiliconGraphics";
193 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
197 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
201 keys { <KP4>, <KP5>, <KP6> };
205 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
209 keys { { <KP0>, "KP0" }, <KPDL> };
211 }; // End of "Keypad" section
212 alias <AC00> = <CAPS>;
213 alias <AA00> = <LCTL>;
216 xkb_geometry "pc102" {
218 // This is an approximate layout for 102-key SGI international
219 // keyboards. I just took a similar layout (101 key PC keyboard)
220 // and adjusted the sizes of a few keys by eye. I didn't actually
221 // *measure* a real keyboard.
223 description= "Silicon Graphics 102-key Keyboard";
227 shape.cornerRadius= 1;
228 shape "EDGE" { cornerRadius=2, { [ 470, 193 ] } };
229 shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
230 shape "BKSP" { { [35,18] }, { [2,1], [33,17] } };
231 shape "TABK" { { [27,18] }, { [2,1], [25,17] } };
233 approx = { [ 0, 0], [26,37] },
234 { [ 0, 0], [26, 0], [26,37],
235 [ 5,37], [ 5,18], [ 0,18] },
236 { [ 1, 1], [24, 1], [24,36],
237 [ 7,36], [ 7,17], [ 1,17] }
239 shape "CAPS" { { [ 32,18] }, { [2,1], [25,17] } };
240 shape "RTSH" { { [ 50,18] }, { [2,1], [48,17] } };
241 shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
242 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
243 shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
244 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
245 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
246 shape "LOGO" { { [ 16,16] } };
262 keys { { <ESC>, color="grey20" },
263 { <FK01>, 18}, <FK02>, <FK03>, <FK04>,
264 { <FK05>, 10}, <FK06>, <FK07>, <FK08>,
265 { <FK09>, 10}, <FK10>, <FK11>, <FK12>
268 }; // End of "Function" section
274 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
275 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
276 <AE10>, <AE11>, <AE12>,
277 { <BKSP>, "BKSP", color= "grey20" }
282 keys { { <TAB>, "TABK", color= "grey20" },
283 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
284 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
286 { <RTRN>, "RTRN", color= "grey20" }
291 keys { { <CAPS>, "CAPS", color= "grey20" },
292 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
293 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
299 keys { { <LFSH>, "LFSH", color= "grey20" }, <LSGT>,
300 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
301 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
302 { <RTSH>, "RTSH", color= "grey20" }
311 { <SPCE>, "SPCE", color="white" },
316 }; // End of "Alpha" section
324 keys { <PRSC>, <SCLK>, <PAUS> };
328 keys { <INS>, <HOME>, <PGUP> };
332 keys { <DELE>, <END>, <PGDN> };
341 keys { <LEFT>, <DOWN>, <RGHT> };
343 }; // End of "Editing" section
345 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
346 shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
353 indicator.onColor= "green";
354 indicator.offColor= "green30";
356 indicator.shape= "LED";
357 indicator "Num Lock" { left= 384; };
358 indicator "Caps Lock" { left= 409; };
359 indicator "Scroll Lock" { left= 434; };
362 text "NumLockLabel" { left= 380.5; text="Num\nLock"; };
363 text "CapsLockLabel" { left= 405; text="Caps\nLock"; };
364 text "ScrollLockLabel" { left= 430; text="Scroll\nLock"; };
366 logo "SGILogoImage" {
376 text= "SiliconGraphics";
390 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
394 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
398 keys { <KP4>, <KP5>, <KP6> };
402 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
406 keys { { <KP0>, "KP0" }, <KPDL> };
408 }; // End of "Keypad" section
409 alias <AC00> = <CAPS>;
410 alias <AA00> = <LCTL>;
413 xkb_geometry "jp106" {
414 description= "Silicon Graphics 106-key Japanese keyboard";
418 shape "EDGE" { cornerRadius= 2, { [ 442, 167 ] } };
419 shape.cornerRadius= 1;
420 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
421 shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
422 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
423 shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } };
425 { [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } ,
426 { [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } };
427 shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
428 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
429 shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } };
430 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
431 shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } };
432 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
433 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
434 shape "LOGO" { { [ 16,16] } };
442 logo "SGILogoImage" {
453 text= "SiliconGraphics";
461 shape "LEDS" { cornerRadius= 0.1, { [ 76 ,20 ] } };
462 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
470 indicator.onColor= "green";
471 indicator.offColor= "green30";
473 indicator.shape= "LED";
474 indicator "Num Lock" { left= 366; };
475 indicator "Caps Lock" { left= 391; };
476 indicator "Scroll Lock" { left= 416; };
479 text "NumLockLabel" { left= 366; text="Num\nLock"; };
480 text "CapsLockLabel" { left= 391; text="Caps\nLock"; };
481 text "ScrollLockLabel" { left= 416; text="Scroll\nLock"; };
491 keys { { <ESC>, color="grey20" },
492 { <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
493 { <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"},
494 { <FK07>, color="grey20"}, {<FK08>,color="grey20"},
495 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
496 { <PRSC>, 8 }, <SCLK>, <PAUS>
499 }; // End of "Function" section
505 keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>,
506 <AE03>, <AE04>, <AE05>, <AE06>, <AE07>,
507 <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
508 <AE13>, { <BKSP>, "BKSP", color="grey20" }
513 keys { { <TAB>, "TABK", color="grey20" },
514 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
515 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
516 <AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" }
521 keys { { <CAPS>, "CAPS", color="grey20" },
522 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
523 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
529 keys { { <LFSH>, "LFSH", color="grey20" },
530 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
531 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
532 <AB11>, { <RTSH>, "RTSH", color="grey20" }
539 keys { <LCTL>, { <LALT>, 20 },<NFER>,
540 { <SPCE>, "SPCE", color="white" },
541 <XFER>,<HKTG>,<RALT>, { <RCTL>, 17 }
544 }; // End of "Alpha" section
552 keys { <INS>, <HOME>, <PGUP> };
556 keys { <DELE>, <END>, <PGDN> };
565 keys { <LEFT>, <DOWN>, <RGHT> };
567 }; // End of "Editing" section
575 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
579 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
583 keys { <KP4>, <KP5>, <KP6> };
587 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
591 keys { { <KP0>, "KP0" }, <KPDL> };
593 }; // End of "Keypad" section
595 alias <AC00> = <CAPS>;
596 alias <AA00> = <LCTL>;
598 }; // End of "jp106" geometry