Remove RCS tags
[xorg/xkeyboard-config] / geometry / sgi_vndr / indigo
1 //
2 // Copyright (c) 1996 by Silicon Graphics Computer Systems, Inc.
3 //
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.
15 // 
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.
24 //
25 default xkb_geometry "pc101" {
26
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.
31
32     description= "Silicon Graphics 101-key keyboard";
33
34     width= 472;
35     height= 193;
36
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] } };
52
53     outline "Edges" {
54         top= 0;
55         left= 0;
56         shape= "EDGE";
57     };
58
59     section.left= 19;
60     row.left= 1;
61     key.shape= "NORM";
62     key.gap=  1;
63     section "Function" {
64         top= 50;
65         row {
66             top= 1;
67             keys {      { <ESC>, color="grey20" },
68                         { <FK01>, 19}, <FK02>, <FK03>, <FK04>,
69                         { <FK05>, 11}, <FK06>, <FK07>, <FK08>,
70                         { <FK09>, 11}, <FK10>, <FK11>, <FK12>
71             };
72         };
73     }; // End of "Function" section
74
75     section "Alpha" {
76         top= 83;
77         row {
78             top= 1;
79             keys {      <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
80                         <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
81                         <AE10>, <AE11>, <AE12>,
82                         { <BKSP>, "BKSP", color="grey20" }
83             };
84         };
85         row {
86             top= 20;
87             keys {      { <TAB>, "TABK", color= "grey20" },
88                         <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
89                         <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
90                         <AD11>, <AD12>,
91                         { <BKSL>, "BKSL" }
92             };  
93         };
94         row {
95             top= 39;
96             keys {      { <CAPS>, "CAPS", color="grey20" },
97                         <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
98                         <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
99                         <AC11>, { <RTRN>, "RTRN", color="grey20" }
100             };
101         };
102         row {
103             top= 58;
104             keys {      { <LFSH>, "LFSH", color="grey20" }, 
105                         <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
106                         <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
107                         { <RTSH>, "RTSH", color="grey20" }
108             };
109         };
110         row {
111             top= 77;
112             key.shape= "MODK";
113             key.color= "grey20";
114             keys {      <LCTL>, { <LALT>, 20 },
115                         { <SPCE>, "SPCE",color="white" },
116                         <RALT>, { <RCTL>, 20 }
117             };
118         };
119     }; // End of "Alpha" section
120
121     section "Editing" {
122         top= 50;
123         left= 312;
124         key.color= "grey20";
125         row {
126             top= 1;
127             keys { <PRSC>, <SCLK>, <PAUS> };
128         };
129         row {
130             top= 33;
131             keys { <INS>, <HOME>, <PGUP> };
132         };
133         row {
134             top= 53;
135             keys { <DELE>, <END>, <PGDN> };
136         };
137         row {
138             top= 91;
139             left= 20;
140             keys { <UP> };
141         };
142         row {
143             top= 110;
144             keys { <LEFT>, <DOWN>, <RGHT> };
145         };
146     }; // End of "Editing" section
147
148     shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
149     shape "LED"  { cornerRadius= 0, { [  1,  3 ] } };
150     solid "LedPanel" {
151         shape= "LEDS";
152         top=  50;
153         left= 377;
154         color= "grey10";
155     };
156     indicator.onColor= "green";
157     indicator.offColor= "green30";
158     indicator.top= 64.5;
159     indicator.shape= "LED";
160     indicator "Num Lock"     { left= 386; };
161     indicator "Caps Lock"    { left= 411; };
162     indicator "Scroll Lock"  { left= 436; };
163     text.top= 52;
164     text.color= "black";
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"; };
168     
169     logo "SGILogoImage"         { 
170         top= 17;
171         left= 22;
172         name= "SGI"; 
173         shape= "LOGO"; 
174     };
175     text "SGILogoText"  {
176         top= 21;
177         left= 40;
178         width= 50;
179         text= "SiliconGraphics";
180         font= "helvetica";
181         slant= "o";
182         weight= "bold";
183         fontWidth= "narrow";
184         fontSize= 24;
185     };
186
187     section "Keypad" {
188         top= 83;
189         left= 376;
190         row {
191             top= 1;
192             key.color= "grey20";
193             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
194         };
195         row {
196             top= 20;
197             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
198         };
199         row {
200             top= 39;
201             keys { <KP4>, <KP5>, <KP6> };
202         };
203         row {
204             top= 58;
205             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
206         };
207         row {
208             top= 77;
209             keys { { <KP0>, "KP0" }, <KPDL> };
210         };
211     }; // End of "Keypad" section
212     alias <AC00> = <CAPS>;
213     alias <AA00> = <LCTL>;
214 };
215 xkb_geometry "pc102" {
216
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.
221
222     description= "Silicon Graphics 102-key Keyboard";
223     width= 470;
224     height= 193;
225
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] } };
231     shape "RTRN" {
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] }
237     };
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] } };
246
247     outline "Edges" {
248         top= 0;
249         left= 0;
250         shape= "EDGE";
251     };
252
253     section.left= 19;
254     row.left= 1;
255     key.shape= "NORM";
256     key.gap=  1;
257     section "Function" {
258         top= 50;
259         row {
260             top= 1;
261             keys {      { <ESC>, color="grey20" },
262                         { <FK01>, 18}, <FK02>, <FK03>, <FK04>,
263                         { <FK05>, 10}, <FK06>, <FK07>, <FK08>,
264                         { <FK09>, 10}, <FK10>, <FK11>, <FK12>
265             };
266         };
267     }; // End of "Function" section
268
269     section "Alpha" {
270         top= 83;
271         row {
272             top= 1;
273             keys {      <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
274                         <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
275                         <AE10>, <AE11>, <AE12>,
276                         { <BKSP>, "BKSP", color= "grey20" }
277             };
278         };
279         row {
280             top= 20;
281             keys {      { <TAB>, "TABK", color= "grey20" },
282                         <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
283                         <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
284                         <AD11>, <AD12>,
285                         { <RTRN>, "RTRN", color= "grey20" }
286             };
287         };
288         row {
289             top= 39;
290             keys {      { <CAPS>, "CAPS", color= "grey20" },
291                         <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
292                         <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
293                         <AC11>, <BKSL>
294             };
295         };
296         row {
297             top= 58;
298             keys {      { <LFSH>, "LFSH", color= "grey20" }, <LSGT>,
299                         <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
300                         <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
301                         { <RTSH>, "RTSH", color= "grey20" }
302             };
303         };
304         row {
305             top= 77;
306             key.shape= "MODK";
307             key.color= "grey20";
308             keys {      <LCTL>,
309                         { <LALT>, 19 },
310                         { <SPCE>, "SPCE", color="white" },
311                         <RALT>,
312                         { <RCTL>, 19 }
313             };
314         };
315     }; // End of "Alpha" section
316
317     section "Editing" {
318         top= 50;
319         left= 308;
320         key.color= "grey20";
321         row {
322             top= 1;
323             keys { <PRSC>, <SCLK>, <PAUS> };
324         };
325         row {
326             top= 33;
327             keys { <INS>, <HOME>, <PGUP> };
328         };
329         row {
330             top= 53;
331             keys { <DELE>, <END>, <PGDN> };
332         };
333         row {
334             top= 91;
335             left= 20;
336             keys { <UP> };
337         };
338         row {
339             top= 110;
340             keys { <LEFT>, <DOWN>, <RGHT> };
341         };
342     }; // End of "Editing" section
343
344     shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
345     shape "LED"  { cornerRadius= 0, { [  1,  3 ] } };
346     solid "LedPanel" {
347         shape= "LEDS";
348         top=  50;
349         left= 375;
350         color= "grey10";
351     };
352     indicator.onColor= "green";
353     indicator.offColor= "green30";
354     indicator.top= 64.5;
355     indicator.shape= "LED";
356     indicator "Num Lock"     { left= 384; };
357     indicator "Caps Lock"    { left= 409; };
358     indicator "Scroll Lock"  { left= 434; };
359     text.top= 52;
360     text.color= "black";
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"; };
364
365     logo "SGILogoImage" { 
366         top= 17;
367         left= 22;
368         name= "SGI"; 
369         shape= "LOGO"; 
370     };
371     text "SGILogoText"  {
372         top= 21;
373         left= 40;
374         width= 50;
375         text= "SiliconGraphics";
376         font= "helvetica";
377         slant= "o";
378         weight= "bold";
379         setWidth= "narrow";
380         fontSize= 24;
381     };
382
383     section "Keypad" {
384         top= 83;
385         left= 374;
386         row {
387             top= 1;
388             key.color= "grey20";
389             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
390         };
391         row {
392             top= 20;
393             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
394         };
395         row {
396             top= 39;
397             keys { <KP4>, <KP5>, <KP6> };
398         };
399         row {
400             top= 58;
401             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
402         };
403         row {
404             top= 77;
405             keys { { <KP0>, "KP0" }, <KPDL> };
406         };
407     }; // End of "Keypad" section
408     alias <AC00> = <CAPS>;
409     alias <AA00> = <LCTL>;
410 };