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>;
215 xkb_geometry "pc102" {
217 // This is an approximate layout for 102-key SGI international
218 // keyboards. I just took a similar layout (101 key PC keyboard)
219 // and adjusted the sizes of a few keys by eye. I didn't actually
220 // *measure* a real keyboard.
222 description= "Silicon Graphics 102-key Keyboard";
226 shape.cornerRadius= 1;
227 shape "EDGE" { cornerRadius=2, { [ 470, 193 ] } };
228 shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
229 shape "BKSP" { { [35,18] }, { [2,1], [33,17] } };
230 shape "TABK" { { [27,18] }, { [2,1], [25,17] } };
232 approx = { [ 0, 0], [26,37] },
233 { [ 0, 0], [26, 0], [26,37],
234 [ 5,37], [ 5,18], [ 0,18] },
235 { [ 1, 1], [24, 1], [24,36],
236 [ 7,36], [ 7,17], [ 1,17] }
238 shape "CAPS" { { [ 32,18] }, { [2,1], [25,17] } };
239 shape "RTSH" { { [ 50,18] }, { [2,1], [48,17] } };
240 shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
241 shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
242 shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
243 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
244 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
245 shape "LOGO" { { [ 16,16] } };
261 keys { { <ESC>, color="grey20" },
262 { <FK01>, 18}, <FK02>, <FK03>, <FK04>,
263 { <FK05>, 10}, <FK06>, <FK07>, <FK08>,
264 { <FK09>, 10}, <FK10>, <FK11>, <FK12>
267 }; // End of "Function" section
273 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
274 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
275 <AE10>, <AE11>, <AE12>,
276 { <BKSP>, "BKSP", color= "grey20" }
281 keys { { <TAB>, "TABK", color= "grey20" },
282 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
283 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
285 { <RTRN>, "RTRN", color= "grey20" }
290 keys { { <CAPS>, "CAPS", color= "grey20" },
291 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
292 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
298 keys { { <LFSH>, "LFSH", color= "grey20" }, <LSGT>,
299 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
300 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
301 { <RTSH>, "RTSH", color= "grey20" }
310 { <SPCE>, "SPCE", color="white" },
315 }; // End of "Alpha" section
323 keys { <PRSC>, <SCLK>, <PAUS> };
327 keys { <INS>, <HOME>, <PGUP> };
331 keys { <DELE>, <END>, <PGDN> };
340 keys { <LEFT>, <DOWN>, <RGHT> };
342 }; // End of "Editing" section
344 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
345 shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
352 indicator.onColor= "green";
353 indicator.offColor= "green30";
355 indicator.shape= "LED";
356 indicator "Num Lock" { left= 384; };
357 indicator "Caps Lock" { left= 409; };
358 indicator "Scroll Lock" { left= 434; };
361 text "NumLockLabel" { left= 380.5; text="Num\nLock"; };
362 text "CapsLockLabel" { left= 405; text="Caps\nLock"; };
363 text "ScrollLockLabel" { left= 430; text="Scroll\nLock"; };
365 logo "SGILogoImage" {
375 text= "SiliconGraphics";
389 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
393 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
397 keys { <KP4>, <KP5>, <KP6> };
401 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
405 keys { { <KP0>, "KP0" }, <KPDL> };
407 }; // End of "Keypad" section
408 alias <AC00> = <CAPS>;
409 alias <AA00> = <LCTL>;