Hide ClearGrab/CloseGrabs actions behind an option
[xorg/xkeyboard-config] / geometry / sun
1 //
2 //Copyright 1996, 1998  The Open Group
3 //
4 //Permission to use, copy, modify, distribute, and sell this software and its
5 //documentation for any purpose is hereby granted without fee, provided that
6 //the above copyright notice appear in all copies and that both that
7 //copyright notice and this permission notice appear in supporting
8 //documentation.
9 //
10 //The above copyright notice and this permission notice shall be
11 //included in all copies or substantial portions of the Software.
12 //
13 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
14 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
15 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
16 //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
17 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
18 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
19 //OTHER DEALINGS IN THE SOFTWARE.
20 //
21 //Except as contained in this notice, the name of The Open Group shall
22 //not be used in advertising or otherwise to promote the sale, use or
23 //other dealings in this Software without prior written authorization
24 //from The Open Group.
25 //
26 // ---------------------------------------------------------------------------
27 // Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
28 //
29 // Permission is hereby granted, free of charge, to any person obtaining a
30 // copy of this software and associated documentation files (the "Software"),
31 // to deal in the Software without restriction, including without limitation
32 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
33 // and/or sell copies of the Software, and to permit persons to whom the
34 // Software is furnished to do so, subject to the following conditions:
35 //
36 // The above copyright notice and this permission notice (including the next
37 // paragraph) shall be included in all copies or substantial portions of the
38 // Software.
39 //
40 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
41 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
42 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
43 // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
44 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
45 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
46 // DEALINGS IN THE SOFTWARE.
47 //
48 // ---------------------------------------------------------------------------
49 //
50 xkb_geometry "type4" {
51
52     // This is an approximate layout for a (US/ASCII) Sun Type4 US
53     // keyboard.  
54
55     description= "Sun Type4 keyboard";
56
57     width= 452;
58     height= 185;
59
60     shape "EDGE" { cornerRadius= 2, { [ 452, 185 ] } };
61     shape.cornerRadius= 1;
62     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
63     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
64     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
65     shape "DELE" { { [ 37,18] }, { [2,1], [35,17] } };
66     shape "RTRN" { 
67             approx = { [ 0, 0], [28,37] },
68             { [ 0, 0], [28, 0], [28,37],
69               [ 5,37], [ 5,19], [ 0,19] },
70             { [ 1, 1], [26, 1], [26,36],
71               [ 7,36], [ 7,18], [ 1,18] }
72     };
73     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
74     shape "LFSH" { { [ 41,18] }, { [2,1], [39,17] } };
75     shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } };
76     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
77     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
78     shape "SPCE" { { [170,18] }, { [2,1], [168,17] } };
79     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
80     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
81     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
82
83     outline "Edges" {
84         top= 0;
85         left= 0;
86         shape= "EDGE";
87     };
88
89     section.left= 17;
90     row.left= 1;
91     key.shape= "NORM";
92     key.gap=  1;
93
94     section "Alpha" {
95         top= 58;
96         row {
97             top= 1;
98             keys { <STOP>, <AGAI>,
99                  { <FK01>, 9 }, <FK02>, <FK03>, <FK04>,
100                    <FK05>, <FK06>, <FK07>, <FK08>,
101                    <FK09>, <FK10>, <FK11>, <FK12>,
102                    <BKSL>, { <DELE>, "DELE" },
103                  { <PAUS>, 9 }, <PRSC>, <SCLK>, <NMLK>
104             };
105         };
106         row {
107             top= 20;
108             keys { <PROP>, <UNDO>, { <ESC>, 9 }, 
109                    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, 
110                    <AE06>, <AE07>, <AE08>, <AE09>, <AE10>, 
111                    <AE11>, <AE12>,
112                  { <BKSP>, "BKSP" },
113                  { <KPEQ>, 9 }, <KPDV>, <KPMU>, <KPSU> 
114
115             };
116         };
117         row {
118             top= 39;
119             keys { <FRNT>, <COPY>, 
120                  { <TAB>, 9, shape="TABK" },
121                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
122                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
123                    <AD11>, <AD12>, { <RTRN>, "RTRN" },
124                  { <KP7>, 9 }, <KP8>, <KP9>, { <KPAD>, "KPAD" } 
125             };
126         };
127         row {
128             top= 58;
129             keys { <OPEN>, <PAST>, 
130                  { <LCTL>, 9, shape="LCTL" },
131                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
132                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
133                    <AC11>, <TLDE>,
134                  { <KP4>, 33 }, <KP5>, <KP6>
135             };
136         };
137         row {
138             top= 77;
139             keys { <FIND>, <CUT>, 
140                  { <LFSH>, 9 , shape="LFSH" }, 
141                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
142                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
143                  { <RTSH>, "RTSH" }, <LNFD>,
144                  { <KP1>, 9} , <KP2>, <KP3>, { <KPEN>, "KPAD" }
145             };
146         };
147         row {
148             top= 96;
149             keys { { <HELP>, "HELP" }, { <CAPS>, 9 },
150                    <LALT>, <LMTA>, { <SPCE>, "SPCE" },
151                    <RMTA>, <COMP>, <ALGR>,
152                  { <KP0>, 9, shape="KP0" }, <KPDL>
153             };
154         };
155     }; // End of "Alpha" section
156
157     shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
158     shape "LED"  { cornerRadius= 0, { [  7,  4 ] } };
159     solid "LedPanel" {
160         shape= "LEDS";
161         top=  28;
162         left= 358;
163     };
164     indicator.onColor= "green";
165     indicator.offColor= "green30";
166     indicator.top= 43;
167     indicator.shape= "LED";
168     indicator "Caps Lock"       { left= 364; };
169     indicator "Compose"         { left= 383; };
170     indicator "Scroll Lock"     { left= 402; };
171     indicator "Num Lock"        { left= 421; };
172     text.top= 34;
173     text.color= "black";
174     text "CapsLockLabel"        { left= 364; text="Caps\nLock"; };
175     text "ComposeLabel"         { left= 380; text="Compose"; };
176     text "ScrollLockLabel"      { left= 402; text="Scroll\nLock"; };
177     text "NumLockLabel"         { left= 421; text="Num\nLock"; };
178 };
179
180 xkb_geometry "type4tuv" {
181
182     // This is an approximate layout for a (US/ASCII) Sun Type4 TUV
183     // (European) keyboard with an extra key between the Shift_L
184     // and the Z keys, and two keys above the Bksp key, instead
185     // of a large delete key.
186
187     description= "Sun Type4tuv keyboard";
188
189     width= 452;
190     height= 185;
191
192     shape "EDGE" { cornerRadius= 2, { [ 452, 185 ] } };
193     shape.cornerRadius= 1;
194     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
195     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
196     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
197
198     shape "RTRN" {
199           approx = { [ 0, 0], [28,37] },
200           { [ 0, 0], [28, 0], [28,37],
201             [ 5,37], [ 5,19], [ 0,19] },
202           { [ 1, 1], [26, 1], [26,36],
203             [ 7,36], [ 7,18], [ 1,18] }
204     };
205     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
206     shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } };
207     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
208     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
209     shape "SPCE" { { [170,18] }, { [2,1], [168,17] } };
210     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
211     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
212     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
213
214     outline "Edges" {
215         top= 0;
216         left= 0;
217         shape= "EDGE";
218     };
219
220     section.left= 17;
221     row.left= 1;
222     key.shape= "NORM";
223     key.gap=  1;
224
225     section "Alpha" {
226         top= 58;
227         row {
228             top= 1;
229             keys { <STOP>, <AGAI>,
230                  { <FK01>, 9 }, <FK02>, <FK03>, <FK04>,
231                    <FK05>, <FK06>, <FK07>, <FK08>,
232                    <FK09>, <FK10>, <FK11>, <FK12>,
233                    <BKSL>, <BRCR>,<DELE>,
234                  { <PAUS>, 9 }, <PRSC>, <SCLK>, <NMLK>
235             };
236         };
237         row {
238             top= 20;
239             keys { <PROP>, <UNDO>, { <ESC>, 9 }, 
240                    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, 
241                    <AE06>, <AE07>, <AE08>, <AE09>, <AE10>, 
242                    <AE11>, <AE12>,
243                  { <BKSP>, "BKSP" },
244                  { <KPEQ>, 9 }, <KPDV>, <KPMU>, <KPSU> 
245
246             };
247         };
248         row {
249             top= 39;
250             keys { <FRNT>, <COPY>, 
251                  { <TAB>, 9, shape="TABK" },
252                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
253                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
254                    <AD11>, <AD12>, { <RTRN>, "RTRN" },
255                  { <KP7>, 9 }, <KP8>, <KP9>, { <KPAD>, "KPAD" } 
256             };
257         };
258         row {
259             top= 58;
260             keys { <OPEN>, <PAST>, 
261                  { <LCTL>, 9, shape="LCTL" },
262                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
263                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
264                    <AC11>, <TLDE>,
265                  { <KP4>, 33 }, <KP5>, <KP6>
266             };
267         };
268         row {
269             top= 77;
270             keys { <FIND>, <CUT>, 
271                  { <LFSH>, 9 }, <LSGT>,
272                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
273                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
274                  { <RTSH>, "RTSH" }, <LNFD>,
275                  { <KP1>, 9} , <KP2>, <KP3>, { <KPEN>, "KPAD" }
276             };
277         };
278         row {
279             top= 96;
280             keys { { <HELP>, "HELP" }, { <CAPS>, 9 },
281                    <LALT>, <LMTA>, { <SPCE>, "SPCE" },
282                    <RMTA>, <COMP>, <ALGR>,
283                  { <KP0>, 9, shape="KP0" }, <KPDL>
284             };
285         };
286     }; // End of "Alpha" section
287
288     shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
289     shape "LED"  { cornerRadius= 0, { [  7,  4 ] } };
290     solid "LedPanel" {
291         shape= "LEDS";
292         top=  28;
293         left= 358;
294     };
295     indicator.onColor= "green";
296     indicator.offColor= "green30";
297     indicator.top= 43;
298     indicator.shape= "LED";
299     indicator "CapsLock"        { left= 364; };
300     indicator "Compose" { left= 383; };
301     indicator "ScrollLock"      { left= 402; };
302     indicator "NumLock" { left= 421; };
303     text.top= 34;
304     text.color= "black";
305     text "CapsLockLabel"        { left= 364; text="Caps\nLock"; };
306     text "ComposeLabel"         { left= 380; text="Compose"; };
307     text "ScrollLockLabel"      { left= 402; text="Scroll\nLock"; };
308     text "NumLockLabel"         { left= 421; text="Num\nLock"; };
309 };
310
311 xkb_geometry "type4_ca" {
312
313     // This is an approximate layout for a (US/ASCII) Sun Type4
314     // Canadian and British keyboard with an extra key between
315     // the Shift_L 
316     // and the Z keys.
317
318     description= "Sun Type4_uk keyboard";
319
320     width= 452;
321     height= 185;
322
323     shape "EDGE" { cornerRadius= 2, { [ 452, 185 ] } };
324     shape.cornerRadius= 1;
325     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
326     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
327     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
328     shape "DELE" { { [ 37,18] }, { [2,1], [35,17] } };
329     shape "RTRN" { 
330             approx = { [ 0, 0], [28,37] },
331             { [ 0, 0], [28, 0], [28,37],
332               [ 5,37], [ 5,19], [ 0,19] },
333             { [ 1, 1], [26, 1], [26,36],
334               [ 7,36], [ 7,18], [ 1,18] }
335     };
336     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
337     shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } };
338     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
339     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
340     shape "SPCE" { { [170,18] }, { [2,1], [168,17] } };
341     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
342     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
343     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
344
345     outline "Edges" {
346         top= 0;
347         left= 0;
348         shape= "EDGE";
349     };
350
351     section.left= 17;
352     row.left= 1;
353     key.shape= "NORM";
354     key.gap=  1;
355
356     section "Alpha" {
357         top= 58;
358         row {
359             top= 1;
360             keys { <STOP>, <AGAI>,
361                  { <FK01>, 9 }, <FK02>, <FK03>, <FK04>,
362                    <FK05>, <FK06>, <FK07>, <FK08>,
363                    <FK09>, <FK10>, <FK11>, <FK12>,
364                    <BKSL>, { <DELE>, "DELE" },
365                  { <PAUS>, 9 }, <PRSC>, <SCLK>, <NMLK>
366             };
367         };
368         row {
369             top= 20;
370             keys { <PROP>, <UNDO>, { <ESC>, 9 }, 
371                    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>,
372                    <AE06>, <AE07>, <AE08>, <AE09>, <AE10>, 
373                    <AE11>, <AE12>,
374                  { <BKSP>, "BKSP" },
375                  { <KPEQ>, 9 }, <KPDV>, <KPMU>, <KPSU> 
376
377             };
378         };
379         row {
380             top= 39;
381             keys { <FRNT>, <COPY>, 
382                  { <TAB>, 9, shape="TABK" },
383                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
384                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
385                    <AD11>, <AD12>, { <RTRN>, "RTRN" },
386                  { <KP7>, 9 }, <KP8>, <KP9>, { <KPAD>, "KPAD" } 
387             };
388         };
389         row {
390             top= 58;
391             keys { <OPEN>, <PAST>, 
392                  { <LCTL>, 9, shape="LCTL" },
393                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
394                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
395                    <AC11>, <TLDE>,
396                  { <KP4>, 33 }, <KP5>, <KP6>
397             };
398         };
399         row {
400             top= 77;
401             keys { <FIND>, <CUT>, 
402                  { <LFSH>, 9 }, <LSGT>,
403                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
404                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
405                  { <RTSH>, "RTSH" }, <LNFD>,
406                  { <KP1>, 9} , <KP2>, <KP3>, { <KPEN>, "KPAD" }
407             };
408         };
409         row {
410             top= 96;
411             keys { { <HELP>, "HELP" }, { <CAPS>, 9 },
412                    <LALT>, <LMTA>, { <SPCE>, "SPCE" },
413                    <RMTA>, <COMP>, <ALGR>,
414                  { <KP0>, 9, shape="KP0" }, <KPDL>
415             };
416         };
417     }; // End of "Alpha" section
418
419     shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
420     shape "LED"  { cornerRadius= 0, { [  7,  4 ] } };
421     solid "LedPanel" {
422         shape= "LEDS";
423         top=  28;
424         left= 358;
425     };
426     indicator.onColor= "green";
427     indicator.offColor= "green30";
428     indicator.top= 43;
429     indicator.shape= "LED";
430     indicator "CapsLock"        { left= 364; };
431     indicator "Compose" { left= 383; };
432     indicator "ScrollLock"      { left= 402; };
433     indicator "NumLock" { left= 421; };
434     text.top= 34;
435     text.color= "black";
436     text "CapsLockLabel"        { left= 364; text="Caps\nLock"; };
437     text "ComposeLabel"         { left= 380; text="Compose"; };
438     text "ScrollLockLabel"      { left= 402; text="Scroll\nLock"; }
439 ;
440     text "NumLockLabel"         { left= 421; text="Num\nLock"; };
441 };
442
443 xkb_geometry "type4jp" {
444
445     // This is an approximate layout for a Japanese Sun Type4
446     // keyboard, based on the European TUV keyboard.  It has two keys
447     // above the Bksp key, instead of a large delete key, but lacks
448     // the extra key between Shift_L and Z.
449
450     description= "Sun Japanese Type4 keyboard";
451
452     width= 452;
453     height= 185;
454
455     shape "EDGE" { cornerRadius= 2, { [ 452, 185 ] } };
456     shape.cornerRadius= 1;
457     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
458     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
459     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
460
461     shape "RTRN" { 
462             approx = { [ 0, 0], [28,37] },
463             { [ 0, 0], [28, 0], [28,37],
464               [ 5,37], [ 5,19], [ 0,19] },
465             { [ 1, 1], [26, 1], [26,36],
466               [ 7,36], [ 7,18], [ 1,18] }
467     };
468     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
469     shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } };
470     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
471     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
472     shape "SPCE" { { [ 97,18] }, { [2,1], [95,17] } };
473     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
474     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
475     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
476     shape "LFSH" { { [ 41,18] }, { [2,1], [39,17] } };
477     shape "KANJ" { { [ 27,18] }, { [2,1], [25,17] } };
478     shape "EXEC" { { [ 27,18] }, { [2,1], [25,17] } };
479
480     outline "Edges" {
481         top= 0;
482         left= 0;
483         shape= "EDGE";
484     };
485
486     section.left= 17;
487     row.left= 1;
488     key.shape= "NORM";
489     key.gap=  1;
490
491     section "Alpha" {
492         top= 58;
493         row {
494             top= 1;
495             keys { <STOP>, <AGAI>,
496                  { <FK01>, 9 }, <FK02>, <FK03>, <FK04>,
497                    <FK05>, <FK06>, <FK07>, <FK08>,
498                    <FK09>, <FK10>, <FK11>, <FK12>,
499                    <BKSL>, <BRCR>,<DELE>,
500                  { <PAUS>, 9 }, <PRSC>, <SCLK>, <NMLK>
501             };
502         };
503         row {
504             top= 20;
505             keys { <PROP>, <UNDO>, { <ESC>, 9 }, 
506                    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, 
507                    <AE06>, <AE07>, <AE08>, <AE09>, <AE10>, 
508                    <AE11>, <AE12>,
509                  { <BKSP>, "BKSP" },
510                  { <KPEQ>, 9 }, <KPDV>, <KPMU>, <KPSU> 
511
512             };
513         };
514         row {
515             top= 39;
516             keys { <FRNT>, <COPY>, 
517                  { <TAB>, 9, shape="TABK" },
518                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
519                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
520                    <AD11>, <AD12>, { <RTRN>, "RTRN" },
521                  { <KP7>, 9 }, <KP8>, <KP9>, { <KPAD>, "KPAD" } 
522             };
523         };
524         row {
525             top= 58;
526             keys { <OPEN>, <PAST>, 
527                  { <LCTL>, 9, shape="LCTL" },
528                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
529                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
530                    <AC11>, <TLDE>,
531                  { <KP4>, 33 }, <KP5>, <KP6>
532             };
533         };
534         row {
535             top= 77;
536             keys { <FIND>, <CUT>, 
537                  { <LFSH>, 9, shape="LFSH" },
538                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
539                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
540                    <LNFD>, { <RTSH>, "RTSH" },
541                  { <KP1>, 9} , <KP2>, <KP3>, { <KPEN>, "KPAD" }
542             };
543         };
544         row {
545             top= 96;
546             keys { { <HELP>, "HELP" }, { <CAPS>, 9 },
547                    <LALT>, <LMTA>, { <EXEC>, "EXEC"} , { <SPCE>, "SPCE" },
548                    { <KANJ>, "KANJ" }, <HENK>, <RMTA>, <COMP>, <ALGR>,
549                  { <KP0>, 9, shape="KP0" }, <KPDL>
550             };
551         };
552     }; // End of "Alpha" section
553
554     shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
555     shape "LED"  { cornerRadius= 0, { [  7,  4 ] } };
556     solid "LedPanel" {
557         shape= "LEDS";
558         top=  28;
559         left= 358;
560     };
561     indicator.onColor= "green";
562     indicator.offColor= "green30";
563     indicator.top= 43;
564     indicator.shape= "LED";
565     indicator "CapsLock"        { left= 364; };
566     indicator "Compose" { left= 383; };
567     indicator "ScrollLock"      { left= 402; };
568     indicator "NumLock" { left= 421; };
569     text.top= 34;
570     text.color= "black";
571     text "CapsLockLabel"        { left= 364; text="Caps\nLock"; };
572     text "ComposeLabel"         { left= 380; text="Compose"; };
573     text "ScrollLockLabel"      { left= 402; text="Scroll\nLock"; };
574     text "NumLockLabel"         { left= 421; text="Num\nLock"; };
575 };
576
577 xkb_geometry "t5" {
578
579     // This is an approximate layout for a (US/ASCII) Sun Type5
580     // keyboard.  I just took a similar layout (101 key PC keyboard)
581     // and adjusted the sizes.
582
583     width= 515;
584     height= 170;
585
586     shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
587     shape.cornerRadius= 1;
588     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
589     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
590     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
591     shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
592     shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
593     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
594     shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
595     shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
596     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
597     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
598     shape "SPCE" { { [156,18] }, { [2,1], [154,17] } };
599     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
600     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
601     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
602     shape "LOGO" { { [ 16,16] } };
603
604     outline "Edges" {
605         top= 0;
606         left= 0;
607         shape= "EDGE";
608     };
609
610     section.left= 14;
611     row.left= 1;
612     key.shape= "NORM";
613     key.gap=  1;
614     section "Function" {
615         top= 24;
616         row {
617             top= 1;
618             keys { { <HELP>, "HELP" }, { <ESC>, 9 },
619                    { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
620                    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
621                    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
622                    { <PRSC>,  9 }, <SCLK>, <PAUS>,
623                    { <MUTE>,  9 }, <VOL->, <VOL+>, <POWR>
624             };
625         };
626     }; // End of "Function" section
627
628     section "Alpha" {
629         top= 61;
630         row {
631             top= 1;
632             keys { <STOP>, <AGAI>,
633                  { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
634                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
635                    <AE10>, <AE11>, <AE12>,
636                  { <BKSP>, "BKSP", color="grey20" }
637             };
638         };
639         row {
640             top= 20;
641             keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
642                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
643                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
644                    <AD11>, <AD12>,
645                  { <BKSL>, "BKSL" }
646             };
647         };
648         row {
649             top= 39;
650             keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
651                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
652                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
653                    <AC11>,
654                  { <RTRN>, "RTRN" }
655             };
656         };
657         row {
658             top= 58;
659             keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, 
660                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
661                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
662                  { <RTSH>, "RTSH", color="grey20" }
663             };
664         };
665         row {
666             top= 77;
667             keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
668                    <LALT>, <LMTA>,
669                  { <SPCE>, "SPCE" },
670                    <RMTA>, <COMP>, <ALGR>
671             };
672         };
673     }; // End of "Alpha" section
674
675     section "Editing" {
676         top= 61;
677         left= 352;
678         row {
679             top= 1;
680             keys { <INS>, <HOME>, <PGUP> };
681         };
682         row {
683             top= 20;
684             keys { <DELE>, <END>, <PGDN> };
685         };
686         row {
687             top= 58;
688             left= 20;
689             keys { <UP> };
690         };
691         row {
692             top= 77;
693             keys { <LEFT>, <DOWN>, <RGHT> };
694         };
695     }; // End of "Editing" section
696
697     section "Keypad" {
698         top= 61;
699         left= 420;
700         row {
701             top= 1;
702             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
703         };
704         row {
705             top= 20;
706             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
707         };
708         row {
709             top= 39;
710             keys { <KP4>, <KP5>, <KP6> };
711         };
712         row {
713             top= 58;
714             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
715         };
716         row {
717             top= 77;
718             keys { { <KP0>, "KP0" }, <KPDL> };
719         };
720     }; // End of "Keypad" section
721 };
722
723 xkb_geometry "t5tuv" {
724
725     // This is an approximate layout for a TUV/European Sun Type5 keyboard.
726
727     width= 515;
728     height= 170;
729
730     shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
731     shape.cornerRadius= 1;
732     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
733     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
734     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
735     shape "RTRN" {
736         approx = { [ 0, 0], [28,37] },
737         { [ 0, 0], [28, 0], [28,37],
738           [ 5,37], [ 5,18], [ 0,18] },
739         { [ 1, 1], [26, 1], [26,36],
740           [ 7,36], [ 7,17], [ 1,17] }
741     };
742     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
743     shape "LFSH" { { [ 24,18] }, { [2,1], [22,17] } };
744     shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
745     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
746     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
747     shape "SPCE" { { [157,18] }, { [2,1], [155,17] } };
748     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
749     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
750     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
751     shape "LOGO" { { [ 16,16] } };
752
753     outline "Edges" {
754         top= 0;
755         left= 0;
756         shape= "EDGE";
757     };
758
759     section.left= 14;
760     row.left= 1;
761     key.shape= "NORM";
762     key.gap=  1;
763     section "Function" {
764         top= 24;
765         row {
766             top= 1;
767             keys { { <HELP>, "HELP" }, { <ESC>, 9 },
768                    { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
769                    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
770                    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
771                    { <PRSC>,  9 }, <SCLK>, <PAUS>,
772                    { <MUTE>,  9 }, <VOL->, <VOL+>, <POWR>
773             };
774         };
775     }; // End of "Function" section
776
777     section "Alpha" {
778         top= 61;
779         row {
780             top= 1;
781             keys { <STOP>, <AGAI>,
782                  { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
783                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
784                    <AE10>, <AE11>, <AE12>,
785                  { <BKSP>, "BKSP", color="grey20" }
786             };
787         };
788         row {
789             top= 20;
790             keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
791                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
792                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
793                    <AD11>, <AD12>,
794                  { <RTRN>, "RTRN" }
795             };
796         };
797         row {
798             top= 39;
799             keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
800                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
801                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
802                    <AC11>, <BKSL>
803             };
804         };
805         row {
806             top= 58;
807             keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, <LSGT>, 
808                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
809                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
810                  { <RTSH>, "RTSH" }
811             };
812         };
813         row {
814             top= 77;
815             keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
816                    <LALT>, <LMTA>,
817                  { <SPCE>, "SPCE" },
818                    <RMTA>, <COMP>, <ALGR>
819             };
820         };
821     }; // End of "Alpha" section
822
823     section "Editing" {
824         top= 61;
825         left= 352;
826         row {
827             top= 1;
828             keys { <INS>, <HOME>, <PGUP> };
829         };
830         row {
831             top= 20;
832             keys { <DELE>, <END>, <PGDN> };
833         };
834         row {
835             top= 58;
836             left= 20;
837             keys { <UP> };
838         };
839         row {
840             top= 77;
841             keys { <LEFT>, <DOWN>, <RGHT> };
842         };
843     }; // End of "Editing" section
844
845     section "Keypad" {
846         top= 61;
847         left= 420;
848         row {
849             top= 1;
850             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
851         };
852         row {
853             top= 20;
854             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
855         };
856         row {
857             top= 39;
858             keys { <KP4>, <KP5>, <KP6> };
859         };
860         row {
861             top= 58;
862             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
863         };
864         row {
865             top= 77;
866             keys { { <KP0>, "KP0" }, <KPDL> };
867         };
868     }; // End of "Keypad" section
869 };
870
871
872 xkb_geometry "t5jp" {
873
874     // This is an approximate layout for a Japanese Sun Type5 keyboard.
875
876     width= 515;
877     height= 170;
878
879     shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
880     shape.cornerRadius= 1;
881     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
882     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
883     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
884     shape "KANJ" { { [ 27,18] }, { [2,1], [25,17] } };
885     shape "EXEC" { { [ 27,18] }, { [2,1], [25,17] } };
886     shape "RTRN" { 
887         approx = { [ 0, 0], [28,37] },
888         { [ 0, 0], [28, 0], [28,37],
889           [ 5,37], [ 5,18], [ 0,18] },
890         { [ 1, 1], [26, 1], [26,36],
891           [ 7,36], [ 7,17], [ 1,17] }
892     };
893     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
894     shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
895     shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } };
896     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
897     shape "SPCE" { { [ 97,18] }, { [2,1], [95,17] } };
898     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
899     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
900     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
901     shape "LOGO" { { [ 16,16] } };
902
903     outline "Edges" {
904         top= 0;
905         left= 0;
906         shape= "EDGE";
907     };
908
909     section.left= 14;
910     row.left= 1;
911     key.shape= "NORM";
912     key.gap=  1;
913     section "Function" {
914         top= 24;
915         row {
916             top= 1;
917             keys { { <HELP>, "HELP" }, { <ESC>, 9 },
918                    { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
919                    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
920                    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
921                    { <PRSC>,  9 }, <SCLK>, <PAUS>,
922                    { <MUTE>,  9 }, <VOL->, <VOL+>, <POWR>
923             };
924         };
925     }; // End of "Function" section
926
927     section "Alpha" {
928         top= 61;
929         row {
930             top= 1;
931             keys { <STOP>, <AGAI>,
932                  { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
933                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
934                    <AE10>, <AE11>, <AE12>,
935                  { <BKSP>, "BKSP", color="grey20" }
936             };
937         };
938         row {
939             top= 20;
940             keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
941                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
942                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
943                    <AD11>, <AD12>, 
944                    { <RTRN>, "RTRN" }
945             };
946         };
947         row {
948             top= 39;
949             keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
950                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
951                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
952                    <AC11>, <BKSL>
953             };
954         };
955         row {
956             top= 58;
957             keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, 
958                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
959                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <UNDR>,
960                  { <RTSH>, "RTSH", color="grey20" }
961             };
962         };
963         row {
964             top= 77;
965             keys { <FIND>, <CUT>, { <LCTL>, 9 },
966                    <LALT>, <LMTA>, { <EXEC>, "EXEC" },
967                  { <SPCE>, "SPCE" }, { <KANJ>, "KANJ" }, <HENK>,
968                    <RMTA>, <COMP>, <ALGR>
969             };
970         };
971     }; // End of "Alpha" section
972
973     section "Editing" {
974         top= 61;
975         left= 352;
976         row {
977             top= 1;
978             keys { <INS>, <HOME>, <PGUP> };
979         };
980         row {
981             top= 20;
982             keys { <DELE>, <END>, <PGDN> };
983         };
984         row {
985             top= 58;
986             left= 20;
987             keys { <UP> };
988         };
989         row {
990             top= 77;
991             keys { <LEFT>, <DOWN>, <RGHT> };
992         };
993     }; // End of "Editing" section
994
995     section "Keypad" {
996         top= 61;
997         left= 420;
998         row {
999             top= 1;
1000             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
1001         };
1002         row {
1003             top= 20;
1004             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
1005         };
1006         row {
1007             top= 39;
1008             keys { <KP4>, <KP5>, <KP6> };
1009         };
1010         row {
1011             top= 58;
1012             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
1013         };
1014         row {
1015             top= 77;
1016             keys { { <KP0>, "KP0" }, <KPDL> };
1017         };
1018     }; // End of "Keypad" section
1019 };
1020
1021 xkb_geometry "t5unix" {
1022
1023     // This is an approximate layout for a (US/ASCII) Sun Type5
1024     // keyboard.  I just took a similar layout (101 key PC keyboard)
1025     // and adjusted the sizes.
1026
1027     width= 515;
1028     height= 170;
1029
1030     shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
1031     shape.cornerRadius= 1;
1032     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
1033     shape "BKSP" { { [ 27,18] }, { [2,1], [25,17] } };
1034     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
1035     shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
1036     shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
1037     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
1038     shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
1039     shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
1040     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
1041     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
1042     shape "SPCE" { { [157,18] }, { [2,1], [155,17] } };
1043     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
1044     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
1045     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
1046     shape "LOGO" { { [ 16,16] } };
1047
1048     outline "Edges" {
1049         top= 0;
1050         left= 0;
1051         shape= "EDGE";
1052     };
1053
1054     section.left= 14;
1055     row.left= 1;
1056     key.shape= "NORM";
1057     key.gap=  1;
1058     section "Function" {
1059     top= 24;
1060         row {
1061             top= 1;
1062             keys { { <HELP>, "HELP" }, { <NONE>, 9 },
1063                    { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
1064                    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
1065                    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
1066                    { <PRSC>,  9 }, <SCLK>, <PAUS>,
1067                    { <MUTE>,  9 }, <VOL->, <VOL+>, <POWR>
1068             };
1069         };
1070     }; // End of "Function" section
1071
1072     section "Alpha" {
1073         top= 61;
1074         row {
1075             top= 1;
1076             keys { <STOP>, <AGAI>,
1077                  { <ESC>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
1078                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
1079                    <AE10>, <AE11>, <AE12>,
1080                    <BKSL>, <TLDE>
1081             };
1082         };
1083         row {
1084             top= 20;
1085             keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
1086                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
1087                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
1088                    <AD11>, <AD12>,
1089                  { <BKSP>, "BKSP" }
1090             };
1091         };
1092         row {
1093             top= 39;
1094             keys { <FRNT>, <COPY>, { <LCTL>, 9, shape="LCTL" },
1095                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
1096                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
1097                    <AC11>,
1098                  { <RTRN>, "RTRN" }
1099             };
1100         };
1101         row {
1102             top= 58;
1103             keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, 
1104                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
1105                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
1106                  { <RTSH>, "RTSH", color="grey20" }
1107             };
1108         };
1109         row {
1110             top= 77;
1111             keys { <FIND>, <CUT>, { <CAPS>, 9, shape="CAPS" },
1112                    <LALT>, <LMTA>,
1113                  { <SPCE>, "SPCE" },
1114                    <RMTA>, <COMP>, <ALGR>
1115             };
1116         };
1117     }; // End of "Alpha" section
1118
1119     section "Editing" {
1120         top= 61;
1121         left= 352;
1122         row {
1123             top= 1;
1124             keys { <INS>, <HOME>, <PGUP> };
1125         };
1126         row {
1127             top= 20;
1128             keys { <DELE>, <END>, <PGDN> };
1129         };
1130         row {
1131             top= 58;
1132             left= 20;
1133             keys { <UP> };
1134         };
1135         row {
1136             top= 77;
1137             keys { <LEFT>, <DOWN>, <RGHT> };
1138         };
1139     }; // End of "Editing" section
1140
1141     section "Keypad" {
1142         top= 61;
1143         left= 420;
1144         row {
1145             top= 1;
1146             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
1147         };
1148         row {
1149             top= 20;
1150             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
1151         };
1152         row {
1153             top= 39;
1154             keys { <KP4>, <KP5>, <KP6> };
1155         };
1156         row {
1157             top= 58;
1158             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
1159         };
1160         row {
1161             top= 77;
1162             keys { { <KP0>, "KP0" }, <KPDL> };
1163         };
1164     }; // End of "Keypad" section
1165 };
1166
1167 xkb_geometry "t5hobo" {
1168
1169     // This is an approximate layout for a (US/ASCII) Sun Type5
1170     // keyboard.  I just took a similar layout (101 key PC keyboard)
1171     // and adjusted the sizes.
1172     //
1173     // I modified this to look like the hobo keyboard.
1174
1175     width= 425;
1176     height= 170;
1177
1178     shape "EDGE" { cornerRadius= 2, { [ 425, 170 ] } };
1179     shape.cornerRadius= 1;
1180     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
1181     shape "FKEY" { { [ 15,18] }, { [0.5,0.5], [14.5, 17.5] } };
1182     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
1183     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
1184     shape "BKSL" { { [ 28,18] }, { [2,1], [26,17] } };
1185     shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
1186     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
1187     shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
1188     shape "RTSH" { { [ 32,18] }, { [2,1], [30,17] } };
1189     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
1190     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
1191     shape "SPCE" { { [156,18] }, { [2,1], [154,17] } };
1192     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
1193     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
1194     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
1195     shape "LOGO" { { [ 16,16] } };
1196     
1197     outline "Edges" {
1198         top= 0;
1199         left= 0;
1200         shape= "EDGE";
1201     };
1202
1203     section.left= 14;
1204     row.left= 1;
1205     key.shape= "FKEY";
1206     key.gap=  1;
1207     section "Function" {
1208         top= 24;
1209         row {
1210             top= 1;
1211             keys { { <HELP>, "HELP" }, { <ESC>, 9 },
1212                    { <FK01>, 4 }, <FK02>, <FK03>, <FK04>,
1213                    { <FK05>, 4 }, <FK06>, <FK07>, <FK08>,
1214                    { <FK09>, 4 }, <FK10>, <FK11>, <FK12>,
1215                    { <MUTE>, 4 }, <VOL->, <VOL+>, <POWR>, 
1216                    { <PRSC>,  9, "NORM" }, {<SCLK>, "NORM"}, {<PAUS>, "NORM"}
1217             };
1218         };
1219     }; // End of "Function" section
1220
1221     key.shape= "NORM";
1222     section "Alpha" {
1223         top= 61;
1224         row {
1225             top= 1;
1226             keys { <STOP>, <AGAI>,
1227                  { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
1228                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
1229                    <AE10>, <AE11>, <AE12>,
1230                  { <BKSP>, "BKSP", color="grey20" }
1231             };
1232         };
1233         row {
1234             top= 20;
1235             keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
1236                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
1237                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
1238                    <AD11>, <AD12>,
1239                  { <BKSL>, "BKSL" }
1240             };
1241         };
1242         row {
1243             top= 39;
1244             keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
1245                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
1246                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
1247                    <AC11>,
1248                  { <RTRN>, "RTRN" }
1249             };
1250         };
1251         row {
1252             top= 58;
1253             keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, 
1254                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
1255                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
1256                  { <RTSH>, "RTSH", color="grey20" }, <ALGR>
1257             };
1258         };
1259         row {
1260             top= 77;
1261             keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
1262                    <LALT>, <LMTA>,
1263                  { <SPCE>, "SPCE" },
1264                    <RMTA>, <COMP>, <NMLK>
1265             };
1266         };
1267     }; // End of "Alpha" section
1268
1269     section "Editing" {
1270         top= 61;
1271         left= 352;
1272         row {
1273             top= 1;
1274             keys { <INS>, <HOME>, <PGUP> };
1275         };
1276         row {
1277             top= 20;
1278             keys { <DELE>, <END>, <PGDN> };
1279         };
1280         row {
1281
1282             top= 58;
1283             left= 20;
1284             keys { <UP> };
1285         };
1286         row {
1287             top= 77;
1288             keys { <LEFT>, <DOWN>, <RGHT> };
1289         };
1290     }; // End of "Editing" section
1291 };
1292
1293 xkb_geometry "t5tuvhobo" {
1294
1295     // This is an approximate layout for a (US/ASCII) Sun Type5
1296     // keyboard.  I just took a similar layout (101 key PC keyboard)
1297     // and adjusted the sizes.
1298     //
1299     // I modified this to look like the hobo keyboard.
1300
1301     width= 425;
1302     height= 170;
1303
1304     shape "EDGE" { cornerRadius= 2, { [ 425, 170 ] } };
1305     shape.cornerRadius= 1;
1306     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
1307     shape "FKEY" { { [ 15,18] }, { [0.5,0.5], [14.5, 17.5] } };
1308     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
1309     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
1310     shape "BKSL" { { [ 28,18] }, { [2,1], [26,17] } };
1311     shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
1312     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
1313     shape "LFSH" { { [ 24,18] }, { [2,1], [22,17] } };
1314     shape "RTSH" { { [ 32,18] }, { [2,1], [30,17] } };
1315     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
1316     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
1317     shape "SPCE" { { [156,18] }, { [2,1], [154,17] } };
1318     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
1319     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
1320     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
1321     shape "LOGO" { { [ 16,16] } };
1322     
1323     outline "Edges" {
1324         top= 0;
1325         left= 0;
1326         shape= "EDGE";
1327     };
1328
1329     section.left= 14;
1330     row.left= 1;
1331     key.shape= "FKEY";
1332     key.gap=  1;
1333     section "Function" {
1334         top= 24;
1335         row {
1336             top= 1;
1337             keys { { <HELP>, "HELP" }, { <ESC>, 9 },
1338                    { <FK01>, 4 }, <FK02>, <FK03>, <FK04>,
1339                    { <FK05>, 4 }, <FK06>, <FK07>, <FK08>,
1340                    { <FK09>, 4 }, <FK10>, <FK11>, <FK12>,
1341                    { <MUTE>, 4 }, <VOL->, <VOL+>, <POWR>, 
1342                    { <PRSC>,  9, "NORM" }, {<SCLK>, "NORM"}, {<PAUS>, "NORM"}
1343             };
1344         };
1345     }; // End of "Function" section
1346
1347     key.shape= "NORM";
1348     section "Alpha" {
1349         top= 61;
1350         row {
1351             top= 1;
1352             keys { <STOP>, <AGAI>,
1353                  { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
1354                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
1355                    <AE10>, <AE11>, <AE12>,
1356                  { <BKSP>, "BKSP", color="grey20" }
1357             };
1358         };
1359         row {
1360             top= 20;
1361             keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
1362                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
1363                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
1364                    <AD11>, <AD12>,
1365                  { <BKSL>, "BKSL" }
1366             };
1367         };
1368         row {
1369             top= 39;
1370             keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
1371                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
1372                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
1373                    <AC11>,
1374                  { <RTRN>, "RTRN" }
1375             };
1376         };
1377         row {
1378             top= 58;
1379             keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, <LSGT>,
1380                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
1381                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
1382                  { <RTSH>, "RTSH", color="grey20" }, <ALGR>
1383             };
1384         };
1385         row {
1386             top= 77;
1387             keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
1388                    <LALT>, <LMTA>,
1389                  { <SPCE>, "SPCE" },
1390                    <RMTA>, <COMP>, <NMLK>
1391             };
1392         };
1393     }; // End of "Alpha" section
1394
1395     section "Editing" {
1396         top= 61;
1397         left= 352;
1398         row {
1399             top= 1;
1400             keys { <INS>, <HOME>, <PGUP> };
1401         };
1402         row {
1403             top= 20;
1404             keys { <DELE>, <END>, <PGDN> };
1405         };
1406         row {
1407
1408             top= 58;
1409             left= 20;
1410             keys { <UP> };
1411         };
1412         row {
1413             top= 77;
1414             keys { <LEFT>, <DOWN>, <RGHT> };
1415         };
1416     }; // End of "Editing" section
1417 };
1418
1419 xkb_geometry "t5jphobo" {
1420
1421     // This is an approximate layout for a (US/ASCII) Sun Type5
1422     // keyboard.  I just took a similar layout (101 key PC keyboard)
1423     // and adjusted the sizes.
1424
1425     width= 425;
1426     height= 170;
1427
1428     shape "EDGE" { cornerRadius= 2, { [ 425, 170 ] } };
1429     shape.cornerRadius= 1;
1430     shape "FKEY" { { [ 15,18] }, { [0.5,0.5], [14.5, 17.5] } };
1431     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
1432     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
1433     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
1434     shape "KANJ" { { [ 27,18] }, { [2,1], [25,17] } };
1435     shape "EXEC" { { [ 27,18] }, { [2,1], [25,17] } };
1436     shape "RTRN" { 
1437         approx = { [ 0, 0], [28,37] },
1438         { [ 0, 0], [28, 0], [28,37],
1439           [ 5,37], [ 5,18], [ 0,18] },
1440         { [ 1, 1], [26, 1], [26,36],
1441           [ 7,36], [ 7,17], [ 1,17] }
1442     };
1443     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
1444     shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
1445     shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } };
1446     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
1447     shape "SPCE" { { [ 97,18] }, { [2,1], [95,17] } };
1448     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
1449     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
1450     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
1451     shape "LOGO" { { [ 16,16] } };
1452
1453     outline "Edges" {
1454         top= 0;
1455         left= 0;
1456         shape= "EDGE";
1457     };
1458
1459     section.left= 14;
1460     row.left= 1;
1461     key.shape= "FKEY";
1462     key.gap=  1;
1463     section "Function" {
1464         top= 24;
1465         row {
1466             top= 1;
1467             keys { { <HELP>, "HELP" }, { <ESC>, 9 },
1468                    { <FK01>, 4 }, <FK02>, <FK03>, <FK04>,
1469                    { <FK05>, 4 }, <FK06>, <FK07>, <FK08>,
1470                    { <FK09>, 4 }, <FK10>, <FK11>, <FK12>,
1471                    { <MUTE>, 4 }, <VOL->, <VOL+>, <POWR>, 
1472                    { <PRSC>,  9, "NORM" }, {<SCLK>, "NORM"}, {<PAUS>, "NORM"}
1473             };
1474         };
1475     }; // End of "Function" section
1476
1477     key.shape= "NORM";
1478     section "Alpha" {
1479         top= 61;
1480         row {
1481             top= 1;
1482             keys { <STOP>, <AGAI>,
1483                  { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
1484                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
1485                    <AE10>, <AE11>, <AE12>,
1486                  { <BKSP>, "BKSP", color="grey20" }
1487             };
1488         };
1489         row {
1490             top= 20;
1491             keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
1492                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
1493                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
1494                    <AD11>, <AD12>, 
1495                    { <RTRN>, "RTRN" }
1496             };
1497         };
1498         row {
1499             top= 39;
1500             keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
1501                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
1502                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
1503                    <AC11>, <BKSL>
1504             };
1505         };
1506         row {
1507             top= 58;
1508             keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, 
1509                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
1510                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <UNDR>,
1511                  { <RTSH>, "RTSH", color="grey20" }
1512             };
1513         };
1514         row {
1515             top= 77;
1516             keys { <FIND>, <CUT>, { <LCTL>, 9 },
1517                    <LALT>, <LMTA>, { <EXEC>, "EXEC" },
1518                  { <SPCE>, "SPCE" }, { <KANJ>, "KANJ" }, <HENK>,
1519                    <RMTA>, <COMP>, <ALGR>
1520             };
1521         };
1522     }; // End of "Alpha" section
1523
1524     section "Editing" {
1525         top= 61;
1526         left= 352;
1527         row {
1528             top= 1;
1529             keys { <INS>, <HOME>, <PGUP> };
1530         };
1531         row {
1532             top= 20;
1533             keys { <DELE>, <END>, <PGDN> };
1534         };
1535         row {
1536             top= 58;
1537             left= 20;
1538             keys { <UP> };
1539         };
1540         row {
1541             top= 77;
1542             keys { <LEFT>, <DOWN>, <RGHT> };
1543         };
1544     }; // End of "Editing" section
1545 };
1546
1547 xkb_geometry "type5_se" {
1548
1549     // kbd: type = 4, layout = 43
1550
1551     description= "Sun Type5 keyboard (Sweden)";
1552
1553     width=       510;
1554     height=      170;
1555
1556     baseColor=   "grey";
1557     labelColor=  "black";
1558
1559     shape.cornerRadius= 1;
1560
1561     shape "EDGE" { cornerRadius= 2, { [ 510, 170 ] } };
1562     shape "LOGO" { cornerRadius= 2,
1563       { [ 0, 8], [ 8, 16], [ 16, 8], [ 8, 0] }
1564     };
1565
1566     shape "NORM" { { [ 18, 18] }, { [ 2, 1], [ 16, 17] } };
1567     shape "BKSP" { { [ 38, 18] }, { [ 2, 1], [ 36, 17] } };
1568     shape "TABK" { { [ 27, 18] }, { [ 2, 1], [ 25, 17] } };
1569     shape "RTRN" { 
1570       { [ 0, 0], [ 29, 0], [ 29, 37], [ 5, 37], [ 5, 18], [ 0, 18] },
1571       { [ 2, 1], [ 27, 1], [ 27, 36], [ 7, 36], [ 7, 17], [ 2, 17] }
1572     };
1573     shape "CAPS" { { [ 32, 18] }, { [ 2, 1], [ 30, 17 ] } };
1574     shape "LFSH" { { [ 24, 18] }, { [ 2, 1], [ 22, 17 ] } };
1575     shape "RTSH" { { [ 51, 18] }, { [ 2, 1], [ 49, 17 ] } };
1576     shape "LCTL" { { [ 32, 18] }, { [ 2, 1], [ 30, 17 ] } };
1577     shape "MODK" { { [ 28, 18] }, { [ 2, 1], [ 26, 17 ] } };
1578     shape "SPCE" { { [157, 18] }, { [ 2, 1], [155, 17 ] } };
1579     shape "KP0"  { { [ 37, 18] }, { [ 2, 1], [ 35, 17 ] } };
1580     shape "KPAD" { { [ 18, 37] }, { [ 2, 1], [ 16, 36 ] } };
1581     shape "HELP" { { [ 37, 18] }, { [ 2, 1], [ 35, 17 ] } };
1582
1583     section "Function" {
1584         key.color= "grey10";
1585         priority=  1;
1586         top=       24;
1587         left=      14;
1588         width=     481;
1589         height=    19;
1590         row {
1591             top=  1;
1592             left= 1;
1593             keys {
1594                 { <HELP>, "HELP",   1 }, {  <ESC>, "NORM",   9 },
1595                 { <FK01>, "NORM",  19 }, { <FK02>, "NORM",   1 },
1596                 { <FK03>, "NORM",   1 }, { <FK04>, "NORM",   1 },
1597                 { <FK05>, "NORM",  11 }, { <FK06>, "NORM",   1 },
1598                 { <FK07>, "NORM",   1 }, { <FK08>, "NORM",   1 },
1599                 { <FK09>, "NORM",  11 }, { <FK10>, "NORM",   1 },
1600                 { <FK11>, "NORM",   1 }, { <FK12>, "NORM",   1 },
1601                 { <PRSC>, "NORM",   9 }, { <SCLK>, "NORM",   1 },
1602                 { <PAUS>, "NORM",   1 }, { <MUTE>, "NORM",  11 },
1603                 { <VOL->, "NORM",   1 }, { <VOL+>, "NORM",   1 },
1604                 { <POWR>, "NORM",   1, color= "white" }
1605             };
1606         };
1607     }; // End of "Function" section
1608
1609     section "Alpha" {
1610         key.color= "white";
1611         priority=  2;
1612         top=       61;
1613         left=      14;
1614         width=     333;
1615         height=    95;
1616         row {
1617             top=  1;
1618             left= 1;
1619             keys {
1620                 { <STOP>, "NORM",   1, color= "grey10" },
1621                 { <AGAI>, "NORM",   1, color= "grey10" },
1622                 { <TLDE>, "NORM",   9 }, { <AE01>, "NORM",   1 },
1623                 { <AE02>, "NORM",   1 }, { <AE03>, "NORM",   1 },
1624                 { <AE04>, "NORM",   1 }, { <AE05>, "NORM",   1 },
1625                 { <AE06>, "NORM",   1 }, { <AE07>, "NORM",   1 },
1626                 { <AE08>, "NORM",   1 }, { <AE09>, "NORM",   1 },
1627                 { <AE10>, "NORM",   1 }, { <AE11>, "NORM",   1 },
1628                 { <AE12>, "NORM",   1 },
1629                 { <BKSP>, "BKSP",   1, color="grey10" }
1630             };
1631         };
1632         row {
1633             top=  20;
1634             left= 1;
1635             keys {
1636                 { <PROP>, "NORM",   1, color= "grey10" },
1637                 { <UNDO>, "NORM",   1, color= "grey10" },
1638                 {  <TAB>, "TABK",   9, color= "grey10" },
1639                 { <AD01>, "NORM",   1 },
1640                 { <AD02>, "NORM",   1 }, { <AD03>, "NORM",   1 },
1641                 { <AD04>, "NORM",   1 }, { <AD05>, "NORM",   1 },
1642                 { <AD06>, "NORM",   1 }, { <AD07>, "NORM",   1 },
1643                 { <AD08>, "NORM",   1 }, { <AD09>, "NORM",   1 },
1644                 { <AD10>, "NORM",   1 }, { <AD11>, "NORM",   1 },
1645                 { <AD12>, "NORM",   1 },
1646                 { <RTRN>, "RTRN",   1, color= "grey10" }
1647             };
1648         };
1649         row {
1650             top=  39;
1651             left= 1;
1652             keys {
1653                 { <FRNT>, "NORM",   1, color= "grey10" },
1654                 { <COPY>, "NORM",   1, color= "grey10" },
1655                 { <CAPS>, "CAPS",   9, color= "grey10" }, 
1656                 { <AC01>, "NORM",   1 },
1657                 { <AC02>, "NORM",   1 }, { <AC03>, "NORM",   1 },
1658                 { <AC04>, "NORM",   1 }, { <AC05>, "NORM",   1 },
1659                 { <AC06>, "NORM",   1 }, { <AC07>, "NORM",   1 },
1660                 { <AC08>, "NORM",   1 }, { <AC09>, "NORM",   1 },
1661                 { <AC10>, "NORM",   1 }, { <AC11>, "NORM",   1 },
1662                 { <AC12>, "NORM",   1 }
1663             };
1664         };
1665         row {
1666             top=  58;
1667             left= 1;
1668             keys {
1669                 { <OPEN>, "NORM",   1, color= "grey10" },
1670                 { <PAST>, "NORM",   1, color= "grey10" },
1671                 { <LFSH>, "LFSH",   9, color= "grey10" },
1672                 { <AB00>, "NORM",   1 }, { <AB01>, "NORM",   1 },
1673                 { <AB02>, "NORM",   1 }, { <AB03>, "NORM",   1 },
1674                 { <AB04>, "NORM",   1 }, { <AB05>, "NORM",   1 },
1675                 { <AB06>, "NORM",   1 }, { <AB07>, "NORM",   1 },
1676                 { <AB08>, "NORM",   1 }, { <AB09>, "NORM",   1 },
1677                 { <AB10>, "NORM",   1 },
1678                 { <RTSH>, "RTSH",   1, color="grey10" }
1679             };
1680         };
1681         row {
1682             top=  77;
1683             left= 1;
1684             key.color= "grey10";
1685             keys {
1686                 { <FIND>, "NORM",   1 }, {  <CUT>, "NORM",   1 },
1687                 { <LCTL>, "LCTL",   9 }, { <LALT>, "NORM",   1 },
1688                 { <LMTA>, "NORM",   1 },
1689                 { <SPCE>, "SPCE",   1, color= "white" },
1690                 { <RMTA>, "NORM",   1 }, { <COMP>, "NORM",   1 },
1691                 { <ALGR>, "NORM",   1 }
1692             };
1693         };
1694     }; // End of "Alpha" section
1695
1696     section "Editing" {
1697         key.color= "grey10";
1698         priority=  3;
1699         top=       61;
1700         left=      352;
1701         width=     58;
1702         height=    95;
1703         row {
1704             top=  1;
1705             left= 1;
1706             keys {
1707                 {  <INS>, "NORM",   1 }, { <HOME>, "NORM",   1 },
1708                 { <PGUP>, "NORM",   1 }
1709             };
1710         };
1711         row {
1712             top=  20;
1713             left= 1;
1714             keys {
1715                 { <DELE>, "NORM",   1 }, {  <END>, "NORM",   1 },
1716                 { <PGDN>, "NORM",   1 }
1717             };
1718         };
1719         row {
1720             top=  58;
1721             left= 20;
1722             keys {
1723                 {   <UP>, "NORM",   1 }
1724             };
1725         };
1726         row {
1727             top=  77;
1728             left= 1;
1729             keys {
1730                 { <LEFT>, "NORM",   1 }, { <DOWN>, "NORM",   1 },
1731                 { <RGHT>, "NORM",   1 }
1732             };
1733         };
1734     }; // End of "Editing" section
1735
1736     section "Keypad" {
1737         key.color= "white";
1738         priority=  4;
1739         top=       61;
1740         left=      420;
1741         width=     77;
1742         height=    95;
1743         row {
1744             top=  1;
1745             left= 1;
1746             key.color= "grey10";
1747             keys {
1748                 { <NMLK>, "NORM",   1 }, { <KPDV>, "NORM",   1 },
1749                 { <KPMU>, "NORM",   1 }, { <KPSU>, "NORM",   1 }
1750             };
1751         };
1752         row {
1753             top=  20;
1754             left= 1;
1755             keys {
1756                 {  <KP7>, "NORM",   1 }, {  <KP8>, "NORM",   1 },
1757                 {  <KP9>, "NORM",   1 },
1758                 { <KPAD>, "KPAD",   1, color="grey10" }
1759             };
1760         };
1761         row {
1762             top=  39;
1763             left= 1;
1764             keys {
1765                 {  <KP4>, "NORM",   1 }, {  <KP5>, "NORM",   1 },
1766                 {  <KP6>, "NORM",   1 }
1767             };
1768         };
1769         row {
1770             top=  58;
1771             left= 1;
1772             keys {
1773                 {  <KP1>, "NORM",   1 }, {  <KP2>, "NORM",   1 },
1774                 {  <KP3>, "NORM",   1 },
1775                 { <KPEN>, "KPAD",   1, color="grey10" }
1776             };
1777         };
1778         row {
1779             top=  77;
1780             left= 1;
1781             keys {
1782                 {  <KP0>, "KP0",   1 }, { <KPDL>, "NORM",   1 }
1783             };
1784         };
1785     }; // End of "Keypad" section
1786
1787     outline "Edges" {
1788         top=      0;
1789         left=     0;
1790         priority= 0;
1791         shape= "EDGE";
1792     };
1793
1794     solid "Logos" {
1795       color= "blue";
1796       top=      5;
1797       left=     25;
1798       priority= 0;
1799       shape= "LOGO";
1800     };
1801     
1802     logo "SUNLogoImage" {
1803       top=      5;
1804       left=     25;
1805       name= "SUN";
1806       priority= 1;
1807       shape= "LOGO";
1808     };
1809
1810     shape "LED" { cornerRadius= 1,
1811       { [ 0, 1.5], [ 1.5, 3], [ 3, 1.5], [ 1.5, 0] }
1812     };
1813     indicator.onColor= "green";
1814     indicator.offColor= "green30";
1815     indicator.shape= "LED";
1816     indicator "Caps Lock" { left= 75; top= 103; priority= 5; };
1817     indicator "Compose"   { left= 314; top= 142; priority= 5; };
1818     indicator "Scroll Lock" { left= 378; top= 29; };
1819     indicator "Num Lock"  { left= 426; top= 66; };
1820 };
1821
1822 xkb_geometry "type5c_se" {
1823
1824     // kbd: type = 4, layout = 43
1825
1826     description= "Sun Type5c keyboard (Sweden)";
1827
1828     width=       510;
1829     height=      170;
1830
1831     baseColor=   "grey";
1832     labelColor=  "black";
1833
1834     shape.cornerRadius= 1;
1835
1836     shape "EDGE" { cornerRadius= 2, { [ 510, 170 ] } };
1837     shape "LOGO" { cornerRadius= 2,
1838       { [ 0, 8], [ 8, 16], [ 16, 8], [ 8, 0] }
1839     };
1840
1841     shape "NORM" { { [ 18, 18] }, { [ 2, 1], [ 16, 17] } };
1842     shape "BKSP" { { [ 38, 18] }, { [ 2, 1], [ 36, 17] } };
1843     shape "TABK" { { [ 27, 18] }, { [ 2, 1], [ 25, 17] } };
1844     shape "META" { { [ 27, 18] }, { [ 2, 1], [ 25, 17] } };
1845     shape "RTRN" { 
1846       { [ 0, 0], [ 29, 0], [ 29, 37], [ 5, 37], [ 5, 18], [ 0, 18] },
1847       { [ 2, 1], [ 27, 1], [ 27, 36], [ 7, 36], [ 7, 17], [ 2, 17] }
1848     };
1849     shape "CAPS" { { [ 32, 18] }, { [ 2, 1], [ 30, 17 ] } };
1850     shape "LFSH" { { [ 24, 18] }, { [ 2, 1], [ 22, 17 ] } };
1851     shape "RTSH" { { [ 51, 18] }, { [ 2, 1], [ 49, 17 ] } };
1852     shape "LCTL" { { [ 32, 18] }, { [ 2, 1], [ 30, 17 ] } };
1853     shape "MODK" { { [ 28, 18] }, { [ 2, 1], [ 26, 17 ] } };
1854     shape "SPCE" { { [139, 18] }, { [ 2, 1], [137, 17 ] } };
1855     shape "KP0"  { { [ 37, 18] }, { [ 2, 1], [ 35, 17 ] } };
1856     shape "KPAD" { { [ 18, 37] }, { [ 2, 1], [ 16, 36 ] } };
1857     shape "HELP" { { [ 37, 18] }, { [ 2, 1], [ 35, 17 ] } };
1858
1859     section "Function" {
1860         key.color= "grey10";
1861         priority=  1;
1862         top=       24;
1863         left=      14;
1864         width=     481;
1865         height=    19;
1866         row {
1867             top=  1;
1868             left= 1;
1869             keys {
1870                 { <HELP>, "HELP",   1 }, {  <ESC>, "NORM",   9 },
1871                 { <FK01>, "NORM",  19 }, { <FK02>, "NORM",   1 },
1872                 { <FK03>, "NORM",   1 }, { <FK04>, "NORM",   1 },
1873                 { <FK05>, "NORM",  11 }, { <FK06>, "NORM",   1 },
1874                 { <FK07>, "NORM",   1 }, { <FK08>, "NORM",   1 },
1875                 { <FK09>, "NORM",  11 }, { <FK10>, "NORM",   1 },
1876                 { <FK11>, "NORM",   1 }, { <FK12>, "NORM",   1 },
1877                 { <PRSC>, "NORM",   9 }, { <SCLK>, "NORM",   1 },
1878                 { <PAUS>, "NORM",   1 }, { <MUTE>, "NORM",  11 },
1879                 { <VOL->, "NORM",   1 }, { <VOL+>, "NORM",   1 },
1880                 { <POWR>, "NORM",   1, color= "white" }
1881             };
1882         };
1883     }; // End of "Function" section
1884
1885     section "Alpha" {
1886         key.color= "white";
1887         priority=  2;
1888         top=       61;
1889         left=      14;
1890         width=     333;
1891         height=    95;
1892         row {
1893             top=  1;
1894             left= 1;
1895             keys {
1896                 { <STOP>, "NORM",   1, color= "grey10" },
1897                 { <AGAI>, "NORM",   1, color= "grey10" },
1898                 { <TLDE>, "NORM",   9 }, { <AE01>, "NORM",   1 },
1899                 { <AE02>, "NORM",   1 }, { <AE03>, "NORM",   1 },
1900                 { <AE04>, "NORM",   1 }, { <AE05>, "NORM",   1 },
1901                 { <AE06>, "NORM",   1 }, { <AE07>, "NORM",   1 },
1902                 { <AE08>, "NORM",   1 }, { <AE09>, "NORM",   1 },
1903                 { <AE10>, "NORM",   1 }, { <AE11>, "NORM",   1 },
1904                 { <AE12>, "NORM",   1 },
1905                 { <BKSP>, "BKSP",   1, color="grey10" }
1906             };
1907         };
1908         row {
1909             top=  20;
1910             left= 1;
1911             keys {
1912                 { <PROP>, "NORM",   1, color= "grey10" },
1913                 { <UNDO>, "NORM",   1, color= "grey10" },
1914                 {  <TAB>, "TABK",   9, color= "grey10" },
1915                 { <AD01>, "NORM",   1 },
1916                 { <AD02>, "NORM",   1 }, { <AD03>, "NORM",   1 },
1917                 { <AD04>, "NORM",   1 }, { <AD05>, "NORM",   1 },
1918                 { <AD06>, "NORM",   1 }, { <AD07>, "NORM",   1 },
1919                 { <AD08>, "NORM",   1 }, { <AD09>, "NORM",   1 },
1920                 { <AD10>, "NORM",   1 }, { <AD11>, "NORM",   1 },
1921                 { <AD12>, "NORM",   1 },
1922                 { <RTRN>, "RTRN",   1, color= "grey10" }
1923             };
1924         };
1925         row {
1926             top=  39;
1927             left= 1;
1928             keys {
1929                 { <FRNT>, "NORM",   1, color= "grey10" },
1930                 { <COPY>, "NORM",   1, color= "grey10" },
1931                 { <CAPS>, "CAPS",   9, color= "grey10" }, 
1932                 { <AC01>, "NORM",   1 },
1933                 { <AC02>, "NORM",   1 }, { <AC03>, "NORM",   1 },
1934                 { <AC04>, "NORM",   1 }, { <AC05>, "NORM",   1 },
1935                 { <AC06>, "NORM",   1 }, { <AC07>, "NORM",   1 },
1936                 { <AC08>, "NORM",   1 }, { <AC09>, "NORM",   1 },
1937                 { <AC10>, "NORM",   1 }, { <AC11>, "NORM",   1 },
1938                 { <AC12>, "NORM",   1 }
1939             };
1940         };
1941         row {
1942             top=  58;
1943             left= 1;
1944             keys {
1945                 { <OPEN>, "NORM",   1, color= "grey10" },
1946                 { <PAST>, "NORM",   1, color= "grey10" },
1947                 { <LFSH>, "LFSH",   9, color= "grey10" },
1948                 { <AB00>, "NORM",   1 }, { <AB01>, "NORM",   1 },
1949                 { <AB02>, "NORM",   1 }, { <AB03>, "NORM",   1 },
1950                 { <AB04>, "NORM",   1 }, { <AB05>, "NORM",   1 },
1951                 { <AB06>, "NORM",   1 }, { <AB07>, "NORM",   1 },
1952                 { <AB08>, "NORM",   1 }, { <AB09>, "NORM",   1 },
1953                 { <AB10>, "NORM",   1 },
1954                 { <RTSH>, "RTSH",   1, color="grey10" }
1955             };
1956         };
1957         row {
1958             top=  77;
1959             left= 1;
1960             key.color= "grey10";
1961             keys {
1962                 { <FIND>, "NORM",   1 }, {  <CUT>, "NORM",   1 },
1963                 { <LCTL>, "LCTL",   9 }, { <LALT>, "NORM",   1 },
1964                 { <LMTA>, "META",   1 },
1965                 { <SPCE>, "SPCE",   1, color= "white" },
1966                 { <RMTA>, "META",   1 }, { <COMP>, "NORM",   1 },
1967                 { <ALGR>, "NORM",   1 }
1968             };
1969         };
1970     }; // End of "Alpha" section
1971
1972     section "Editing" {
1973         key.color= "grey10";
1974         priority=  3;
1975         top=       61;
1976         left=      352;
1977         width=     58;
1978         height=    95;
1979         row {
1980             top=  1;
1981             left= 1;
1982             keys {
1983                 {  <INS>, "NORM",   1 }, { <HOME>, "NORM",   1 },
1984                 { <PGUP>, "NORM",   1 }
1985             };
1986         };
1987         row {
1988             top=  20;
1989             left= 1;
1990             keys {
1991                 { <DELE>, "NORM",   1 }, {  <END>, "NORM",   1 },
1992                 { <PGDN>, "NORM",   1 }
1993             };
1994         };
1995         row {
1996             top=  58;
1997             left= 20;
1998             keys {
1999                 {   <UP>, "NORM",   1 }
2000             };
2001         };
2002         row {
2003             top=  77;
2004             left= 1;
2005             keys {
2006                 { <LEFT>, "NORM",   1 }, { <DOWN>, "NORM",   1 },
2007                 { <RGHT>, "NORM",   1 }
2008             };
2009         };
2010     }; // End of "Editing" section
2011
2012     section "Keypad" {
2013         key.color= "white";
2014         priority=  4;
2015         top=       61;
2016         left=      420;
2017         width=     77;
2018         height=    95;
2019         row {
2020             top=  1;
2021             left= 1;
2022             key.color= "grey10";
2023             keys {
2024                 { <NMLK>, "NORM",   1 }, { <KPDV>, "NORM",   1 },
2025                 { <KPMU>, "NORM",   1 }, { <KPSU>, "NORM",   1 }
2026             };
2027         };
2028         row {
2029             top=  20;
2030             left= 1;
2031             keys {
2032                 {  <KP7>, "NORM",   1 }, {  <KP8>, "NORM",   1 },
2033                 {  <KP9>, "NORM",   1 },
2034                 { <KPAD>, "KPAD",   1, color="grey10" }
2035             };
2036         };
2037         row {
2038             top=  39;
2039             left= 1;
2040             keys {
2041                 {  <KP4>, "NORM",   1 }, {  <KP5>, "NORM",   1 },
2042                 {  <KP6>, "NORM",   1 }
2043             };
2044         };
2045         row {
2046             top=  58;
2047             left= 1;
2048             keys {
2049                 {  <KP1>, "NORM",   1 }, {  <KP2>, "NORM",   1 },
2050                 {  <KP3>, "NORM",   1 },
2051                 { <KPEN>, "KPAD",   1, color="grey10" }
2052             };
2053         };
2054         row {
2055             top=  77;
2056             left= 1;
2057             keys {
2058                 {  <KP0>, "KP0",   1 }, { <KPDL>, "NORM",   1 }
2059             };
2060         };
2061     }; // End of "Keypad" section
2062
2063     outline "Edges" {
2064         top=      0;
2065         left=     0;
2066         priority= 0;
2067         shape= "EDGE";
2068     };
2069
2070     solid "Logos" {
2071       color= "blue";
2072       top=      5;
2073       left=     15;
2074       priority= 0;
2075       shape= "LOGO";
2076     };
2077     
2078     logo "SUNLogoImage" {
2079       top=      5;
2080       left=     15;
2081       name= "SUN";
2082       priority= 1;
2083       shape= "LOGO";
2084     };
2085
2086     text.font= "charter";
2087     text.weight= "medium";
2088     text.slant= "i";
2089     text.fontSize= 40;
2090     text "SunLogoText" {
2091       top=      5;
2092       left=    32;
2093       color= "blue";
2094       text= "Sun";
2095     };
2096
2097     shape "LED" { cornerRadius= 1,
2098       { [ 0, 1.5], [ 1.5, 3], [ 3, 1.5], [ 1.5, 0] }
2099     };
2100     indicator.onColor= "green";
2101     indicator.offColor= "green30";
2102     indicator.shape= "LED";
2103     indicator "Caps Lock"   { left= 75; top= 103; priority= 5; };
2104     indicator "Compose"     { left= 314; top= 142; priority= 5; };
2105     indicator "Scroll Lock" { left= 378; top= 29; };
2106     indicator "Num Lock"    { left= 426; top= 66; };
2107 };
2108
2109 xkb_geometry "type4_se" {
2110
2111     // kbd: type = 4, layout = 11
2112
2113     description= "Sun Type4 keyboard (Sweden)";
2114     
2115
2116     width=       453;
2117     height=      183;
2118
2119     baseColor=   "grey";
2120     labelColor=  "black";
2121
2122     shape "EDGE" { cornerRadius= 2, { [ 452, 185 ] } };
2123     shape.cornerRadius= 1;
2124     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
2125     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
2126     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
2127     shape "DELE" { { [ 18,18] }, { [2,1], [16,17] } };
2128     shape "RTRN" { 
2129             approx = { [ 0, 0], [28,37] },
2130             { [ 0, 0], [28, 0], [28,37],
2131               [ 5,37], [ 5,19], [ 0,19] },
2132             { [ 1, 1], [26, 1], [26,36],
2133               [ 7,36], [ 7,18], [ 1,18] }
2134     };
2135     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
2136     shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
2137     shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } };
2138     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
2139     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
2140     shape "SPCE" { { [170,18] }, { [2,1], [168,17] } };
2141     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
2142     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
2143     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
2144
2145     outline "Edges" {
2146         top= 0;
2147         left= 0;
2148         shape= "EDGE";
2149     };
2150
2151     section.left= 17;
2152     row.left= 1;
2153     key.shape= "NORM";
2154     key.gap=  1;
2155
2156     section "Alpha" {
2157         top= 58;
2158         row {
2159             top= 1;
2160             key.color=  "grey10";
2161             keys { <STOP>, <AGAI>, { <FK01>, 9 },
2162                    <FK02>, <FK03>, <FK04>,
2163                    <FK05>, <FK06>, <FK07>, <FK08>,
2164                    <FK09>, <FK10>, <FK11>, <FK12>,
2165                  { <AF13>,      color=  "white"},
2166                  { <AF14>,      color=  "white"},
2167                    <DELE>, { <PAUS>, 9 },
2168                    <PRSC>, <SCLK>, <NMLK>
2169             };
2170         };
2171         row {
2172             top= 20;
2173             key.color=  "white";
2174             keys {
2175                  { <PROP>,      color=  "grey10" },
2176                  { <UNDO>,      color=  "grey10" },
2177                  {  <ESC>, 9,   color=  "grey10" }, 
2178                    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, 
2179                    <AE06>, <AE07>, <AE08>, <AE09>, <AE10>, 
2180                    <AE11>, <AE12>,
2181                  { <BKSP>, "BKSP",      color=  "grey10" },
2182                  { <KPEQ>, 9,   color=  "grey10" },
2183                  { <KPDV>,      color=  "grey10" },
2184                  { <KPMU>,      color=  "grey10" },
2185                  { <KPSU>,      color=  "grey10" }
2186             };
2187         };
2188         row {
2189             top= 39;
2190             key.color=  "white";
2191             keys {
2192                  { <FRNT>,      color=  "grey10" },
2193                  { <COPY>,      color=  "grey10" },
2194                  {  <TAB>, 9,   "TABK", color=  "grey10" },
2195                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
2196                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
2197                    <AD11>, <AD12>,
2198                  { <RTRN>,      "RTRN", color=  "grey10" },
2199                  {  <KP7>, 9,   color=  "grey10" },
2200                  {  <KP8>,      color=  "grey10" },
2201                  {  <KP9>,      color=  "grey10" },
2202                  { <KPAD>,      "KPAD", color=  "grey10" } 
2203             };
2204         };
2205         row {
2206             top= 58;
2207             key.color=  "white";
2208             keys {
2209                  { <OPEN>,      color=  "grey10" },
2210                  { <PAST>,      color=  "grey10" },
2211                  { <CAPS>, 9,   "LCTL", color=  "grey10" },
2212                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
2213                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
2214                    <AC11>, <AC12>,
2215                  {  <KP4>, 33,  color=  "grey10" },
2216                  {  <KP5>,      color=  "grey10" },
2217                  {  <KP6>,      color=  "grey10" }
2218             };
2219         };
2220         row {
2221             top= 77;
2222             key.color=  "white";
2223             keys { 
2224                  { <FIND>,      color=  "grey10" },
2225                  {  <CUT>,      color=  "grey10" },
2226                  { <LFSH>, 9 ,  "LFSH", color=  "grey10" },
2227                    <AB00>, <AB01>, <AB02>, <AB03>,
2228                    <AB04>, <AB05>, <AB06>, <AB07>,
2229                    <AB08>, <AB09>, <AB10>,
2230                  { <RTSH>,      "RTSH", color=  "grey10" },
2231                  { <LNFD>,      color=  "grey10" },
2232                  {  <KP1>, 9,   color=  "grey10" },
2233                  {  <KP2>,      color=  "grey10" },
2234                  {  <KP3>,      color=  "grey10" },
2235                  { <KPEN>,      "KPAD", color=  "grey10" }
2236             };
2237         };
2238         row {
2239             top= 96;
2240             key.color=  "grey10";
2241             keys {
2242                  { <HELP>, "HELP" }, { <LCTL>, 9 },
2243                    <LALT>, <LMTA>,
2244                  { <SPCE>,      "SPCE", color=  "white" },
2245                    <RMTA>, <COMP>, <ALGR>,
2246                  { <KP0>, 9,    "KP0" }, <KPDL>
2247             };
2248         };
2249     }; // End of "Alpha" section
2250
2251     shape "RIDGE" { cornerRadius= 1, { [  0, 1], [  1, 0 ],
2252                                        [330, 0], [331, 1],
2253                                        [330, 2], [  1, 2] } };
2254     solid "Ridge" {
2255         shape=  "RIDGE";
2256         top=    48;
2257         left=   18;
2258     };
2259
2260     shape "LEDS" { cornerRadius= 1, { [ 75 ,21 ] } };
2261     shape "LED"  { cornerRadius= 0, { [  7,  4 ] } };
2262     outline "LedPanel" {
2263         shape= "LEDS";
2264         top=  28;
2265         left= 358;
2266     };
2267     indicator.onColor= "green";
2268     indicator.offColor= "green30";
2269     indicator.top= 43;
2270     indicator.shape= "LED";
2271     indicator "Caps Lock"       { left= 364; };
2272     indicator "Compose"         { left= 383; };
2273     indicator "Scroll Lock"     { left= 402; };
2274     indicator "Num Lock"        { left= 421; };
2275     text.top= 32;
2276     text.color= "black";
2277     text "CapsLockLabel"        { left= 364; text="Caps\nLock"; };
2278     text "ComposeLabel"         { left= 380; text="\nCompose"; };
2279     text "ScrollLockLabel"      { left= 402; text="Scroll\nLock"; };
2280     text "NumLockLabel"         { left= 421; text="Num\nLock"; };
2281 };
2282
2283 xkb_geometry "t6" {
2284
2285     // This is an approximate layout for a (US/ASCII) Sun Type6
2286     // keyboard.  I just took a similar layout (101 key PC keyboard)
2287     // and adjusted the sizes.
2288
2289     width= 515;
2290     height= 170;
2291
2292     shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
2293     shape.cornerRadius= 1;
2294     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
2295     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
2296     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
2297     shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
2298     shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
2299     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
2300     shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
2301     shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
2302     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
2303     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
2304     shape "SPCE" { { [136,18] }, { [2,1], [134,17] } };
2305     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
2306     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
2307     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
2308     shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } };
2309     shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } };
2310     shape "LOGO" { { [ 16,16] } };
2311
2312     outline "Edges" {
2313         top= 0;
2314         left= 0;
2315         shape= "EDGE";
2316     };
2317
2318     section.left= 14;
2319     row.left= 1;
2320     key.shape= "NORM";
2321     key.gap=  1;
2322     section "Function" {
2323         top= 24;
2324         row {
2325             top= 1;
2326             keys { { <HELP>, "HELP" }, { <ESC>, 9 },
2327                    { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
2328                    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
2329                    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
2330                    { <PRSC>,  9 }, <SCLK>, <PAUS>,
2331                    { <MUTE>,  9 }, <VOL->, <VOL+>, <POWR>
2332             };
2333         };
2334     }; // End of "Function" section
2335
2336     section "Alpha" {
2337         top= 61;
2338         row {
2339             top= 1;
2340             keys { <STOP>, <AGAI>,
2341                  { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
2342                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
2343                    <AE10>, <AE11>, <AE12>,
2344                  { <BKSP>, "BKSP", color="grey20" }
2345             };
2346         };
2347         row {
2348             top= 20;
2349             keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
2350                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
2351                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
2352                    <AD11>, <AD12>,
2353                  { <BKSL>, "BKSL" }
2354             };
2355         };
2356         row {
2357             top= 39;
2358             keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
2359                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
2360                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
2361                    <AC11>,
2362                  { <RTRN>, "RTRN" }
2363             };
2364         };
2365         row {
2366             top= 58;
2367             keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, 
2368                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
2369                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
2370                  { <RTSH>, "RTSH", color="grey20" }
2371             };
2372         };
2373         row {
2374             top= 77;
2375             keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
2376                    <LALT>, { <LMTA>, "LMTA" },
2377                  { <SPCE>, "SPCE" },
2378                  { <RMTA>, "RMTA" }, <COMP>, <ALGR>
2379             };
2380         };
2381     }; // End of "Alpha" section
2382
2383     section "Editing" {
2384         top= 61;
2385         left= 352;
2386         row {
2387             top= 1;
2388             keys { <INS>, <HOME>, <PGUP> };
2389         };
2390         row {
2391             top= 20;
2392             keys { <DELE>, <END>, <PGDN> };
2393         };
2394         row {
2395             top= 58;
2396             left= 20;
2397             keys { <UP> };
2398         };
2399         row {
2400             top= 77;
2401             keys { <LEFT>, <DOWN>, <RGHT> };
2402         };
2403     }; // End of "Editing" section
2404
2405     section "Keypad" {
2406         top= 61;
2407         left= 420;
2408         row {
2409             top= 1;
2410             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
2411         };
2412         row {
2413             top= 20;
2414             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
2415         };
2416         row {
2417             top= 39;
2418             keys { <KP4>, <KP5>, <KP6> };
2419         };
2420         row {
2421             top= 58;
2422             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
2423         };
2424         row {
2425             top= 77;
2426             keys { { <KP0>, "KP0" }, <KPDL> };
2427         };
2428     }; // End of "Keypad" section
2429
2430     shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
2431     shape "LED"  { cornerRadius= 2, { [  3,  6 ] } };
2432     solid "LedPanel" {
2433         shape= "LEDS";
2434         top=  1;
2435         left= 218;
2436     };
2437     indicator.onColor= "green";
2438     indicator.offColor= "green30";
2439     indicator.top= 10;
2440     indicator.shape= "LED";
2441     indicator "CapsLock"        { left= 243; };
2442     indicator "Compose" { left= 281; };
2443     indicator "ScrollLock"      { left= 262; };
2444     indicator "NumLock" { left= 224; };
2445     text.top= 1;
2446     text.color= "black";
2447     text "CapsLockLabel"        { left= 243; text="Caps\nLock"; };
2448     text "ComposeLabel"         { left= 281; text="Compose"; };
2449     text "ScrollLockLabel"      { left= 262; text="Scroll\nLock"; };
2450     text "NumLockLabel"         { left= 224; text="Num\nLock"; };
2451
2452
2453 };
2454
2455 xkb_geometry "t6tuv" {
2456
2457     // This is an approximate layout for a (US/ASCII) Sun Type6
2458     // keyboard.  I just took a similar layout (101 key PC keyboard)
2459     // and adjusted the sizes.
2460
2461     width= 515;
2462     height= 170;
2463
2464     shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
2465     shape.cornerRadius= 1;
2466     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } }; 
2467     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
2468     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
2469     shape "RTRN" { 
2470         approx = { [ 0, 0], [28,37] },
2471         { [ 0, 0], [28, 0], [28,37],
2472           [ 5,37], [ 5,18], [ 0,18] },
2473         { [ 1, 1], [26, 1], [26,36],
2474           [ 7,36], [ 7,17], [ 1,17] }
2475     };
2476     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
2477     shape "LFSH" { { [ 24,18] }, { [2,1], [22,17] } };
2478     shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
2479     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
2480     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
2481     shape "SPCE" { { [137,18] }, { [2,1], [135,17] } };
2482     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
2483     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
2484     shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } };
2485     shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } };
2486     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
2487     shape "LOGO" { { [ 16,16] } };
2488
2489     outline "Edges" {
2490         top= 0;
2491         left= 0;
2492         shape= "EDGE";
2493     };
2494
2495     section.left= 14;
2496     row.left= 1;
2497     key.shape= "NORM";
2498     key.gap=  1;
2499     section "Function" {
2500         top= 24;
2501         row {
2502             top= 1;
2503             keys { { <HELP>, "HELP" }, { <ESC>, 9 },
2504                    { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
2505                    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
2506                    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
2507                    { <PRSC>,  9 }, <SCLK>, <PAUS>,
2508                    { <MUTE>,  9 }, <VOL->, <VOL+>, <POWR>
2509             };
2510         };
2511     }; // End of "Function" section
2512
2513     section "Alpha" {
2514         top= 61;
2515         row {
2516             top= 1;
2517             keys { <STOP>, <AGAI>,
2518                  { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
2519                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
2520                    <AE10>, <AE11>, <AE12>,
2521                  { <BKSP>, "BKSP", color="grey20" }
2522             };
2523         };
2524         row {
2525             top= 20;
2526             keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
2527                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
2528                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
2529                    <AD11>, <AD12>, 
2530                    { <RTRN>, "RTRN" }
2531             };
2532         };
2533         row {
2534             top= 39;
2535             keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
2536                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
2537                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
2538                    <AC11>, <BKSL>
2539             };
2540         };
2541         row {
2542             top= 58;
2543             keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, <LSGT>, 
2544                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
2545                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
2546                  { <RTSH>, "RTSH", color="grey20" }
2547             };
2548         };
2549         row {
2550             top= 77;
2551             keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
2552                    <LALT>, { <LMTA>, "LMTA" },
2553                  { <SPCE>, "SPCE" },
2554                  { <RMTA>, "RMTA" }, <COMP>, <ALGR>
2555             };
2556         };
2557     }; // End of "Alpha" section
2558
2559     section "Editing" {
2560         top= 61;
2561         left= 352;
2562         row {
2563             top= 1;
2564             keys { <INS>, <HOME>, <PGUP> };
2565         };
2566         row {
2567             top= 20;
2568             keys { <DELE>, <END>, <PGDN> };
2569         };
2570         row {
2571             top= 58;
2572             left= 20;
2573             keys { <UP> };
2574         };
2575         row {
2576             top= 77;
2577             keys { <LEFT>, <DOWN>, <RGHT> };
2578         };
2579     }; // End of "Editing" section
2580
2581     section "Keypad" {
2582         top= 61;
2583         left= 420;
2584         row {
2585             top= 1;
2586             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
2587         };
2588         row {
2589             top= 20;
2590             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
2591         };
2592         row {
2593             top= 39;
2594             keys { <KP4>, <KP5>, <KP6> };
2595         };
2596         row {
2597             top= 58;
2598             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
2599         };
2600         row {
2601             top= 77;
2602             keys { { <KP0>, "KP0" }, <KPDL> };
2603         };
2604     }; // End of "Keypad" section
2605
2606     shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
2607     shape "LED"  { cornerRadius= 2, { [  3,  6 ] } };
2608     solid "LedPanel" {
2609         shape= "LEDS";
2610         top=  1;
2611         left= 218;
2612     };
2613     indicator.onColor= "green";
2614     indicator.offColor= "green30";
2615     indicator.top= 10;
2616     indicator.shape= "LED";
2617     indicator "CapsLock"        { left= 243; };
2618     indicator "Compose" { left= 281; };
2619     indicator "ScrollLock"      { left= 262; };
2620     indicator "NumLock" { left= 224; };
2621     text.top= 1;
2622     text.color= "black";
2623     text "CapsLockLabel"        { left= 243; text="Caps\nLock"; };
2624     text "ComposeLabel"         { left= 281; text="Compose"; };
2625     text "ScrollLockLabel"      { left= 262; text="Scroll\nLock"; };
2626     text "NumLockLabel"         { left= 224; text="Num\nLock"; };
2627
2628 };
2629
2630 xkb_geometry "t6jp" {
2631
2632     // This is an approximate layout for a (US/ASCII) Sun Type6
2633     // keyboard.  I just took a similar layout (101 key PC keyboard)
2634     // and adjusted the sizes.
2635
2636     width= 515;
2637     height= 170;
2638
2639     shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
2640     shape.cornerRadius= 1;
2641     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
2642     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
2643     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
2644     shape "KANJ" { { [ 27,18] }, { [2,1], [25,17] } };
2645     shape "EXEC" { { [ 27,18] }, { [2,1], [25,17] } };
2646     shape "RTRN" { 
2647         approx = { [ 0, 0], [28,37] },
2648         { [ 0, 0], [28, 0], [28,37],
2649           [ 5,37], [ 5,18], [ 0,18] },
2650         { [ 1, 1], [26, 1], [26,36],
2651           [ 7,36], [ 7,17], [ 1,17] }
2652     };
2653     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
2654     shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
2655     shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } };
2656     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
2657     shape "SPCE" { { [ 96,18] }, { [2,1], [94,17] } };
2658     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
2659     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
2660     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
2661     shape "LOGO" { { [ 16,16] } };
2662
2663     outline "Edges" {
2664         top= 0;
2665         left= 0;
2666         shape= "EDGE";
2667     };
2668
2669     section.left= 14;
2670     row.left= 1;
2671     key.shape= "NORM";
2672     key.gap=  1;
2673     section "Function" {
2674         top= 24;
2675         row {
2676             top= 1;
2677             keys { { <HELP>, "HELP" }, { <ESC>, 9 },
2678                    { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
2679                    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
2680                    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
2681                    { <PRSC>,  9 }, <SCLK>, <PAUS>,
2682                    { <MUTE>,  9 }, <VOL->, <VOL+>, <POWR>
2683             };
2684         };
2685     }; // End of "Function" section
2686
2687     section "Alpha" {
2688         top= 61;
2689         row {
2690             top= 1;
2691             keys { <STOP>, <AGAI>,
2692                  { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
2693                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
2694                    <AE10>, <AE11>, <AE12>,
2695                  { <BKSP>, "BKSP", color="grey20" }
2696             };
2697         };
2698         row {
2699             top= 20;
2700             keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
2701                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
2702                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
2703                    <AD11>, <AD12>, 
2704                    { <RTRN>, "RTRN" }
2705             };
2706         };
2707         row {
2708             top= 39;
2709             keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
2710                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
2711                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
2712                    <AC11>, <BKSL>
2713             };
2714         };
2715         row {
2716             top= 58;
2717             keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, 
2718                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
2719                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <UNDR>,
2720                  { <RTSH>, "RTSH", color="grey20" }
2721             };
2722         };
2723         row {
2724             top= 77;
2725             keys { <FIND>, <CUT>, { <LCTL>, 9 },
2726                    <LALT>, <LMTA>, { <EXEC>, "EXEC" },
2727                  { <SPCE>, "SPCE" }, { <KANJ>, "KANJ" }, <HENK>,
2728                    <RMTA>, <COMP>, <ALGR>
2729             };
2730         };
2731     }; // End of "Alpha" section
2732
2733     section "Editing" {
2734         top= 61;
2735         left= 352;
2736         row {
2737             top= 1;
2738             keys { <INS>, <HOME>, <PGUP> };
2739         };
2740         row {
2741             top= 20;
2742             keys { <DELE>, <END>, <PGDN> };
2743         };
2744         row {
2745             top= 58;
2746             left= 20;
2747             keys { <UP> };
2748         };
2749         row {
2750             top= 77;
2751             keys { <LEFT>, <DOWN>, <RGHT> };
2752         };
2753     }; // End of "Editing" section
2754
2755     section "Keypad" {
2756         top= 61;
2757         left= 420;
2758         row {
2759             top= 1;
2760             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
2761         };
2762         row {
2763             top= 20;
2764             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
2765         };
2766         row {
2767             top= 39;
2768             keys { <KP4>, <KP5>, <KP6> };
2769         };
2770         row {
2771             top= 58;
2772             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
2773         };
2774         row {
2775             top= 77;
2776             keys { { <KP0>, "KP0" }, <KPDL> };
2777         };
2778     }; // End of "Keypad" section
2779
2780     shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
2781     shape "LED"  { cornerRadius= 2, { [  3,  6 ] } };
2782     solid "LedPanel" {
2783         shape= "LEDS";
2784         top=  1;
2785         left= 218;
2786     };
2787     indicator.onColor= "green";
2788     indicator.offColor= "green30";
2789     indicator.top= 10;
2790     indicator.shape= "LED";
2791     indicator "CapsLock"        { left= 243; };
2792     indicator "Compose" { left= 281; };
2793     indicator "ScrollLock"      { left= 262; };
2794     indicator "NumLock" { left= 224; };
2795     text.top= 1;
2796     text.color= "black";
2797     text "CapsLockLabel"        { left= 243; text="Caps\nLock"; };
2798     text "ComposeLabel"         { left= 281; text="Compose"; };
2799     text "ScrollLockLabel"      { left= 262; text="Scroll\nLock"; };
2800     text "NumLockLabel"         { left= 224; text="Num\nLock"; };
2801
2802 };
2803
2804 xkb_geometry "t6unix" {
2805
2806     // This is an approximate layout for a (US/ASCII) Sun Type6
2807     // keyboard.  I just took a similar layout (101 key PC keyboard)
2808     // and adjusted the sizes.
2809
2810     width= 515;
2811     height= 170;
2812
2813     shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
2814     shape.cornerRadius= 1;
2815     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
2816     shape "BKSP" { { [ 28,18] }, { [2,1], [26,17] } };
2817     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
2818     shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
2819     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
2820     shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
2821     shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
2822     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
2823     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
2824     shape "SPCE" { { [136,18] }, { [2,1], [134,17] } };
2825     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
2826     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
2827     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
2828     shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } };
2829     shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } };
2830     shape "LOGO" { { [ 16,16] } };
2831
2832     outline "Edges" {
2833         top= 0;
2834         left= 0;
2835         shape= "EDGE";
2836     };
2837
2838     section.left= 14;
2839     row.left= 1;
2840     key.shape= "NORM";
2841     key.gap=  1;
2842     section "Function" {
2843         top= 24;
2844         row {
2845             top= 1;
2846             keys { { <HELP>, "HELP" }, { <NONE>, 9 },
2847                    { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
2848                    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
2849                    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
2850                    { <PRSC>,  9 }, <SCLK>, <PAUS>,
2851                    { <MUTE>,  9 }, <VOL->, <VOL+>, <POWR>
2852             };
2853         };
2854     }; // End of "Function" section
2855
2856     section "Alpha" {
2857         top= 61;
2858         row {
2859             top= 1;
2860             keys { <STOP>, <AGAI>,
2861                  { <ESC>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
2862                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
2863                    <AE10>, <AE11>, <AE12>,
2864                    <BKSL>, <TLDE>
2865             };
2866         };
2867         row {
2868             top= 20;
2869             keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
2870                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
2871                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
2872                    <AD11>, <AD12>,
2873                  { <BKSP>, "BKSP", color="grey20" }
2874             };
2875         };
2876         row {
2877             top= 39;
2878             keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
2879                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
2880                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
2881                    <AC11>,
2882                  { <RTRN>, "RTRN" }
2883             };
2884         };
2885         row {
2886             top= 58;
2887             keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, 
2888                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
2889                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
2890                  { <RTSH>, "RTSH", color="grey20" }
2891             };
2892         };
2893         row {
2894             top= 77;
2895             keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
2896                    <LALT>, {<LMTA>, "LMTA"},
2897                  { <SPCE>, "SPCE" },
2898                    {<RMTA>, "RMTA"}, <COMP>, <ALGR>
2899             };
2900         };
2901     }; // End of "Alpha" section
2902
2903     section "Editing" {
2904         top= 61;
2905         left= 352;
2906         row {
2907             top= 1;
2908             keys { <INS>, <HOME>, <PGUP> };
2909         };
2910         row {
2911             top= 20;
2912             keys { <DELE>, <END>, <PGDN> };
2913         };
2914         row {
2915             top= 58;
2916             left= 20;
2917             keys { <UP> };
2918         };
2919         row {
2920             top= 77;
2921             keys { <LEFT>, <DOWN>, <RGHT> };
2922         };
2923     }; // End of "Editing" section
2924
2925     section "Keypad" {
2926         top= 61;
2927         left= 420;
2928         row {
2929             top= 1;
2930             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
2931         };
2932         row {
2933             top= 20;
2934             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
2935         };
2936         row {
2937             top= 39;
2938             keys { <KP4>, <KP5>, <KP6> };
2939         };
2940         row {
2941             top= 58;
2942             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
2943         };
2944         row {
2945             top= 77;
2946             keys { { <KP0>, "KP0" }, <KPDL> };
2947         };
2948     }; // End of "Keypad" section
2949
2950     shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
2951     shape "LED"  { cornerRadius= 2, { [  3,  6 ] } };
2952     solid "LedPanel" {
2953         shape= "LEDS";
2954         top=  1;
2955         left= 218;
2956     };
2957     indicator.onColor= "green";
2958     indicator.offColor= "green30";
2959     indicator.top= 10;
2960     indicator.shape= "LED";
2961     indicator "CapsLock"        { left= 243; };
2962     indicator "Compose" { left= 281; };
2963     indicator "ScrollLock"      { left= 262; };
2964     indicator "NumLock" { left= 224; };
2965     text.top= 1;
2966     text.color= "black";
2967     text "CapsLockLabel"        { left= 243; text="Caps\nLock"; };
2968     text "ComposeLabel"         { left= 281; text="Compose"; };
2969     text "ScrollLockLabel"      { left= 262; text="Scroll\nLock"; };
2970     text "NumLockLabel"         { left= 224; text="Num\nLock"; };
2971 };
2972
2973 xkb_geometry "type5" {
2974     include "sun(t5)"
2975     description= "Sun Type5 keyboard";
2976 };
2977
2978 xkb_geometry "type5jp" {
2979     include "sun(t5jp)"
2980     description= "Sun Type5 Japanese keyboard";
2981 };
2982
2983 xkb_geometry "type5tuv" {
2984     include "sun(t5tuv)"
2985     description= "Sun Type5 keyboard";
2986 };
2987
2988 xkb_geometry "type5euro" {
2989     include "sun(t5tuv)"
2990     description= "Sun Type5 keyboard";
2991 };
2992
2993 xkb_geometry "type5unix" {
2994     include "sun(t5unix)"
2995     description= "Sun Type5 Unix keyboard";
2996 };
2997
2998 xkb_geometry "type5hobo" {
2999     include "sun(t5hobo)"
3000     description= "Sun Type5 Hobo keyboard";
3001 };
3002
3003 xkb_geometry "type5tuvhobo" {
3004     include "sun(t5tuvhobo)"
3005     description= "Sun Type5 Hobo keyboard";
3006 };
3007
3008 xkb_geometry "type5jphobo" {
3009     include "sun(t5jphobo)"
3010     description= "Sun Type5 Japanese Hobo keyboard";
3011 };
3012
3013 default xkb_geometry "type6" {
3014     include "sun(t6)"
3015     description= "Sun Type6 keyboard (US, Korea, Taiwan)";
3016 };
3017
3018 xkb_geometry "type6jp" {
3019     include "sun(t6jp)"
3020     description= "Sun Type6 Japanese keyboard";
3021 };
3022
3023 xkb_geometry "type6tuv" {
3024     include "sun(t6tuv)"
3025     description= "Sun Type6 TUV keyboard";
3026 };
3027
3028 xkb_geometry "type6unix" {
3029     include "sun(t6unix)"
3030     description= "Sun Type6 Unix keyboard";
3031 };
3032
3033 xkb_geometry "x86" {
3034     include "pc(pc101)"
3035     description= "x86 Style Keyboard";
3036 };
3037
3038 xkb_geometry "MS_x86" {
3039     include "pc(pc104)"
3040     description= "x86 104 Key Keyboard";
3041 };
3042
3043 xkb_geometry "x86tuv" {
3044     include "pc(pc102)"
3045     description= "x86 European Style Keyboard";
3046 };