first feed-in of the layouts. The revolution is coming
[xorg/xkeyboard-config] / geometry / sun
1 // $Xorg: sun,v 1.4 2001/02/09 02:05:51 xorgcvs Exp $
2 //
3 //Copyright 1996, 1998  The Open Group
4 //
5 //Permission to use, copy, modify, distribute, and sell this software and its
6 //documentation for any purpose is hereby granted without fee, provided that
7 //the above copyright notice appear in all copies and that both that
8 //copyright notice and this permission notice appear in supporting
9 //documentation.
10 //
11 //The above copyright notice and this permission notice shall be
12 //included in all copies or substantial portions of the Software.
13 //
14 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
18 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 //OTHER DEALINGS IN THE SOFTWARE.
21 //
22 //Except as contained in this notice, the name of The Open Group shall
23 //not be used in advertising or otherwise to promote the sale, use or
24 //other dealings in this Software without prior written authorization
25 //from The Open Group.
26 //
27 // $XFree86: xc/programs/xkbcomp/geometry/sun,v 1.6 2001/12/14 20:01:58 dawes Exp $
28 //
29 xkb_geometry "type4" {
30
31     // This is an approximate layout for a (US/ASCII) Sun Type4 US
32     // keyboard.  
33
34     description= "Sun Type4 keyboard";
35
36     width= 452;
37     height= 185;
38
39     shape "EDGE" { cornerRadius= 2, { [ 452, 185 ] } };
40     shape.cornerRadius= 1;
41     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
42     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
43     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
44     shape "DELE" { { [ 37,18] }, { [2,1], [35,17] } };
45     shape "RTRN" { 
46             approx = { [ 0, 0], [28,37] },
47             { [ 0, 0], [28, 0], [28,37],
48               [ 5,37], [ 5,19], [ 0,19] },
49             { [ 1, 1], [26, 1], [26,36],
50               [ 7,36], [ 7,18], [ 1,18] }
51     };
52     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
53     shape "LFSH" { { [ 41,18] }, { [2,1], [39,17] } };
54     shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } };
55     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
56     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
57     shape "SPCE" { { [170,18] }, { [2,1], [168,17] } };
58     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
59     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
60     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
61
62     outline "Edges" {
63         top= 0;
64         left= 0;
65         shape= "EDGE";
66     };
67
68     section.left= 17;
69     row.left= 1;
70     key.shape= "NORM";
71     key.gap=  1;
72
73     section "Alpha" {
74         top= 58;
75         row {
76             top= 1;
77             keys { <STOP>, <AGAI>,
78                  { <FK01>, 9 }, <FK02>, <FK03>, <FK04>,
79                    <FK05>, <FK06>, <FK07>, <FK08>,
80                    <FK09>, <FK10>, <FK11>, <FK12>,
81                    <BKSL>, { <DELE>, "DELE" },
82                  { <PAUS>, 9 }, <PRSC>, <SCLK>, <NMLK>
83             };
84         };
85         row {
86             top= 20;
87             keys { <PROP>, <UNDO>, { <ESC>, 9 }, 
88                    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, 
89                    <AE06>, <AE07>, <AE08>, <AE09>, <AE10>, 
90                    <AE11>, <AE12>,
91                  { <BKSP>, "BKSP" },
92                  { <KPEQ>, 9 }, <KPDV>, <KPMU>, <KPSU> 
93
94             };
95         };
96         row {
97             top= 39;
98             keys { <FRNT>, <COPY>, 
99                  { <TAB>, 9, shape="TABK" },
100                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
101                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
102                    <AD11>, <AD12>, { <RTRN>, "RTRN" },
103                  { <KP7>, 9 }, <KP8>, <KP9>, { <KPAD>, "KPAD" } 
104             };
105         };
106         row {
107             top= 58;
108             keys { <OPEN>, <PAST>, 
109                  { <LCTL>, 9, shape="LCTL" },
110                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
111                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
112                    <AC11>, <TLDE>,
113                  { <KP4>, 33 }, <KP5>, <KP6>
114             };
115         };
116         row {
117             top= 77;
118             keys { <FIND>, <CUT>, 
119                  { <LFSH>, 9 , shape="LFSH" }, 
120                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
121                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
122                  { <RTSH>, "RTSH" }, <LNFD>,
123                  { <KP1>, 9} , <KP2>, <KP3>, { <KPEN>, "KPAD" }
124             };
125         };
126         row {
127             top= 96;
128             keys { { <HELP>, "HELP" }, { <CAPS>, 9 },
129                    <LALT>, <LMTA>, { <SPCE>, "SPCE" },
130                    <RMTA>, <COMP>, <ALGR>,
131                  { <KP0>, 9, shape="KP0" }, <KPDL>
132             };
133         };
134     }; // End of "Alpha" section
135
136     shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
137     shape "LED"  { cornerRadius= 0, { [  7,  4 ] } };
138     solid "LedPanel" {
139         shape= "LEDS";
140         top=  28;
141         left= 358;
142     };
143     indicator.onColor= "green";
144     indicator.offColor= "green30";
145     indicator.top= 43;
146     indicator.shape= "LED";
147     indicator "Caps Lock"       { left= 364; };
148     indicator "Compose"         { left= 383; };
149     indicator "Scroll Lock"     { left= 402; };
150     indicator "Num Lock"        { left= 421; };
151     text.top= 34;
152     text.color= "black";
153     text "CapsLockLabel"        { left= 364; text="Caps\nLock"; };
154     text "ComposeLabel"         { left= 380; text="Compose"; };
155     text "ScrollLockLabel"      { left= 402; text="Scroll\nLock"; };
156     text "NumLockLabel"         { left= 421; text="Num\nLock"; };
157 };
158
159 default xkb_geometry "type5" {
160
161     // This is an approximate layout for a (US/ASCII) Sun Type5
162     // keyboard.  I just took a similar layout (101 key PC keyboard)
163     // and adjusted the sizes.
164
165     description= "Sun Type5 keyboard";
166
167     width= 515;
168     height= 170;
169
170     shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
171     shape.cornerRadius= 1;
172     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
173     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
174     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
175     shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
176     shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
177     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
178     shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
179     shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
180     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
181     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
182     shape "SPCE" { { [157,18] }, { [2,1], [155,17] } };
183     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
184     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
185     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
186     shape "LOGO" { { [ 16,16] } };
187
188     outline "Edges" {
189         top= 0;
190         left= 0;
191         shape= "EDGE";
192     };
193
194     section.left= 14;
195     row.left= 1;
196     key.shape= "NORM";
197     key.gap=  1;
198     section "Function" {
199         top= 24;
200         row {
201             top= 1;
202             keys { { <HELP>, "HELP" }, { <ESC>, 9 },
203                    { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
204                    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
205                    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
206                    { <PRSC>,  9 }, <SCLK>, <PAUS>,
207                    { <MUTE>,  9 }, <VOL->, <VOL+>, <POWR>
208             };
209         };
210     }; // End of "Function" section
211
212     section "Alpha" {
213         top= 61;
214         row {
215             top= 1;
216             keys { <STOP>, <AGAI>,
217                  { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
218                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
219                    <AE10>, <AE11>, <AE12>,
220                  { <BKSP>, "BKSP", color="grey20" }
221             };
222         };
223         row {
224             top= 20;
225             keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
226                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
227                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
228                    <AD11>, <AD12>,
229                  { <BKSL>, "BKSL" }
230             };
231         };
232         row {
233             top= 39;
234             keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
235                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
236                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
237                    <AC11>,
238                  { <RTRN>, "RTRN" }
239             };
240         };
241         row {
242             top= 58;
243             keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, 
244                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
245                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
246                  { <RTSH>, "RTSH", color="grey20" }
247             };
248         };
249         row {
250             top= 77;
251             keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
252                    <LALT>, <LMTA>,
253                  { <SPCE>, "SPCE" },
254                    <RMTA>, <COMP>, <ALGR>
255             };
256         };
257     }; // End of "Alpha" section
258
259     section "Editing" {
260         top= 61;
261         left= 352;
262         row {
263             top= 1;
264             keys { <INS>, <HOME>, <PGUP> };
265         };
266         row {
267             top= 20;
268             keys { <DELE>, <END>, <PGDN> };
269         };
270         row {
271             top= 58;
272             left= 20;
273             keys { <UP> };
274         };
275         row {
276             top= 77;
277             keys { <LEFT>, <DOWN>, <RGHT> };
278         };
279     }; // End of "Editing" section
280
281     section "Keypad" {
282         top= 61;
283         left= 420;
284         row {
285             top= 1;
286             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
287         };
288         row {
289             top= 20;
290             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
291         };
292         row {
293             top= 39;
294             keys { <KP4>, <KP5>, <KP6> };
295         };
296         row {
297             top= 58;
298             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
299         };
300         row {
301             top= 77;
302             keys { { <KP0>, "KP0" }, <KPDL> };
303         };
304     }; // End of "Keypad" section
305 };
306
307 xkb_geometry "type5euro" {
308
309     // This is an approximate layout for a (US/ASCII) Sun Type5
310     // keyboard.  I just took a similar layout (101 key PC keyboard)
311     // and adjusted the sizes.
312
313     description= "Sun Type5 keyboard";
314
315     width= 515;
316     height= 170;
317
318     shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
319     shape.cornerRadius= 1;
320     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
321     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
322     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
323     shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
324     shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
325     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
326     shape "LFSH" { { [ 24,18] }, { [2,1], [22,17] } };
327     shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
328     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
329     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
330     shape "SPCE" { { [157,18] }, { [2,1], [155,17] } };
331     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
332     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
333     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
334     shape "LOGO" { { [ 16,16] } };
335
336     outline "Edges" {
337         top= 0;
338         left= 0;
339         shape= "EDGE";
340     };
341
342     section.left= 14;
343     row.left= 1;
344     key.shape= "NORM";
345     key.gap=  1;
346     section "Function" {
347         top= 24;
348         row {
349             top= 1;
350             keys { { <HELP>, "HELP" }, { <ESC>, 9 },
351                    { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
352                    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
353                    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
354                    { <PRSC>,  9 }, <SCLK>, <PAUS>,
355                    { <MUTE>,  9 }, <VOL->, <VOL+>, <POWR>
356             };
357         };
358     }; // End of "Function" section
359
360     section "Alpha" {
361         top= 61;
362         row {
363             top= 1;
364             keys { <STOP>, <AGAI>,
365                  { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
366                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
367                    <AE10>, <AE11>, <AE12>,
368                  { <BKSP>, "BKSP", color="grey20" }
369             };
370         };
371         row {
372             top= 20;
373             keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
374                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
375                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
376                    <AD11>, <AD12>,
377                  { <BKSL>, "BKSL" }
378             };
379         };
380         row {
381             top= 39;
382             keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
383                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
384                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
385                    <AC11>,
386                  { <RTRN>, "RTRN" }
387             };
388         };
389         row {
390             top= 58;
391             keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, <LSGT>, 
392                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
393                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
394                  { <RTSH>, "RTSH", color="grey20" }
395             };
396         };
397         row {
398             top= 77;
399             keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
400                    <LALT>, <LMTA>,
401                  { <SPCE>, "SPCE" },
402                    <RMTA>, <COMP>, <ALGR>
403             };
404         };
405     }; // End of "Alpha" section
406
407     section "Editing" {
408         top= 61;
409         left= 352;
410         row {
411             top= 1;
412             keys { <INS>, <HOME>, <PGUP> };
413         };
414         row {
415             top= 20;
416             keys { <DELE>, <END>, <PGDN> };
417         };
418         row {
419             top= 58;
420             left= 20;
421             keys { <UP> };
422         };
423         row {
424             top= 77;
425             keys { <LEFT>, <DOWN>, <RGHT> };
426         };
427     }; // End of "Editing" section
428
429     section "Keypad" {
430         top= 61;
431         left= 420;
432         row {
433             top= 1;
434             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
435         };
436         row {
437             top= 20;
438             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
439         };
440         row {
441             top= 39;
442             keys { <KP4>, <KP5>, <KP6> };
443         };
444         row {
445             top= 58;
446             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
447         };
448         row {
449             top= 77;
450             keys { { <KP0>, "KP0" }, <KPDL> };
451         };
452     }; // End of "Keypad" section
453 };
454
455
456 xkb_geometry "type5unix" {
457
458     // This is an approximate layout for a (US/ASCII) Sun Type5
459     // keyboard.  I just took a similar layout (101 key PC keyboard)
460     // and adjusted the sizes.
461
462     description= "Sun Type5 Unix keyboard";
463
464     width= 515;
465     height= 170;
466
467     shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
468     shape.cornerRadius= 1;
469     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
470     shape "BKSP" { { [ 27,18] }, { [2,1], [25,17] } };
471     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
472     shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
473     shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
474     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
475     shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
476     shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
477     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
478     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
479     shape "SPCE" { { [157,18] }, { [2,1], [155,17] } };
480     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
481     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
482     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
483     shape "LOGO" { { [ 16,16] } };
484
485     outline "Edges" {
486         top= 0;
487         left= 0;
488         shape= "EDGE";
489     };
490
491     section.left= 14;
492     row.left= 1;
493     key.shape= "NORM";
494     key.gap=  1;
495     section "Function" {
496     top= 24;
497         row {
498             top= 1;
499             keys { { <HELP>, "HELP" }, { <NONE>, 9 },
500                    { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
501                    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
502                    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
503                    { <PRSC>,  9 }, <SCLK>, <PAUS>,
504                    { <MUTE>,  9 }, <VOL->, <VOL+>, <POWR>
505             };
506         };
507     }; // End of "Function" section
508
509     section "Alpha" {
510         top= 61;
511         row {
512             top= 1;
513             keys { <STOP>, <AGAI>,
514                  { <ESC>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
515                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
516                    <AE10>, <AE11>, <AE12>,
517                    <BKSL>, <TLDE>
518             };
519         };
520         row {
521             top= 20;
522             keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
523                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
524                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
525                    <AD11>, <AD12>,
526                  { <BKSP>, "BKSP" }
527             };
528         };
529         row {
530             top= 39;
531             keys { <FRNT>, <COPY>, { <LCTL>, 9, shape="LCTL" },
532                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
533                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
534                    <AC11>,
535                  { <RTRN>, "RTRN" }
536             };
537         };
538         row {
539             top= 58;
540             keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, 
541                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
542                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
543                  { <RTSH>, "RTSH", color="grey20" }
544             };
545         };
546         row {
547             top= 77;
548             keys { <FIND>, <CUT>, { <CAPS>, 9, shape="CAPS" },
549                    <LALT>, <LMTA>,
550                  { <SPCE>, "SPCE" },
551                    <RMTA>, <COMP>, <ALGR>
552             };
553         };
554     }; // End of "Alpha" section
555
556     section "Editing" {
557         top= 61;
558         left= 352;
559         row {
560             top= 1;
561             keys { <INS>, <HOME>, <PGUP> };
562         };
563         row {
564             top= 20;
565             keys { <DELE>, <END>, <PGDN> };
566         };
567         row {
568             top= 58;
569             left= 20;
570             keys { <UP> };
571         };
572         row {
573             top= 77;
574             keys { <LEFT>, <DOWN>, <RGHT> };
575         };
576     }; // End of "Editing" section
577
578     section "Keypad" {
579         top= 61;
580         left= 420;
581         row {
582             top= 1;
583             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
584         };
585         row {
586             top= 20;
587             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
588         };
589         row {
590             top= 39;
591             keys { <KP4>, <KP5>, <KP6> };
592         };
593         row {
594             top= 58;
595             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
596         };
597         row {
598             top= 77;
599             keys { { <KP0>, "KP0" }, <KPDL> };
600         };
601     }; // End of "Keypad" section
602 };
603
604 xkb_geometry "type5_se" {
605
606     // kbd: type = 4, layout = 43
607
608     description= "Sun Type5 keyboard (Sweden)";
609
610     width=       510;
611     height=      170;
612
613     baseColor=   "grey";
614     labelColor=  "black";
615
616     shape.cornerRadius= 1;
617
618     shape "EDGE" { cornerRadius= 2, { [ 510, 170 ] } };
619     shape "LOGO" { cornerRadius= 2,
620       { [ 0, 8], [ 8, 16], [ 16, 8], [ 8, 0] }
621     };
622
623     shape "NORM" { { [ 18, 18] }, { [ 2, 1], [ 16, 17] } };
624     shape "BKSP" { { [ 38, 18] }, { [ 2, 1], [ 36, 17] } };
625     shape "TABK" { { [ 27, 18] }, { [ 2, 1], [ 25, 17] } };
626     shape "RTRN" { 
627       { [ 0, 0], [ 29, 0], [ 29, 37], [ 5, 37], [ 5, 18], [ 0, 18] },
628       { [ 2, 1], [ 27, 1], [ 27, 36], [ 7, 36], [ 7, 17], [ 2, 17] }
629     };
630     shape "CAPS" { { [ 32, 18] }, { [ 2, 1], [ 30, 17 ] } };
631     shape "LFSH" { { [ 24, 18] }, { [ 2, 1], [ 22, 17 ] } };
632     shape "RTSH" { { [ 51, 18] }, { [ 2, 1], [ 49, 17 ] } };
633     shape "LCTL" { { [ 32, 18] }, { [ 2, 1], [ 30, 17 ] } };
634     shape "MODK" { { [ 28, 18] }, { [ 2, 1], [ 26, 17 ] } };
635     shape "SPCE" { { [157, 18] }, { [ 2, 1], [155, 17 ] } };
636     shape "KP0"  { { [ 37, 18] }, { [ 2, 1], [ 35, 17 ] } };
637     shape "KPAD" { { [ 18, 37] }, { [ 2, 1], [ 16, 36 ] } };
638     shape "HELP" { { [ 37, 18] }, { [ 2, 1], [ 35, 17 ] } };
639
640     section "Function" {
641         key.color= "grey10";
642         priority=  1;
643         top=       24;
644         left=      14;
645         width=     481;
646         height=    19;
647         row {
648             top=  1;
649             left= 1;
650             keys {
651                 { <HELP>, "HELP",   1 }, {  <ESC>, "NORM",   9 },
652                 { <FK01>, "NORM",  19 }, { <FK02>, "NORM",   1 },
653                 { <FK03>, "NORM",   1 }, { <FK04>, "NORM",   1 },
654                 { <FK05>, "NORM",  11 }, { <FK06>, "NORM",   1 },
655                 { <FK07>, "NORM",   1 }, { <FK08>, "NORM",   1 },
656                 { <FK09>, "NORM",  11 }, { <FK10>, "NORM",   1 },
657                 { <FK11>, "NORM",   1 }, { <FK12>, "NORM",   1 },
658                 { <PRSC>, "NORM",   9 }, { <SCLK>, "NORM",   1 },
659                 { <PAUS>, "NORM",   1 }, { <MUTE>, "NORM",  11 },
660                 { <VOL->, "NORM",   1 }, { <VOL+>, "NORM",   1 },
661                 { <POWR>, "NORM",   1, color= "white" }
662             };
663         };
664     }; // End of "Function" section
665
666     section "Alpha" {
667         key.color= "white";
668         priority=  2;
669         top=       61;
670         left=      14;
671         width=     333;
672         height=    95;
673         row {
674             top=  1;
675             left= 1;
676             keys {
677                 { <STOP>, "NORM",   1, color= "grey10" },
678                 { <AGAI>, "NORM",   1, color= "grey10" },
679                 { <TLDE>, "NORM",   9 }, { <AE01>, "NORM",   1 },
680                 { <AE02>, "NORM",   1 }, { <AE03>, "NORM",   1 },
681                 { <AE04>, "NORM",   1 }, { <AE05>, "NORM",   1 },
682                 { <AE06>, "NORM",   1 }, { <AE07>, "NORM",   1 },
683                 { <AE08>, "NORM",   1 }, { <AE09>, "NORM",   1 },
684                 { <AE10>, "NORM",   1 }, { <AE11>, "NORM",   1 },
685                 { <AE12>, "NORM",   1 },
686                 { <BKSP>, "BKSP",   1, color="grey10" }
687             };
688         };
689         row {
690             top=  20;
691             left= 1;
692             keys {
693                 { <PROP>, "NORM",   1, color= "grey10" },
694                 { <UNDO>, "NORM",   1, color= "grey10" },
695                 {  <TAB>, "TABK",   9, color= "grey10" },
696                 { <AD01>, "NORM",   1 },
697                 { <AD02>, "NORM",   1 }, { <AD03>, "NORM",   1 },
698                 { <AD04>, "NORM",   1 }, { <AD05>, "NORM",   1 },
699                 { <AD06>, "NORM",   1 }, { <AD07>, "NORM",   1 },
700                 { <AD08>, "NORM",   1 }, { <AD09>, "NORM",   1 },
701                 { <AD10>, "NORM",   1 }, { <AD11>, "NORM",   1 },
702                 { <AD12>, "NORM",   1 },
703                 { <RTRN>, "RTRN",   1, color= "grey10" }
704             };
705         };
706         row {
707             top=  39;
708             left= 1;
709             keys {
710                 { <FRNT>, "NORM",   1, color= "grey10" },
711                 { <COPY>, "NORM",   1, color= "grey10" },
712                 { <CAPS>, "CAPS",   9, color= "grey10" }, 
713                 { <AC01>, "NORM",   1 },
714                 { <AC02>, "NORM",   1 }, { <AC03>, "NORM",   1 },
715                 { <AC04>, "NORM",   1 }, { <AC05>, "NORM",   1 },
716                 { <AC06>, "NORM",   1 }, { <AC07>, "NORM",   1 },
717                 { <AC08>, "NORM",   1 }, { <AC09>, "NORM",   1 },
718                 { <AC10>, "NORM",   1 }, { <AC11>, "NORM",   1 },
719                 { <AC12>, "NORM",   1 }
720             };
721         };
722         row {
723             top=  58;
724             left= 1;
725             keys {
726                 { <OPEN>, "NORM",   1, color= "grey10" },
727                 { <PAST>, "NORM",   1, color= "grey10" },
728                 { <LFSH>, "LFSH",   9, color= "grey10" },
729                 { <AB00>, "NORM",   1 }, { <AB01>, "NORM",   1 },
730                 { <AB02>, "NORM",   1 }, { <AB03>, "NORM",   1 },
731                 { <AB04>, "NORM",   1 }, { <AB05>, "NORM",   1 },
732                 { <AB06>, "NORM",   1 }, { <AB07>, "NORM",   1 },
733                 { <AB08>, "NORM",   1 }, { <AB09>, "NORM",   1 },
734                 { <AB10>, "NORM",   1 },
735                 { <RTSH>, "RTSH",   1, color="grey10" }
736             };
737         };
738         row {
739             top=  77;
740             left= 1;
741             key.color= "grey10";
742             keys {
743                 { <FIND>, "NORM",   1 }, {  <CUT>, "NORM",   1 },
744                 { <LCTL>, "LCTL",   9 }, { <LALT>, "NORM",   1 },
745                 { <LMTA>, "NORM",   1 },
746                 { <SPCE>, "SPCE",   1, color= "white" },
747                 { <RMTA>, "NORM",   1 }, { <COMP>, "NORM",   1 },
748                 { <ALGR>, "NORM",   1 }
749             };
750         };
751     }; // End of "Alpha" section
752
753     section "Editing" {
754         key.color= "grey10";
755         priority=  3;
756         top=       61;
757         left=      352;
758         width=     58;
759         height=    95;
760         row {
761             top=  1;
762             left= 1;
763             keys {
764                 {  <INS>, "NORM",   1 }, { <HOME>, "NORM",   1 },
765                 { <PGUP>, "NORM",   1 }
766             };
767         };
768         row {
769             top=  20;
770             left= 1;
771             keys {
772                 { <DELE>, "NORM",   1 }, {  <END>, "NORM",   1 },
773                 { <PGDN>, "NORM",   1 }
774             };
775         };
776         row {
777             top=  58;
778             left= 20;
779             keys {
780                 {   <UP>, "NORM",   1 }
781             };
782         };
783         row {
784             top=  77;
785             left= 1;
786             keys {
787                 { <LEFT>, "NORM",   1 }, { <DOWN>, "NORM",   1 },
788                 { <RGHT>, "NORM",   1 }
789             };
790         };
791     }; // End of "Editing" section
792
793     section "Keypad" {
794         key.color= "white";
795         priority=  4;
796         top=       61;
797         left=      420;
798         width=     77;
799         height=    95;
800         row {
801             top=  1;
802             left= 1;
803             key.color= "grey10";
804             keys {
805                 { <NMLK>, "NORM",   1 }, { <KPDV>, "NORM",   1 },
806                 { <KPMU>, "NORM",   1 }, { <KPSU>, "NORM",   1 }
807             };
808         };
809         row {
810             top=  20;
811             left= 1;
812             keys {
813                 {  <KP7>, "NORM",   1 }, {  <KP8>, "NORM",   1 },
814                 {  <KP9>, "NORM",   1 },
815                 { <KPAD>, "KPAD",   1, color="grey10" }
816             };
817         };
818         row {
819             top=  39;
820             left= 1;
821             keys {
822                 {  <KP4>, "NORM",   1 }, {  <KP5>, "NORM",   1 },
823                 {  <KP6>, "NORM",   1 }
824             };
825         };
826         row {
827             top=  58;
828             left= 1;
829             keys {
830                 {  <KP1>, "NORM",   1 }, {  <KP2>, "NORM",   1 },
831                 {  <KP3>, "NORM",   1 },
832                 { <KPEN>, "KPAD",   1, color="grey10" }
833             };
834         };
835         row {
836             top=  77;
837             left= 1;
838             keys {
839                 {  <KP0>, "KP0",   1 }, { <KPDL>, "NORM",   1 }
840             };
841         };
842     }; // End of "Keypad" section
843
844     outline "Edges" {
845         top=      0;
846         left=     0;
847         priority= 0;
848         shape= "EDGE";
849     };
850
851     solid "Logos" {
852       color= "blue";
853       top=      5;
854       left=     25;
855       priority= 0;
856       shape= "LOGO";
857     };
858     
859     logo "SUNLogoImage" {
860       top=      5;
861       left=     25;
862       name= "SUN";
863       priority= 1;
864       shape= "LOGO";
865     };
866
867     shape "LED" { cornerRadius= 1,
868       { [ 0, 1.5], [ 1.5, 3], [ 3, 1.5], [ 1.5, 0] }
869     };
870     indicator.onColor= "green";
871     indicator.offColor= "green30";
872     indicator.shape= "LED";
873     indicator "Caps Lock" { left= 75; top= 103; priority= 5; };
874     indicator "Compose"   { left= 314; top= 142; priority= 5; };
875     indicator "Scroll Lock" { left= 378; top= 29; };
876     indicator "Num Lock"  { left= 426; top= 66; };
877 };
878
879 xkb_geometry "type5c_se" {
880
881     // kbd: type = 4, layout = 43
882
883     description= "Sun Type5c keyboard (Sweden)";
884
885     width=       510;
886     height=      170;
887
888     baseColor=   "grey";
889     labelColor=  "black";
890
891     shape.cornerRadius= 1;
892
893     shape "EDGE" { cornerRadius= 2, { [ 510, 170 ] } };
894     shape "LOGO" { cornerRadius= 2,
895       { [ 0, 8], [ 8, 16], [ 16, 8], [ 8, 0] }
896     };
897
898     shape "NORM" { { [ 18, 18] }, { [ 2, 1], [ 16, 17] } };
899     shape "BKSP" { { [ 38, 18] }, { [ 2, 1], [ 36, 17] } };
900     shape "TABK" { { [ 27, 18] }, { [ 2, 1], [ 25, 17] } };
901     shape "META" { { [ 27, 18] }, { [ 2, 1], [ 25, 17] } };
902     shape "RTRN" { 
903       { [ 0, 0], [ 29, 0], [ 29, 37], [ 5, 37], [ 5, 18], [ 0, 18] },
904       { [ 2, 1], [ 27, 1], [ 27, 36], [ 7, 36], [ 7, 17], [ 2, 17] }
905     };
906     shape "CAPS" { { [ 32, 18] }, { [ 2, 1], [ 30, 17 ] } };
907     shape "LFSH" { { [ 24, 18] }, { [ 2, 1], [ 22, 17 ] } };
908     shape "RTSH" { { [ 51, 18] }, { [ 2, 1], [ 49, 17 ] } };
909     shape "LCTL" { { [ 32, 18] }, { [ 2, 1], [ 30, 17 ] } };
910     shape "MODK" { { [ 28, 18] }, { [ 2, 1], [ 26, 17 ] } };
911     shape "SPCE" { { [139, 18] }, { [ 2, 1], [137, 17 ] } };
912     shape "KP0"  { { [ 37, 18] }, { [ 2, 1], [ 35, 17 ] } };
913     shape "KPAD" { { [ 18, 37] }, { [ 2, 1], [ 16, 36 ] } };
914     shape "HELP" { { [ 37, 18] }, { [ 2, 1], [ 35, 17 ] } };
915
916     section "Function" {
917         key.color= "grey10";
918         priority=  1;
919         top=       24;
920         left=      14;
921         width=     481;
922         height=    19;
923         row {
924             top=  1;
925             left= 1;
926             keys {
927                 { <HELP>, "HELP",   1 }, {  <ESC>, "NORM",   9 },
928                 { <FK01>, "NORM",  19 }, { <FK02>, "NORM",   1 },
929                 { <FK03>, "NORM",   1 }, { <FK04>, "NORM",   1 },
930                 { <FK05>, "NORM",  11 }, { <FK06>, "NORM",   1 },
931                 { <FK07>, "NORM",   1 }, { <FK08>, "NORM",   1 },
932                 { <FK09>, "NORM",  11 }, { <FK10>, "NORM",   1 },
933                 { <FK11>, "NORM",   1 }, { <FK12>, "NORM",   1 },
934                 { <PRSC>, "NORM",   9 }, { <SCLK>, "NORM",   1 },
935                 { <PAUS>, "NORM",   1 }, { <MUTE>, "NORM",  11 },
936                 { <VOL->, "NORM",   1 }, { <VOL+>, "NORM",   1 },
937                 { <POWR>, "NORM",   1, color= "white" }
938             };
939         };
940     }; // End of "Function" section
941
942     section "Alpha" {
943         key.color= "white";
944         priority=  2;
945         top=       61;
946         left=      14;
947         width=     333;
948         height=    95;
949         row {
950             top=  1;
951             left= 1;
952             keys {
953                 { <STOP>, "NORM",   1, color= "grey10" },
954                 { <AGAI>, "NORM",   1, color= "grey10" },
955                 { <TLDE>, "NORM",   9 }, { <AE01>, "NORM",   1 },
956                 { <AE02>, "NORM",   1 }, { <AE03>, "NORM",   1 },
957                 { <AE04>, "NORM",   1 }, { <AE05>, "NORM",   1 },
958                 { <AE06>, "NORM",   1 }, { <AE07>, "NORM",   1 },
959                 { <AE08>, "NORM",   1 }, { <AE09>, "NORM",   1 },
960                 { <AE10>, "NORM",   1 }, { <AE11>, "NORM",   1 },
961                 { <AE12>, "NORM",   1 },
962                 { <BKSP>, "BKSP",   1, color="grey10" }
963             };
964         };
965         row {
966             top=  20;
967             left= 1;
968             keys {
969                 { <PROP>, "NORM",   1, color= "grey10" },
970                 { <UNDO>, "NORM",   1, color= "grey10" },
971                 {  <TAB>, "TABK",   9, color= "grey10" },
972                 { <AD01>, "NORM",   1 },
973                 { <AD02>, "NORM",   1 }, { <AD03>, "NORM",   1 },
974                 { <AD04>, "NORM",   1 }, { <AD05>, "NORM",   1 },
975                 { <AD06>, "NORM",   1 }, { <AD07>, "NORM",   1 },
976                 { <AD08>, "NORM",   1 }, { <AD09>, "NORM",   1 },
977                 { <AD10>, "NORM",   1 }, { <AD11>, "NORM",   1 },
978                 { <AD12>, "NORM",   1 },
979                 { <RTRN>, "RTRN",   1, color= "grey10" }
980             };
981         };
982         row {
983             top=  39;
984             left= 1;
985             keys {
986                 { <FRNT>, "NORM",   1, color= "grey10" },
987                 { <COPY>, "NORM",   1, color= "grey10" },
988                 { <CAPS>, "CAPS",   9, color= "grey10" }, 
989                 { <AC01>, "NORM",   1 },
990                 { <AC02>, "NORM",   1 }, { <AC03>, "NORM",   1 },
991                 { <AC04>, "NORM",   1 }, { <AC05>, "NORM",   1 },
992                 { <AC06>, "NORM",   1 }, { <AC07>, "NORM",   1 },
993                 { <AC08>, "NORM",   1 }, { <AC09>, "NORM",   1 },
994                 { <AC10>, "NORM",   1 }, { <AC11>, "NORM",   1 },
995                 { <AC12>, "NORM",   1 }
996             };
997         };
998         row {
999             top=  58;
1000             left= 1;
1001             keys {
1002                 { <OPEN>, "NORM",   1, color= "grey10" },
1003                 { <PAST>, "NORM",   1, color= "grey10" },
1004                 { <LFSH>, "LFSH",   9, color= "grey10" },
1005                 { <AB00>, "NORM",   1 }, { <AB01>, "NORM",   1 },
1006                 { <AB02>, "NORM",   1 }, { <AB03>, "NORM",   1 },
1007                 { <AB04>, "NORM",   1 }, { <AB05>, "NORM",   1 },
1008                 { <AB06>, "NORM",   1 }, { <AB07>, "NORM",   1 },
1009                 { <AB08>, "NORM",   1 }, { <AB09>, "NORM",   1 },
1010                 { <AB10>, "NORM",   1 },
1011                 { <RTSH>, "RTSH",   1, color="grey10" }
1012             };
1013         };
1014         row {
1015             top=  77;
1016             left= 1;
1017             key.color= "grey10";
1018             keys {
1019                 { <FIND>, "NORM",   1 }, {  <CUT>, "NORM",   1 },
1020                 { <LCTL>, "LCTL",   9 }, { <LALT>, "NORM",   1 },
1021                 { <LMTA>, "META",   1 },
1022                 { <SPCE>, "SPCE",   1, color= "white" },
1023                 { <RMTA>, "META",   1 }, { <COMP>, "NORM",   1 },
1024                 { <ALGR>, "NORM",   1 }
1025             };
1026         };
1027     }; // End of "Alpha" section
1028
1029     section "Editing" {
1030         key.color= "grey10";
1031         priority=  3;
1032         top=       61;
1033         left=      352;
1034         width=     58;
1035         height=    95;
1036         row {
1037             top=  1;
1038             left= 1;
1039             keys {
1040                 {  <INS>, "NORM",   1 }, { <HOME>, "NORM",   1 },
1041                 { <PGUP>, "NORM",   1 }
1042             };
1043         };
1044         row {
1045             top=  20;
1046             left= 1;
1047             keys {
1048                 { <DELE>, "NORM",   1 }, {  <END>, "NORM",   1 },
1049                 { <PGDN>, "NORM",   1 }
1050             };
1051         };
1052         row {
1053             top=  58;
1054             left= 20;
1055             keys {
1056                 {   <UP>, "NORM",   1 }
1057             };
1058         };
1059         row {
1060             top=  77;
1061             left= 1;
1062             keys {
1063                 { <LEFT>, "NORM",   1 }, { <DOWN>, "NORM",   1 },
1064                 { <RGHT>, "NORM",   1 }
1065             };
1066         };
1067     }; // End of "Editing" section
1068
1069     section "Keypad" {
1070         key.color= "white";
1071         priority=  4;
1072         top=       61;
1073         left=      420;
1074         width=     77;
1075         height=    95;
1076         row {
1077             top=  1;
1078             left= 1;
1079             key.color= "grey10";
1080             keys {
1081                 { <NMLK>, "NORM",   1 }, { <KPDV>, "NORM",   1 },
1082                 { <KPMU>, "NORM",   1 }, { <KPSU>, "NORM",   1 }
1083             };
1084         };
1085         row {
1086             top=  20;
1087             left= 1;
1088             keys {
1089                 {  <KP7>, "NORM",   1 }, {  <KP8>, "NORM",   1 },
1090                 {  <KP9>, "NORM",   1 },
1091                 { <KPAD>, "KPAD",   1, color="grey10" }
1092             };
1093         };
1094         row {
1095             top=  39;
1096             left= 1;
1097             keys {
1098                 {  <KP4>, "NORM",   1 }, {  <KP5>, "NORM",   1 },
1099                 {  <KP6>, "NORM",   1 }
1100             };
1101         };
1102         row {
1103             top=  58;
1104             left= 1;
1105             keys {
1106                 {  <KP1>, "NORM",   1 }, {  <KP2>, "NORM",   1 },
1107                 {  <KP3>, "NORM",   1 },
1108                 { <KPEN>, "KPAD",   1, color="grey10" }
1109             };
1110         };
1111         row {
1112             top=  77;
1113             left= 1;
1114             keys {
1115                 {  <KP0>, "KP0",   1 }, { <KPDL>, "NORM",   1 }
1116             };
1117         };
1118     }; // End of "Keypad" section
1119
1120     outline "Edges" {
1121         top=      0;
1122         left=     0;
1123         priority= 0;
1124         shape= "EDGE";
1125     };
1126
1127     solid "Logos" {
1128       color= "blue";
1129       top=      5;
1130       left=     15;
1131       priority= 0;
1132       shape= "LOGO";
1133     };
1134     
1135     logo "SUNLogoImage" {
1136       top=      5;
1137       left=     15;
1138       name= "SUN";
1139       priority= 1;
1140       shape= "LOGO";
1141     };
1142
1143     text.font= "charter";
1144     text.weight= "medium";
1145     text.slant= "i";
1146     text.fontSize= 40;
1147     text "SunLogoText" {
1148       top=      5;
1149       left=    32;
1150       color= "blue";
1151       text= "Sun";
1152     };
1153
1154     shape "LED" { cornerRadius= 1,
1155       { [ 0, 1.5], [ 1.5, 3], [ 3, 1.5], [ 1.5, 0] }
1156     };
1157     indicator.onColor= "green";
1158     indicator.offColor= "green30";
1159     indicator.shape= "LED";
1160     indicator "Caps Lock"   { left= 75; top= 103; priority= 5; };
1161     indicator "Compose"     { left= 314; top= 142; priority= 5; };
1162     indicator "Scroll Lock" { left= 378; top= 29; };
1163     indicator "Num Lock"    { left= 426; top= 66; };
1164 };
1165
1166 xkb_geometry "type4_se" {
1167
1168     // kbd: type = 4, layout = 11
1169
1170     description= "Sun Type4 keyboard (Sweden)";
1171     
1172
1173     width=       453;
1174     height=      183;
1175
1176     baseColor=   "grey";
1177     labelColor=  "black";
1178
1179     shape "EDGE" { cornerRadius= 2, { [ 452, 185 ] } };
1180     shape.cornerRadius= 1;
1181     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
1182     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
1183     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
1184     shape "DELE" { { [ 18,18] }, { [2,1], [16,17] } };
1185     shape "RTRN" { 
1186             approx = { [ 0, 0], [28,37] },
1187             { [ 0, 0], [28, 0], [28,37],
1188               [ 5,37], [ 5,19], [ 0,19] },
1189             { [ 1, 1], [26, 1], [26,36],
1190               [ 7,36], [ 7,18], [ 1,18] }
1191     };
1192     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
1193     shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
1194     shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } };
1195     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
1196     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
1197     shape "SPCE" { { [170,18] }, { [2,1], [168,17] } };
1198     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
1199     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
1200     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
1201
1202     outline "Edges" {
1203         top= 0;
1204         left= 0;
1205         shape= "EDGE";
1206     };
1207
1208     section.left= 17;
1209     row.left= 1;
1210     key.shape= "NORM";
1211     key.gap=  1;
1212
1213     section "Alpha" {
1214         top= 58;
1215         row {
1216             top= 1;
1217             key.color=  "grey10";
1218             keys { <STOP>, <AGAI>, { <FK01>, 9 },
1219                    <FK02>, <FK03>, <FK04>,
1220                    <FK05>, <FK06>, <FK07>, <FK08>,
1221                    <FK09>, <FK10>, <FK11>, <FK12>,
1222                  { <AF13>,      color=  "white"},
1223                  { <AF14>,      color=  "white"},
1224                    <DELE>, { <PAUS>, 9 },
1225                    <PRSC>, <SCLK>, <NMLK>
1226             };
1227         };
1228         row {
1229             top= 20;
1230             key.color=  "white";
1231             keys {
1232                  { <PROP>,      color=  "grey10" },
1233                  { <UNDO>,      color=  "grey10" },
1234                  {  <ESC>, 9,   color=  "grey10" }, 
1235                    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, 
1236                    <AE06>, <AE07>, <AE08>, <AE09>, <AE10>, 
1237                    <AE11>, <AE12>,
1238                  { <BKSP>, "BKSP",      color=  "grey10" },
1239                  { <KPEQ>, 9,   color=  "grey10" },
1240                  { <KPDV>,      color=  "grey10" },
1241                  { <KPMU>,      color=  "grey10" },
1242                  { <KPSU>,      color=  "grey10" }
1243             };
1244         };
1245         row {
1246             top= 39;
1247             key.color=  "white";
1248             keys {
1249                  { <FRNT>,      color=  "grey10" },
1250                  { <COPY>,      color=  "grey10" },
1251                  {  <TAB>, 9,   "TABK", color=  "grey10" },
1252                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
1253                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
1254                    <AD11>, <AD12>,
1255                  { <RTRN>,      "RTRN", color=  "grey10" },
1256                  {  <KP7>, 9,   color=  "grey10" },
1257                  {  <KP8>,      color=  "grey10" },
1258                  {  <KP9>,      color=  "grey10" },
1259                  { <KPAD>,      "KPAD", color=  "grey10" } 
1260             };
1261         };
1262         row {
1263             top= 58;
1264             key.color=  "white";
1265             keys {
1266                  { <OPEN>,      color=  "grey10" },
1267                  { <PAST>,      color=  "grey10" },
1268                  { <CAPS>, 9,   "LCTL", color=  "grey10" },
1269                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
1270                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
1271                    <AC11>, <AC12>,
1272                  {  <KP4>, 33,  color=  "grey10" },
1273                  {  <KP5>,      color=  "grey10" },
1274                  {  <KP6>,      color=  "grey10" }
1275             };
1276         };
1277         row {
1278             top= 77;
1279             key.color=  "white";
1280             keys { 
1281                  { <FIND>,      color=  "grey10" },
1282                  {  <CUT>,      color=  "grey10" },
1283                  { <LFSH>, 9 ,  "LFSH", color=  "grey10" },
1284                    <AB00>, <AB01>, <AB02>, <AB03>,
1285                    <AB04>, <AB05>, <AB06>, <AB07>,
1286                    <AB08>, <AB09>, <AB10>,
1287                  { <RTSH>,      "RTSH", color=  "grey10" },
1288                  { <LNFD>,      color=  "grey10" },
1289                  {  <KP1>, 9,   color=  "grey10" },
1290                  {  <KP2>,      color=  "grey10" },
1291                  {  <KP3>,      color=  "grey10" },
1292                  { <KPEN>,      "KPAD", color=  "grey10" }
1293             };
1294         };
1295         row {
1296             top= 96;
1297             key.color=  "grey10";
1298             keys {
1299                  { <HELP>, "HELP" }, { <LCTL>, 9 },
1300                    <LALT>, <LMTA>,
1301                  { <SPCE>,      "SPCE", color=  "white" },
1302                    <RMTA>, <COMP>, <ALGR>,
1303                  { <KP0>, 9,    "KP0" }, <KPDL>
1304             };
1305         };
1306     }; // End of "Alpha" section
1307
1308     shape "RIDGE" { cornerRadius= 1, { [  0, 1], [  1, 0 ],
1309                                        [330, 0], [331, 1],
1310                                        [330, 2], [  1, 2] } };
1311     solid "Ridge" {
1312         shape=  "RIDGE";
1313         top=    48;
1314         left=   18;
1315     };
1316
1317     shape "LEDS" { cornerRadius= 1, { [ 75 ,21 ] } };
1318     shape "LED"  { cornerRadius= 0, { [  7,  4 ] } };
1319     outline "LedPanel" {
1320         shape= "LEDS";
1321         top=  28;
1322         left= 358;
1323     };
1324     indicator.onColor= "green";
1325     indicator.offColor= "green30";
1326     indicator.top= 43;
1327     indicator.shape= "LED";
1328     indicator "Caps Lock"       { left= 364; };
1329     indicator "Compose"         { left= 383; };
1330     indicator "Scroll Lock"     { left= 402; };
1331     indicator "Num Lock"        { left= 421; };
1332     text.top= 32;
1333     text.color= "black";
1334     text "CapsLockLabel"        { left= 364; text="Caps\nLock"; };
1335     text "ComposeLabel"         { left= 380; text="\nCompose"; };
1336     text "ScrollLockLabel"      { left= 402; text="Scroll\nLock"; };
1337     text "NumLockLabel"         { left= 421; text="Num\nLock"; };
1338 };