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