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