1 // $Xorg: indigo,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>;
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>;