Ivan found dots are not good for us
[xorg/xkeyboard-config] / geometry / sgi_vndr / indy
1 // $Xorg: indy,v 1.3 2000/08/17 19:54:37 cpqbld Exp $
2 //
3 // Copyright (c) 1996 by Silicon Graphics Computer Systems, Inc.
4 //
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.
16 // 
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.
25 //
26 // $XFree86$
27 //
28 default xkb_geometry "pc101" {
29
30     // This is an approximate layout for a 101-key (US/ASCII) SGI
31     // keyboard.  I just took a similar layout (101 key PC keyboard)
32     // and adjusted the sizes of a few keys by eye.  I didn't actually
33     // *measure* a real keyboard.
34
35     description= "Silicon Graphics 101-key keyboard";
36
37     width= 472;
38     height= 193;
39
40     shape "EDGE" { cornerRadius= 2, { [ 472, 193 ] } };
41     shape.cornerRadius= 1;
42     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
43     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
44     shape "TABK" { { [ 28,18] }, { [2,1], [26,17] } };
45     shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
46     shape "RTRN" { { [ 40,18] }, { [2,1], [37,17] } };
47     shape "CAPS" { { [ 34,18] }, { [2,1], [29,17] } };
48     shape "RTSH" { { [ 49,18] }, { [2,1], [47,17] } };
49     shape "LFSH" { { [ 44,18] }, { [2,1], [42,17] } };
50     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
51     shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
52     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
53     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
54     shape "LOGO" { { [ 16,16] } };
55
56     outline "Edges" {
57         top= 0;
58         left= 0;
59         shape= "EDGE";
60     };
61
62     section.left= 19;
63     row.left= 1;
64     key.shape= "NORM";
65     key.gap=  1;
66     section "Function" {
67         top= 50;
68         row {
69             top= 1;
70             keys {      { <ESC>, color="grey20" },
71                         { <FK01>, 19}, <FK02>, <FK03>, <FK04>,
72                         { <FK05>, 11}, <FK06>, <FK07>, <FK08>,
73                         { <FK09>, 11}, <FK10>, <FK11>, <FK12>
74             };
75         };
76     }; // End of "Function" section
77
78     section "Alpha" {
79         top= 83;
80         row {
81             top= 1;
82             keys {      <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
83                         <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
84                         <AE10>, <AE11>, <AE12>,
85                         { <BKSP>, "BKSP", color="grey20" }
86             };
87         };
88         row {
89             top= 20;
90             keys {      { <TAB>, "TABK", color= "grey20" },
91                         <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
92                         <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
93                         <AD11>, <AD12>,
94                         { <BKSL>, "BKSL" }
95             };  
96         };
97         row {
98             top= 39;
99             keys {      { <CAPS>, "CAPS", color="grey20" },
100                         <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
101                         <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
102                         <AC11>, { <RTRN>, "RTRN", color="grey20" }
103             };
104         };
105         row {
106             top= 58;
107             keys {      { <LFSH>, "LFSH", color="grey20" }, 
108                         <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
109                         <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
110                         { <RTSH>, "RTSH", color="grey20" }
111             };
112         };
113         row {
114             top= 77;
115             key.shape= "MODK";
116             key.color= "grey20";
117             keys {      <LCTL>, { <LALT>, 20 },
118                         { <SPCE>, "SPCE",color="white" },
119                         <RALT>, { <RCTL>, 20 }
120             };
121         };
122     }; // End of "Alpha" section
123
124     section "Editing" {
125         top= 50;
126         left= 312;
127         key.color= "grey20";
128         row {
129             top= 1;
130             keys { <PRSC>, <SCLK>, <PAUS> };
131         };
132         row {
133             top= 33;
134             keys { <INS>, <HOME>, <PGUP> };
135         };
136         row {
137             top= 53;
138             keys { <DELE>, <END>, <PGDN> };
139         };
140         row {
141             top= 91;
142             left= 20;
143             keys { <UP> };
144         };
145         row {
146             top= 110;
147             keys { <LEFT>, <DOWN>, <RGHT> };
148         };
149     }; // End of "Editing" section
150
151     shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
152     shape "LED"  { cornerRadius= 0, { [  1,  3 ] } };
153     solid "LedPanel" {
154         shape= "LEDS";
155         top=  50;
156         left= 377;
157         color= "grey10";
158     };
159     indicator.onColor= "green";
160     indicator.offColor= "green30";
161     indicator.top= 64.5;
162     indicator.shape= "LED";
163     indicator "Num Lock"     { left= 386; };
164     indicator "Caps Lock"    { left= 411; };
165     indicator "Scroll Lock"  { left= 436; };
166     text.top= 52;
167     text.color= "black";
168     text "NumLockLabel"         { left= 382.5; text="Num\nLock"; };
169     text "CapsLockLabel"        { left= 407; text="Caps\nLock"; };
170     text "ScrollLockLabel"      { left= 432; text="Scroll\nLock"; };
171     
172     logo "SGILogoImage"         { 
173         top= 17;
174         left= 22;
175         name= "SGI"; 
176         shape= "LOGO"; 
177     };
178     text "SGILogoText"  {
179         top= 21;
180         left= 40;
181         width= 50;
182         text= "SiliconGraphics";
183         font= "helvetica";
184         slant= "o";
185         weight= "bold";
186         fontWidth= "narrow";
187         fontSize= 24;
188     };
189
190     section "Keypad" {
191         top= 83;
192         left= 376;
193         row {
194             top= 1;
195             key.color= "grey20";
196             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
197         };
198         row {
199             top= 20;
200             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
201         };
202         row {
203             top= 39;
204             keys { <KP4>, <KP5>, <KP6> };
205         };
206         row {
207             top= 58;
208             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
209         };
210         row {
211             top= 77;
212             keys { { <KP0>, "KP0" }, <KPDL> };
213         };
214     }; // End of "Keypad" section
215     alias <AC00> = <CAPS>;
216     alias <AA00> = <LCTL>;
217 };
218
219 xkb_geometry "pc102" {
220
221     // This is an approximate layout for 102-key SGI international
222     // keyboards.  I just took a similar layout (101 key PC keyboard)
223     // and adjusted the sizes of a few keys by eye.  I didn't actually
224     // *measure* a real keyboard.
225
226     description= "Silicon Graphics 102-key Keyboard";
227     width= 470;
228     height= 193;
229
230     shape.cornerRadius= 1;
231     shape "EDGE" { cornerRadius=2, { [ 470, 193 ] } };
232     shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
233     shape "BKSP" { { [35,18] }, { [2,1], [33,17] } };
234     shape "TABK" { { [27,18] }, { [2,1], [25,17] } };
235     shape "RTRN" {
236         approx = { [ 0, 0], [26,37] },
237         { [ 0, 0], [26, 0], [26,37],
238           [ 5,37], [ 5,18], [ 0,18] },
239         { [ 1, 1], [24, 1], [24,36],
240           [ 7,36], [ 7,17], [ 1,17] }
241     };
242     shape "CAPS" { { [ 32,18] }, { [2,1], [25,17] } };
243     shape "RTSH" { { [ 50,18] }, { [2,1], [48,17] } };
244     shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
245     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
246     shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
247     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
248     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
249     shape "LOGO" { { [ 16,16] } };
250
251     outline "Edges" {
252         top= 0;
253         left= 0;
254         shape= "EDGE";
255     };
256
257     section.left= 19;
258     row.left= 1;
259     key.shape= "NORM";
260     key.gap=  1;
261     section "Function" {
262         top= 50;
263         row {
264             top= 1;
265             keys {      { <ESC>, color="grey20" },
266                         { <FK01>, 18}, <FK02>, <FK03>, <FK04>,
267                         { <FK05>, 10}, <FK06>, <FK07>, <FK08>,
268                         { <FK09>, 10}, <FK10>, <FK11>, <FK12>
269             };
270         };
271     }; // End of "Function" section
272
273     section "Alpha" {
274         top= 83;
275         row {
276             top= 1;
277             keys {      <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
278                         <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
279                         <AE10>, <AE11>, <AE12>,
280                         { <BKSP>, "BKSP", color= "grey20" }
281             };
282         };
283         row {
284             top= 20;
285             keys {      { <TAB>, "TABK", color= "grey20" },
286                         <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
287                         <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
288                         <AD11>, <AD12>,
289                         { <RTRN>, "RTRN", color= "grey20" }
290             };
291         };
292         row {
293             top= 39;
294             keys {      { <CAPS>, "CAPS", color= "grey20" },
295                         <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
296                         <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
297                         <AC11>, <BKSL>
298             };
299         };
300         row {
301             top= 58;
302             keys {      { <LFSH>, "LFSH", color= "grey20" }, <LSGT>,
303                         <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
304                         <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
305                         { <RTSH>, "RTSH", color= "grey20" }
306             };
307         };
308         row {
309             top= 77;
310             key.shape= "MODK";
311             key.color= "grey20";
312             keys {      <LCTL>,
313                         { <LALT>, 19 },
314                         { <SPCE>, "SPCE", color="white" },
315                         <RALT>,
316                         { <RCTL>, 19 }
317             };
318         };
319     }; // End of "Alpha" section
320
321     section "Editing" {
322         top= 50;
323         left= 308;
324         key.color= "grey20";
325         row {
326             top= 1;
327             keys { <PRSC>, <SCLK>, <PAUS> };
328         };
329         row {
330             top= 33;
331             keys { <INS>, <HOME>, <PGUP> };
332         };
333         row {
334             top= 53;
335             keys { <DELE>, <END>, <PGDN> };
336         };
337         row {
338             top= 91;
339             left= 20;
340             keys { <UP> };
341         };
342         row {
343             top= 110;
344             keys { <LEFT>, <DOWN>, <RGHT> };
345         };
346     }; // End of "Editing" section
347
348     shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
349     shape "LED"  { cornerRadius= 0, { [  1,  3 ] } };
350     solid "LedPanel" {
351         shape= "LEDS";
352         top=  50;
353         left= 375;
354         color= "grey10";
355     };
356     indicator.onColor= "green";
357     indicator.offColor= "green30";
358     indicator.top= 64.5;
359     indicator.shape= "LED";
360     indicator "Num Lock"     { left= 384; };
361     indicator "Caps Lock"    { left= 409; };
362     indicator "Scroll Lock"  { left= 434; };
363     text.top= 52;
364     text.color= "black";
365     text "NumLockLabel"         { left= 380.5; text="Num\nLock"; };
366     text "CapsLockLabel"        { left= 405; text="Caps\nLock"; };
367     text "ScrollLockLabel"      { left= 430; text="Scroll\nLock"; };
368
369     logo "SGILogoImage" { 
370         top= 17;
371         left= 22;
372         name= "SGI"; 
373         shape= "LOGO"; 
374     };
375     text "SGILogoText"  {
376         top= 21;
377         left= 40;
378         width= 50;
379         text= "SiliconGraphics";
380         font= "helvetica";
381         slant= "o";
382         weight= "bold";
383         setWidth= "narrow";
384         fontSize= 24;
385     };
386
387     section "Keypad" {
388         top= 83;
389         left= 374;
390         row {
391             top= 1;
392             key.color= "grey20";
393             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
394         };
395         row {
396             top= 20;
397             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
398         };
399         row {
400             top= 39;
401             keys { <KP4>, <KP5>, <KP6> };
402         };
403         row {
404             top= 58;
405             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
406         };
407         row {
408             top= 77;
409             keys { { <KP0>, "KP0" }, <KPDL> };
410         };
411     }; // End of "Keypad" section
412     alias <AC00> = <CAPS>;
413     alias <AA00> = <LCTL>;
414 };
415
416 xkb_geometry "jp106" {
417     description= "Silicon Graphics 106-key Japanese keyboard";
418     width= 442;
419     height= 167;
420
421     shape "EDGE" { cornerRadius= 2, { [ 442, 167 ] } };
422     shape.cornerRadius= 1;
423     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
424     shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
425     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
426     shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } };
427     shape "RTRN" {
428         { [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } ,
429         { [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } };
430     shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
431     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
432     shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } };
433     shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
434     shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } };
435     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,17] } };
436     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
437     shape "LOGO" { { [ 16,16] } };
438
439     outline "Edges" {
440         top= 0;
441         left= 0;
442         shape= "EDGE";
443     };
444
445     logo "SGILogoImage" { 
446         top= 5;
447         left= 6;
448         name= "SGI"; 
449         shape= "LOGO"; 
450     };
451
452     text "SGILogoText"  {
453         top= 9;
454         left= 25;
455         width= 50;
456         text= "SiliconGraphics";
457         font= "helvetica";
458         slant= "o";
459         weight= "bold";
460         fontWidth= "narrow";
461         fontSize= 24;
462     };
463
464     shape "LEDS" { cornerRadius= 0.1, { [ 76 ,20 ] } };
465     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
466     solid "LedPanel" {
467         shape= "LEDS";
468         top=  25;
469         left= 362;
470         color= "grey10";
471     };
472
473     indicator.onColor= "green";
474     indicator.offColor= "green30";
475     indicator.top= 40;
476     indicator.shape= "LED";
477     indicator "Num Lock"     { left= 366; };
478     indicator "Caps Lock"    { left= 391; };
479     indicator "Scroll Lock"  { left= 416; };
480     text.top= 28;
481     text.color= "black";
482     text "NumLockLabel"         { left= 366; text="Num\nLock"; };
483     text "CapsLockLabel"        { left= 391; text="Caps\nLock"; };
484     text "ScrollLockLabel"      { left= 416; text="Scroll\nLock"; };
485
486     section.left= 5;
487     row.left= 1;
488     key.shape= "NORM";
489     key.gap=  1;
490     section "Function" {
491         top= 25;
492         row {
493             top= 1;
494             keys {  { <ESC>, color="grey20" },
495                     { <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
496                     { <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"}, 
497                     { <FK07>, color="grey20"}, {<FK08>,color="grey20"},
498                     { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
499                     { <PRSC>, 8 }, <SCLK>, <PAUS> 
500             };
501         };
502     }; // End of "Function" section
503
504     section "Alpha" {
505         top= 61;
506         row {
507             top= 1;
508             keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>, 
509                     <AE03>, <AE04>, <AE05>, <AE06>, <AE07>, 
510                     <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
511                     <AE13>, { <BKSP>, "BKSP", color="grey20" }
512             };
513         };
514         row {
515             top= 20;
516             keys { { <TAB>, "TABK", color="grey20" },
517                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
518                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
519                    <AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" }
520             };
521         };
522         row {
523             top= 39;
524             keys { { <CAPS>, "CAPS", color="grey20" },
525                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
526                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
527                    <AC11>, <AC12>
528             };
529         };
530         row {
531             top= 58;
532             keys { { <LFSH>, "LFSH", color="grey20" },
533                     <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
534                     <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
535                     <AB11>, { <RTSH>, "RTSH", color="grey20" }
536             };
537         };
538         row {
539             top= 77;
540             key.shape= "MODK";
541             key.color= "grey20";
542             keys { <LCTL>, { <LALT>, 20 },<NFER>,
543                    { <SPCE>, "SPCE", color="white" },
544                    <XFER>,<HKTG>,<RALT>, { <RCTL>, 17 }
545             };
546         };
547     }; // End of "Alpha" section
548
549     section "Editing" {
550         top= 61;
551         left= 296;
552         key.color= "grey20";
553         row {
554             top= 1;
555             keys { <INS>, <HOME>, <PGUP> };
556         };
557         row {
558             top= 20;
559             keys { <DELE>, <END>, <PGDN> };
560         };
561         row {
562             top= 58;
563             left= 20;
564             keys { <UP> };
565         };
566         row {
567             top= 77;
568             keys { <LEFT>, <DOWN>, <RGHT> };
569         };
570     }; // End of "Editing" section
571
572     section "Keypad" {
573         top= 61;
574         left= 361;
575         row {
576             top= 1;
577             key.color= "grey20";
578             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
579         };
580         row {
581             top= 20;
582             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
583         };
584         row {
585             top= 39;
586             keys { <KP4>, <KP5>, <KP6> };
587         };
588         row {
589             top= 58;
590             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
591         };
592         row {
593             top= 77;
594             keys { { <KP0>, "KP0" }, <KPDL> };
595         };
596     }; // End of "Keypad" section
597
598     alias <AC00> = <CAPS>;
599     alias <AA00> = <LCTL>;
600
601 }; // End of "jp106" geometry