macintosh revision c067fea9
1// $XFree86: xc/programs/xkbcomp/geometry/macintosh,v 1.3 2003/08/09 14:30:47 pascal Exp $
2//
3// Some modifications (<eqdar@castalie.org>) :
4// - Added a <LSGT> key
5// - Fixed the shape of the <RTRN> key
6// - Moved <BKSL> to the 'AC' row
7// - Added a special Macintosh sysctl key
8// - Minor changes (Function keys shape, LED position...)
9
10// Minor changes
11// - Mail address above is no longer valid
12// - Changed {L,R}MTA to {L,R}WIN, which are defined
13// 2005/10 -- Simon Vallet <svallet@gmail.com>
14
15default xkb_geometry "macintosh" {
16
17    description= "Apple Extended Keyboard II";
18    width = 475;
19    height = 194;
20
21    shape.cornerRadius= 1;
22    shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
23    shape "TLDE" { { [ 23,18] }, { [2,1], [ 21,17] } };
24    shape "BKSP" { { [ 33,18] }, { [2,1], [ 31,17] } };
25    shape "TAB"  { { [ 33,18] }, { [2,1], [ 31,17] } };
26    shape "RTRN" { 
27        { [0,0],[23,0],[23,37],[4,37],[4,18],[0,18] }, 
28        { [2,1],[21,1],[21,36],[6,36],[6,17],[2,17] } };
29    shape "CAPS" { { [ 37,18] }, { [2,1], [ 35,17] } };
30    shape "LCTL" { { [ 28,18] }, { [2,1], [ 26,17] } };
31    shape "LALT" { { [ 22,18] }, { [2,1], [ 20,17] } };
32    shape "LMTA" { { [ 28,18] }, { [2,1], [ 26,17] } };
33    shape "LFSH" { { [ 28,18] }, { [2,1], [ 26,17] } };
34    shape "RCTL" { { [ 28,18] }, { [2,1], [ 26,17] } };
35    shape "RALT" { { [ 22,18] }, { [2,1], [ 20,17] } };
36    shape "RMTA" { { [ 28,18] }, { [2,1], [ 26,17] } };
37    shape "RTSH" { { [ 47,18] }, { [2,1], [ 45,17] } };
38    shape "SPCE" { { [123,18] }, { [2,1], [121,17] } };
39    shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,17] } };
40    shape "KPEN" { { [ 18,37] }, { [2,1], [ 16,36] } };
41    // Macintosh keyboards have a special sysctl key at the top right
42    shape "AAPL" { 
43        { [ 0,0], [ 18,0], [ 18,18], [ 0,18] },
44        { [ 1,1], [ 17,1], [ 17,17], [ 1,17] },
45        { [ 8,5], [ 8,12], [  2,9] } };
46
47    shape "LEDS" { cornerRadius = 0, { [ 55,19] } };
48    shape "LED"  { cornerRadius = 0, { [  8, 2] } };
49
50    solid "LedPanel" {
51	shape= "LEDS";
52        top = 48;
53        left = 378;
54    };
55
56    indicator.onColor= "green";
57    indicator.offColor= "green30";
58    indicator.top = 50;
59    indicator.shape= "LED";
60    indicator "NumLock"    { left = 381; };
61    indicator "CapsLock"   { left = 398; };
62    indicator "ScrollLock" { left = 415; };
63    text.top= 55;
64    text.color= "black";
65    text "NumLockLabel"    { left = 381; text = "Num\nLock";    };
66    text "CapsLockLabel"   { left = 398; text = "Caps\nLock";   };
67    text "ScrollLockLabel" { left = 415; text = "Scroll\nLock"; };
68
69    section.left= 19;
70    row.left= 1;
71    key.shape= "NORM";
72    key.gap=  1;
73
74    section "Function" {
75        top = 48;
76	row {
77	    top= 1;
78            keys { <ESC>, 
79                   { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
80                   { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
81                   { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
82                   { <PRSC>, 10 }, <SCLK>, <PAUS>,
83                   // This is the sysctl key on macintosh keyboards
84                   // keycode is 222 with a 4.21 kernel, which is <I5E>
85                   { <I5E>, "AAPL", 67 }
86	    };
87	};
88    }; // End of "Function" section
89
90    section "Alpha" {
91        top = 87;
92	row {
93	    top= 1;
94            keys { { <TLDE>, "TLDE" }, <AE01>, <AE02>, <AE03>,
95                   <AE04>, <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
96		   <AE10>, <AE11>, <AE12>, { <BKSP>, "BKSP" }
97	    };
98	};
99	row {
100	    top= 20;
101	    keys { { <TAB>, "TAB" },  <AD01>, <AD02>, <AD03>,
102                   <AD04>, <AD05>, <AD06>, <AD07>, <AD08>, <AD09>,
103                   <AD10>, <AD11>, <AD12>, { <RTRN>, "RTRN" }
104	    };
105	};
106	row {
107	    top= 39;
108	    keys { { <CAPS>, "CAPS" }, <AC01>, <AC02>, <AC03>,
109                   <AC04>, <AC05>, <AC06>, <AC07>, <AC08>, <AC09>,
110                   <AC10>, <AC11>, <BKSL>
111	    };
112	};
113	row {
114	    top= 58;
115            keys { { <LFSH>, "LFSH" }, <LSGT>, <AB01>, <AB02>,
116                   <AB03>, <AB04>, <AB05>, <AB06>, <AB07>, <AB08>,
117                   <AB09>, <AB10>, { <RTSH>, "RTSH" }
118	    };
119	};
120	row {
121	    top= 77;
122	    keys { { <LCTL>, "LCTL" }, { <LALT>, "LALT" },
123                   { <LWIN>, "LMTA" },
124                   { <SPCE>, "SPCE" }, 
125                   { <RWIN>, "RMTA" },
126	           { <RALT>, "RALT" }, { <RCTL>, "RCTL" }
127	    };
128	};
129    }; // End of "Alpha" section
130
131    section "Editing" {
132        top = 87;
133        left = 314;
134	row {
135	    top= 1;
136	    keys { <INS>, <HOME>, <PGUP> };
137	};
138        row {
139	    top= 20;
140	    keys { <DELE>, <END>, <PGDN> };
141	};
142	row {
143	    top= 58;
144	    left= 20;
145	    keys { <UP> };
146	};
147	row {
148	    top= 77;
149	    keys { <LEFT>, <DOWN>, <RGHT> };
150	};
151    }; // End of "Editing" section
152
153    // Begin of "Keypad" section
154    section "Keypad" {
155        top = 87;
156        left = 380;
157	row {
158	    top= 1;
159            keys { <NMLK>, <KPEQ>, <KPDV>, <KPMU> };
160	};
161	row {
162	    top= 20;
163	    keys { <KP7>, <KP8>, <KP9>, <KPSU> };
164	};
165	row {
166	    top= 39;
167	    keys { <KP4>, <KP5>, <KP6>, <KPAD> };
168	};
169	row {
170	    top= 58;
171	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN" } };
172	};
173	row {
174	    top= 77;
175	    keys { { <KP0>, "KP0" },  <KPDL> };
176	};
177    }; // End of "Keypad" section
178
179}; // End of "default" geometry
180
181
182// This section describes the geometry of the "Apple Pro" keyboard
183// included with NewWorld desktop machines
184//
185// It adds four new keysyms, labeled SDDN, SDUP, SDNO, EJCT.
186//
187// 2005/10 -- Simon Vallet <svallet@gmail.com>
188
189xkb_geometry "applepro" {
190
191    description= "Apple Pro Keyboard";
192    width = 455;
193    height = 150;
194
195    shape.cornerRadius= 1;
196    shape "NORM" { { [ 18, 18] }, { [2, 1], [ 16, 15] } };
197    shape "FUNC" { { [ 18, 21] }, { [2, 1], [ 16, 16] } };
198    shape "BKSP" { { [ 38, 18] }, { [2, 1], [ 36, 15] } };
199    shape "TAB"  { { [ 29, 18] }, { [2, 1], [ 26, 15] } };
200    shape "LFSH" { { [ 28, 18] }, { [2, 1], [ 26, 15] } };
201    shape "RTSH" { { [ 47, 18] }, { [2, 1], [ 45, 15] } };
202
203    shape "RTRN" {
204        { [0,0],[27,0],[27,37],[4,37],[4,18],[0,18] }, 
205        { [2,1],[25,1],[25,34],[6,34],[6,15],[2,15] } };
206
207    shape "CAPS" { { [ 32, 18] }, { [2, 1], [ 26, 15] } };
208    shape "LCTL" { { [ 28, 20] }, { [2, 1], [ 26, 17] } };
209    shape "RCTL" { { [ 28, 20] }, { [2, 1], [ 26, 17] } };
210    shape "LALT" { { [ 23, 20] }, { [2, 1], [ 21, 17] } };
211    shape "RALT" { { [ 23, 20] }, { [2, 1], [ 21, 17] } };
212    shape "LMTA" { { [ 28, 20] }, { [2, 1], [ 26, 17] } };
213    shape "RMTA" { { [ 28, 20] }, { [2, 1], [ 26, 17] } };
214    shape "SPCE" { { [121, 20] }, { [3, 1], [118, 17] } };
215    shape "BOTM" { { [ 18, 20] }, { [2, 1], [ 16, 17] } }; 
216
217    shape "KP0"  { { [ 37, 20] }, { [2, 1], [ 35, 17] } };
218    shape "KPEN" { { [ 18, 39] }, { [2, 1], [ 16, 36] } };
219
220    section.left = 7;
221    row.left = 1;
222    key.gap =  1;
223    key.shape = "NORM";
224
225    section "Function" {
226       key.shape = "FUNC";
227        top = 26;
228       row {
229           top= 1;
230            keys { <ESC>, 
231                   { <FK01>, 14 }, <FK02>, <FK03>, <FK04>,
232                   { <FK05>, 14 }, <FK06>, <FK07>, <FK08>,
233                   { <FK09>, 14 }, <FK10>, <FK11>, <FK12>,
234                   { <PRSC>, 11 }, <SCLK>, <PAUS>,
235                  { <SDDN>, 11 }, <SDUP>, <SDNO>, <EJCT>
236            };
237       };
238    }; // End of "Function" section
239
240
241    section "Alpha" {
242        top = 48;
243       row {
244           top= 1;
245            keys { <TLDE>, <AE01>, <AE02>, <AE03>,
246                   <AE04>, <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
247                  <AE10>, <AE11>, <AE12>, { <BKSP>, "BKSP" }
248           };
249       };
250       row {
251           top= 20;
252           keys { { <TAB>, "TAB" },  <AD01>, <AD02>, <AD03>,
253                   <AD04>, <AD05>, <AD06>, <AD07>, <AD08>, <AD09>,
254                   <AD10>, <AD11>, <AD12>, { <RTRN>, "RTRN" }
255           };
256       };
257       row {
258           top= 39;
259           keys { { <CAPS>, "CAPS" }, <AC01>, <AC02>, <AC03>,
260                   <AC04>, <AC05>, <AC06>, <AC07>, <AC08>, <AC09>,
261                   <AC10>, <AC11>, <BKSL>
262           };
263       };
264       row {
265           top= 58;
266           keys { { <LFSH>, "LFSH" }, <LSGT>, <AB01>, <AB02>,
267                   <AB03>, <AB04>, <AB05>, <AB06>, <AB07>, <AB08>,
268                   <AB09>, <AB10>, { <RTSH>, "RTSH" }
269           };
270       };
271       row {
272           top= 77;
273           keys { { <LCTL>, "LCTL" }, { <LALT>, "LALT" },
274                       { <LWIN>, "LMTA" },
275                       { <SPCE>, "SPCE" }, 
276                       { <RWIN>, "RMTA" },
277                       { <RALT>, "RALT" }, { <RCTL>, "RCTL" }
278           };
279       };
280    }; // End of "Alpha" section
281
282    section "Editing" {
283        top = 48;
284        left = 303;
285       row {
286           top= 1;
287           keys { <INS>, <HOME>, <PGUP> };
288       };
289        row {
290           top= 20;
291           keys { <DELE>, <END>, <PGDN> };
292       };
293       row {
294           top= 58;
295           left= 20;
296           keys { <UP> };
297       };
298       row {
299           top= 77;
300           key.shape = "BOTM";
301           keys { <LEFT>, <DOWN>, <RGHT> };
302       };
303    }; // End of "Editing" section
304
305    // Begin of "Keypad" section
306    section "Keypad" {
307        top = 48;
308        left = 370;
309       row {
310           top= 1;
311            keys { <NMLK>, <KPEQ>, <KPDV>, <KPMU> };
312       };
313       row {
314           top= 20;
315           keys { <KP7>, <KP8>, <KP9>, <KPSU> };
316       };
317       row {
318           top= 39;
319           keys { <KP4>, <KP5>, <KP6>, <KPAD> };
320       };
321       row {
322           top= 58;
323           keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN" } };
324       };
325       row {
326           top= 77;
327           keys { { <KP0>, "KP0" },  { <KPDL>, "BOTM" } };
328       };
329    }; // End of "Keypad" section
330
331}; // End of "applepro" geometry
332
333xkb_geometry "macbook78" {
334
335    description= "Apple Laptop 78-key (US)";
336    width= 273;
337    height= 110;
338
339    shape.cornerRadius= 0;
340    shape "ESC"  { { [ 21,9] }, cornerRadius=1, { [0,1], [ 19,8] } };
341    shape "FUNC" { { [ 18,9] }, cornerRadius=1, { [2,1], [ 16,8] } };
342    shape "EJCT" { { [ 20,9] }, cornerRadius=1, { [2,1], [ 20,8] } };
343    shape "DEGR" { { [ 16,18] }, cornerRadius=1, { [0,2], [ 14,16] } };
344    shape "NORM" { { [ 18,18] }, cornerRadius=1, { [2,2], [ 16,16] } };
345    shape "BKSP" { { [ 25,18] }, cornerRadius=1, { [2,2], [ 25,16] } };
346    shape "TABK" { { [ 24,18] }, cornerRadius=1, { [0,2], [ 22,16] } };
347    shape "BKSL" { { [ 17,18] }, cornerRadius=1, { [2,2], [17,16] } };
348    shape "RTRN" { { [ 31,18] }, cornerRadius=1, { [2,2], [31,16] } };
349    shape "CAPS" { { [ 29,18] }, cornerRadius=1, { [0,2], [ 27,16] } };
350    shape "LFSH" { { [ 40,18] }, cornerRadius=1, { [0,2], [ 38,16] } };
351    shape "RTSH" { { [ 39,18] }, cornerRadius=1, { [2,2], [ 39,16] } };
352    shape "APPL" { { [ 23,18] }, cornerRadius=1, { [2,2], [ 21,16] } };
353    shape "SPCE" { { [ 94,18] }, cornerRadius=1, { [2,2], [ 92,16] } };
354    shape "ARRO" { { [ 17,9] }, cornerRadius=1, { [2,1], [ 15,8] } };
355
356    shape "LED"  { cornerRadius= 1, { [  2,  2 ] } };
357
358    indicator.onColor= "green";
359    indicator.offColor= "gray";
360    indicator.shape= "LED";
361    indicator "Num Lock"   { top=4; left= 119; };
362    indicator "Caps Lock"  { top=53; left= 4; };
363
364    section.left=0;
365    row.left= 1;
366    key.shape= "FUNC";
367    key.gap= 1;
368    section "Function" {
369	top= 0;
370	row {
371	    top= 1;
372	    keys {  {<ESC>, "ESC" },
373		    <FK01>, <FK02>, <FK03>, <FK04>,
374		    <FK05>, <FK06>, <FK07>, <FK08>,
375		    <FK09>, <FK10>, <FK11>, <FK12>,
376                    {<K6C>, "EJCT" }
377	    };
378	};
379    }; // End of "Function" section
380
381    key.shape= "NORM";
382    section "Alpha" {
383	top= 10;
384	row {
385	    top= 1;
386	    keys { {<TLDE>, "DEGR"},
387                   <AE01>, <AE02>, <AE03>, <AE04>,
388		   <AE05>, <AE06>, <AE07>, <AE08>,
389                   <AE09>, <AE10>, <AE11>, <AE12>,
390		   { <BKSP>, "BKSP" }
391	    };
392	};
393	row {
394	    top= 20;
395	    keys { { <TAB>, "TABK"},
396		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
397		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
398		   <AD11>, <AD12>, 
399                   { <BKSL>, "BKSL" }
400	    };
401	};
402	row {
403	    top= 39;
404	    keys { { <CAPS>, "CAPS" },
405		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
406		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
407		   <AC11>, 
408                   { <RTRN>, "RTRN" }
409	    };
410        };
411	row {
412	    top= 58;
413	    keys { { <LFSH>, "LFSH"},
414		   <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
415		   <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
416		   { <RTSH>, "RTSH" }
417	    };
418	};
419	row {
420	    top= 77;
421	    keys { {<FN>, "DEGR"}, 
422                   <LCTL>, <LALT>, 
423                   {<LMTA>, "APPL"},
424                   {<SPCE>, "SPCE" }, 
425                   {<RMTA>, "APPL"},
426                   <KPEN>
427	    };
428	};
429
430    }; // End of "Alpha" section
431
432    key.shape= "ARRO";
433    section "Editing" {
434        top = 86;
435        left = 217;
436	row {
437	    top= 1;
438	    left= 19;
439	    keys { <UP> };
440	};
441	row {
442	    top= 10;
443	    keys { <LEFT>, <DOWN>, <RGHT> };
444	};
445    }; // End of "Editing" section
446
447    alias <AC00> = <CAPS>;
448    alias <AA00> = <LCTL>;
449
450};
451
452xkb_geometry "macbook79" {
453
454    description= "Apple Laptop 79-key (Intl)";
455    width= 273;
456    height= 110;
457
458    shape.cornerRadius= 0;
459    shape "ESC"  { { [ 21,9] }, cornerRadius=1, { [0,1], [ 19,8] } };
460    shape "FUNC" { { [ 18,9] }, cornerRadius=1, { [2,1], [ 16,8] } };
461    shape "EJCT" { { [ 20,9] }, cornerRadius=1, { [2,1], [ 20,8] } };
462    shape "DEGR" { { [ 16,18] }, cornerRadius=1, { [0,2], [ 14,16] } };
463    shape "NORM" { { [ 18,18] }, cornerRadius=1, { [2,2], [ 16,16] } };
464    shape "BKSP" { { [ 25,18] }, cornerRadius=1, { [2,2], [ 25,16] } };
465    shape "TABK" { { [ 24,18] }, cornerRadius=1, { [0,2], [ 22,16] } };
466    shape "RTRN" { { [ 0,0], [17,0], [17,37], [5,37], [5, 18], [0,18], [0,0] },
467                   cornerRadius=1, 
468	           { [ 2,2], [15,2], [15,35], [7,35], [7, 16], [2,16] } 
469                 };
470    shape "CAPS" { { [ 29,18] }, cornerRadius=1, { [0,2], [ 27,16] } };
471    shape "LFSH" { { [ 21,18] }, cornerRadius=1, { [0,2], [ 19,16] } };
472    shape "RTSH" { { [ 39,18] }, cornerRadius=1, { [2,2], [ 39,16] } };
473    shape "APPL" { { [ 23,18] }, cornerRadius=1, { [2,2], [ 21,16] } };
474    shape "SPCE" { { [ 94,18] }, cornerRadius=1, { [2,2], [ 92,16] } };
475    shape "ARRO" { { [ 17,9] }, cornerRadius=1, { [2,1], [ 15,8] } };
476
477    shape "LED"  { cornerRadius= 1, { [  2,  2 ] } };
478
479    indicator.onColor= "green";
480    indicator.offColor= "gray";
481    indicator.shape= "LED";
482    indicator "Num Lock"   { top=4; left= 119; };
483    indicator "Caps Lock"  { top=53; left= 4; };
484
485    section.left=0;
486    row.left= 1;
487    key.shape= "FUNC";
488    key.gap= 1;
489    section "Function" {
490	top= 0;
491	row {
492	    top= 1;
493	    keys {  {<ESC>, "ESC" },
494		    <FK01>, <FK02>, <FK03>, <FK04>,
495		    <FK05>, <FK06>, <FK07>, <FK08>,
496		    <FK09>, <FK10>, <FK11>, <FK12>,
497                    {<K6C>, "EJCT" }
498	    };
499	};
500    }; // End of "Function" section
501
502    key.shape= "NORM";
503    section "Alpha" {
504	top= 10;
505	row {
506	    top= 1;
507	    keys { {<TLDE>, "DEGR"},
508                   <AE01>, <AE02>, <AE03>, <AE04>,
509		   <AE05>, <AE06>, <AE07>, <AE08>,
510                   <AE09>, <AE10>, <AE11>, <AE12>,
511		   { <BKSP>, "BKSP" }
512	    };
513	};
514	row {
515	    top= 20;
516	    keys { { <TAB>, "TABK"},
517		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
518		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
519		   <AD11>, <AD12>, { <RTRN>, "RTRN" }
520	    };
521	};
522	row {
523	    top= 39;
524	    keys { { <CAPS>, "CAPS" },
525		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
526		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
527		   <AC11>, <BKSL>
528	    };
529        };
530	row {
531	    top= 58;
532	    keys { { <LFSH>, "LFSH"},
533		   <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
534		   <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
535		   { <RTSH>, "RTSH" }
536	    };
537	};
538	row {
539	    top= 77;
540	    keys { {<FN>, "DEGR"}, 
541                   <LCTL>, <LALT>, 
542                   {<LWIN>, "APPL"},
543                   {<SPCE>, "SPCE" }, 
544                   {<RALT>, "APPL"},
545                   <KPEN>
546	    };
547	};
548
549    }; // End of "Alpha" section
550
551    key.shape= "ARRO";
552    section "Editing" {
553        top = 86;
554        left = 217;
555	row {
556	    top= 1;
557	    left= 19;
558	    keys { <UP> };
559	};
560	row {
561	    top= 10;
562	    keys { <LEFT>, <DOWN>, <RGHT> };
563	};
564    }; // End of "Editing" section
565
566    alias <AC00> = <CAPS>;
567    alias <AA00> = <LCTL>;
568
569}; // End of "default" geometry
570
571
572// Aluminium Keyboard, ANSI model (United States, 109 keys)
573xkb_geometry "applealu_ansi" {
574
575    width=       430;
576    height=      113.5;
577
578    baseColor=   "white";
579    labelColor=  "black";
580    xfont=       "-*-helvetica-medium-r-normal--*-80-*-*-*-*-iso8859-1";
581    description= "Aluminium Keyboard (ANSI)";
582
583    shape "NORM" {
584        corner= 1,
585        { [  15.5,  15 ] }
586    };
587    shape "FUNC" {
588        corner= 1,
589        { [  16.1,   9 ] }
590    };
591    shape "FUNS" {
592        corner= 1,
593        { [  15.5,  9 ] }
594    };
595    shape "BKSP" {
596        corner= 1,
597        { [  24.5,  15 ] }
598    };
599    shape "TAB" {
600        corner= 1,
601        { [  24.5,  15 ] }
602    };
603    shape "RTRN" {
604        corner= 1,
605        { [  29.5,  15 ] }
606    };
607    shape "CAPS" {
608        corner= 1,
609        { [  29.5,  15 ] }
610    };
611    shape "LCTL" {
612        corner= 1,
613        { [  25,  18	 ] }
614    };
615    shape "LALT" {
616        corner= 1,
617        { [  20,  18 ] }
618    };
619    shape "LMTA" {
620        corner= 1,
621        { [  25,  18 ] }
622    };
623    shape "LFSH" {
624        corner= 1,
625        { [  39,  15 ] }
626    };
627    shape "RCTL" {
628        corner= 1,
629        { [  25,  18 ] }
630    };
631    shape "RALT" {
632        corner= 1,
633        { [  20,  18 ] }
634    };
635    shape "RMTA" {
636        corner= 1,
637        { [  25,  18 ] }
638    };
639    shape "RTSH" {
640        corner= 1,
641        { [  39,  15 ] }
642    };
643    shape "SPCE" {
644        corner= 1,
645        { [ 110.5,  18 ] }
646    };
647    shape "KP0" {
648        corner= 1,
649        { [  34.5,  18 ] }
650    };
651    shape "KPEN" {
652        corner= 1,
653        { [  15.5,  36.5 ] }
654    };
655    shape "KPDT" {
656        corner= 1,
657        { [  15.5,  18 ] }
658    };
659    shape "LED" { 
660        corner= 0.5,
661        { [   1.5,   1.5 ] }
662    };
663
664    section "Function" {
665        key.color= "white";
666        priority=  7;
667        top=       4.5;
668        left=      4.7;
669        width=     420.5;
670        height=    10;
671        row {
672            top=  0;
673            left= 0;
674            keys {
675                {  <ESC>, "FUNC",   0 },   { <FK01>, "FUNC",   3.6 },
676                { <FK02>, "FUNC",   3.5 }, { <FK03>, "FUNC",   3.6 },
677                { <FK04>, "FUNC",   3.5 }, { <FK05>, "FUNC",   3.6 },
678                { <FK06>, "FUNC",   3.5 }, { <FK07>, "FUNC",   3.6 },
679                { <FK08>, "FUNC",   3.5 }, { <FK09>, "FUNC",   3.6 },
680                { <FK10>, "FUNC",   3.5 }, { <FK11>, "FUNC",   3.6 },
681                { <FK12>, "FUNC",   3.5 }, { <I169>, "FUNC",   3.5 },
682                { <FK13>, "FUNS",  11.5 }, { <FK14>, "FUNS",   3.5 },
683                { <FK15>, "FUNS",   3.5 }, { <FK16>, "FUNS",  11.5 },
684                { <FK17>, "FUNS",   3.5 }, { <FK18>, "FUNS",   3.5 },
685                { <FK19>, "FUNS",   3.5 }
686            };
687        };
688    }; // End of "Function" section
689
690    section "Alpha" {
691        key.color= "white";
692        priority=  8;
693        top=       17;
694        left=      5;
695        width=     271.5;
696        height=    92;
697        row {
698            top=  0;
699            left= 0;
700            keys {
701                { <TLDE>, "NORM",   0 },   { <AE01>, "NORM",   3.5 },
702                { <AE02>, "NORM",   3.5 }, { <AE03>, "NORM",   3.5 },
703                { <AE04>, "NORM",   3.5 }, { <AE05>, "NORM",   3.5 },
704                { <AE06>, "NORM",   3.5 }, { <AE07>, "NORM",   3.5 },
705                { <AE08>, "NORM",   3.5 }, { <AE09>, "NORM",   3.5 },
706                { <AE10>, "NORM",   3.5 }, { <AE11>, "NORM",   3.5 },
707                { <AE12>, "NORM",   3.5 }, { <BKSP>, "BKSP",   3.5 }
708            };
709        };
710        row {
711            top=  18.5;
712            left= 0;
713            keys {
714                {  <TAB>, "TAB",   0 },    { <AD01>, "NORM",   3.5 },
715                { <AD02>, "NORM",   3.5 }, { <AD03>, "NORM",   3.5 },
716                { <AD04>, "NORM",   3.5 }, { <AD05>, "NORM",   3.5 },
717                { <AD06>, "NORM",   3.5 }, { <AD07>, "NORM",   3.5 },
718                { <AD08>, "NORM",   3.5 }, { <AD09>, "NORM",   3.5 },
719                { <AD10>, "NORM",   3.5 }, { <AD11>, "NORM",   3.5 },
720                { <AD12>, "NORM",   3.5 }, { <BKSL>, "NORM",   3.5 }
721
722            };
723        };
724        row {
725            top=  37;
726            left= 0;
727            keys {
728                { <CAPS>, "CAPS",   0 },   { <AC01>, "NORM",   3.5 },
729                { <AC02>, "NORM",   3.5 }, { <AC03>, "NORM",   3.5 },
730                { <AC04>, "NORM",   3.5 }, { <AC05>, "NORM",   3.5 },
731                { <AC06>, "NORM",   3.5 }, { <AC07>, "NORM",   3.5 },
732                { <AC08>, "NORM",   3.5 }, { <AC09>, "NORM",   3.5 },
733                { <AC10>, "NORM",   3.5 }, { <AC11>, "NORM",   3.5 },
734		{ <RTRN>, "RTRN",   3.5 }
735            };
736        };
737        row {
738            top=  55.5;
739            left= 0;
740            keys {
741                { <LFSH>, "LFSH",   0 }, 
742                { <AB01>, "NORM",   3.5 }, { <AB02>, "NORM",   3.5 },
743                { <AB03>, "NORM",   3.5 }, { <AB04>, "NORM",   3.5 },
744                { <AB05>, "NORM",   3.5 }, { <AB06>, "NORM",   3.5 },
745                { <AB07>, "NORM",   3.5 }, { <AB08>, "NORM",   3.5 },
746                { <AB09>, "NORM",   3.5 }, { <AB10>, "NORM",   3.5 },
747                { <RTSH>, "RTSH",   3.5 }
748            };
749        };
750        row {
751            top=  74;
752            left= 0;
753            keys {
754                { <LCTL>, "LCTL",   0 },   { <LALT>, "LALT",   3.5 },
755                { <LMTA>, "LMTA",   3.5 }, { <SPCE>, "SPCE",   3.5 },
756                { <RMTA>, "RMTA",   3.5 }, { <RALT>, "RALT",   3.5 },
757                { <RCTL>, "RCTL",   3.5 }
758            };
759        };
760    }; // End of "Alpha" section
761
762    section "Editing" {
763        key.color= "white";
764        priority=  9;
765        top=       17;
766        left=      287.7;
767        width=     53.5;
768        height=    92;
769        row {
770            top=  0;
771            left= 0;
772            keys {
773                {  <INS>, "NORM",   0 },  { <HOME>, "NORM",   3.5 },
774                { <PGUP>, "NORM",   3.5 }
775            };
776        };
777        row {
778            top=  18.5;
779            left= 0;
780            keys {
781                { <DELE>, "NORM",   0 },  {  <END>, "NORM",   3.5 },
782                { <PGDN>, "NORM",   3.5 }
783            };
784        };
785        row {
786            top=  58.5;
787            left= 19;
788            keys {
789                {   <UP>, "NORM",   0 }
790            };
791        };
792        row {
793            top=  77;
794            left= 0;
795            keys {
796                { <LEFT>, "NORM",   0 },  { <DOWN>, "NORM",   3.5 },
797                { <RGHT>, "NORM",   3.5 }
798            };
799        };
800    }; // End of "Editing" section
801
802    section "Keypad" {
803        key.color= "white";
804        priority=  10;
805        top=       17;
806        left=      352.7;
807        width=     72.5;
808        height=    92;
809        row {
810            top=  0;
811            left= 0;
812            keys {
813                { <NMLK>, "NORM",   0 },   { <KPEQ>, "NORM",   3.5 },
814                { <KPDV>, "NORM",   3.5 }, { <KPMU>, "NORM",   3.5 }
815            };
816        };
817        row {
818            top=  18.5;
819            left= 0;
820            keys {
821                {  <KP7>, "NORM",   0 },   {  <KP8>, "NORM",   3.5 },
822                {  <KP9>, "NORM",   3.5 }, { <KPSU>, "NORM",   3.5 }
823            };
824        };
825        row {
826            top=  37;
827            left= 0;
828            keys {
829                {  <KP4>, "NORM",   0 },   {  <KP5>, "NORM",   3.5 },
830                {  <KP6>, "NORM",   3.5 }, { <KPAD>, "NORM",   3.5 }
831            };
832        };
833        row {
834            top=  55.5;
835            left= 0;
836            keys {
837                {  <KP1>, "NORM",   0 },   {  <KP2>, "NORM",   3.5 },
838                {  <KP3>, "NORM",   3.5 }, { <KPEN>, "KPEN",   3.5 }
839            };
840        };
841        row {
842            top=  74;
843            left= 0;
844            keys {
845                {  <KP0>, "KP0",   0 }, { <KPDL>, "KPDT",   3.5 }
846            };
847        };
848    }; // End of "Keypad" section
849
850    indicator "Caps Lock" {
851        top=      56;
852        left=     6.7;
853        priority= 2;
854        onColor= "green";
855        offColor= "gray";
856        shape= "LED";
857    };
858
859};
860
861// Aluminium Keyboard, ISO model (International, 110 keys)
862xkb_geometry "applealu_iso" {
863
864    width=       430;
865    height=      113.5;
866
867    baseColor=   "white";
868    labelColor=  "black";
869    xfont=       "-*-helvetica-medium-r-normal--*-80-*-*-*-*-iso8859-1";
870    description= "Aluminium Keyboard (ISO)";
871
872    shape "NORM" {
873        corner= 1,
874        { [  15.5,  15 ] }
875    };
876    shape "FUNC" {
877        corner= 1,
878        { [  16.1,   9 ] }
879    };
880    shape "FUNS" {
881        corner= 1,
882        { [  15.5,  9 ] }
883    };
884    shape "BKSP" {
885        corner= 1,
886        { [  24.5,  15 ] }
887    };
888    shape "TAB" {
889        corner= 1,
890        { [  24.5,  15 ] }
891    };
892    shape "RTRN" {
893        corner= 1,
894        { [   0,   0 ], [  15.5  ,   0 ], [  15.5  ,  33.5 ], [   5,  33.5 ],
895          [   5,  15 ], [   0,  15 ] }
896    };
897    shape "CAPS" {
898        corner= 1,
899        { [  29.5,  15 ] }
900    };
901    shape "LCTL" {
902        corner= 1,
903        { [  25,  18	 ] }
904    };
905    shape "LALT" {
906        corner= 1,
907        { [  20,  18 ] }
908    };
909    shape "LMTA" {
910        corner= 1,
911        { [  25,  18 ] }
912    };
913    shape "LFSH" {
914        corner= 1,
915        { [  20,  15 ] }
916    };
917    shape "RCTL" {
918        corner= 1,
919        { [  25,  18 ] }
920    };
921    shape "RALT" {
922        corner= 1,
923        { [  20,  18 ] }
924    };
925    shape "RMTA" {
926        corner= 1,
927        { [  25,  18 ] }
928    };
929    shape "RTSH" {
930        corner= 1,
931        { [  39,  15 ] }
932    };
933    shape "SPCE" {
934        corner= 1,
935        { [ 110.5,  18 ] }
936    };
937    shape "KP0" {
938        corner= 1,
939        { [  34.5,  18 ] }
940    };
941    shape "KPEN" {
942        corner= 1,
943        { [  15.5,  36.5 ] }
944    };
945    shape "KPDT" {
946        corner= 1,
947        { [  15.5,  18 ] }
948    };
949    shape "LED" { 
950        corner= 0.5,
951        { [   1.5,   1.5 ] }
952    };
953
954    section "Function" {
955        key.color= "white";
956        priority=  7;
957        top=       4.5;
958        left=      4.7;
959        width=     420.5;
960        height=    10;
961        row {
962            top=  0;
963            left= 0;
964            keys {
965                {  <ESC>, "FUNC",   0 },   { <FK01>, "FUNC",   3.6 },
966                { <FK02>, "FUNC",   3.5 }, { <FK03>, "FUNC",   3.6 },
967                { <FK04>, "FUNC",   3.5 }, { <FK05>, "FUNC",   3.6 },
968                { <FK06>, "FUNC",   3.5 }, { <FK07>, "FUNC",   3.6 },
969                { <FK08>, "FUNC",   3.5 }, { <FK09>, "FUNC",   3.6 },
970                { <FK10>, "FUNC",   3.5 }, { <FK11>, "FUNC",   3.6 },
971                { <FK12>, "FUNC",   3.5 }, { <I169>, "FUNC",   3.5 },
972                { <FK13>, "FUNS",  11.5 }, { <FK14>, "FUNS",   3.5 },
973                { <FK15>, "FUNS",   3.5 }, { <FK16>, "FUNS",  11.5 },
974                { <FK17>, "FUNS",   3.5 }, { <FK18>, "FUNS",   3.5 },
975                { <FK19>, "FUNS",   3.5 }
976            };
977        };
978    }; // End of "Function" section
979
980    section "Alpha" {
981        key.color= "white";
982        priority=  8;
983        top=       17;
984        left=      5;
985        width=     271.5;
986        height=    92;
987        row {
988            top=  0;
989            left= 0;
990            keys {
991                { <TLDE>, "NORM",   0 },   { <AE01>, "NORM",   3.5 },
992                { <AE02>, "NORM",   3.5 }, { <AE03>, "NORM",   3.5 },
993                { <AE04>, "NORM",   3.5 }, { <AE05>, "NORM",   3.5 },
994                { <AE06>, "NORM",   3.5 }, { <AE07>, "NORM",   3.5 },
995                { <AE08>, "NORM",   3.5 }, { <AE09>, "NORM",   3.5 },
996                { <AE10>, "NORM",   3.5 }, { <AE11>, "NORM",   3.5 },
997                { <AE12>, "NORM",   3.5 }, { <BKSP>, "BKSP",   3.5 }
998            };
999        };
1000        row {
1001            top=  18.5;
1002            left= 0;
1003            keys {
1004                {  <TAB>, "TAB",   0 },   { <AD01>, "NORM",   3.5 },
1005                { <AD02>, "NORM",   3.5 }, { <AD03>, "NORM",   3.5 },
1006                { <AD04>, "NORM",   3.5 }, { <AD05>, "NORM",   3.5 },
1007                { <AD06>, "NORM",   3.5 }, { <AD07>, "NORM",   3.5 },
1008                { <AD08>, "NORM",   3.5 }, { <AD09>, "NORM",   3.5 },
1009                { <AD10>, "NORM",   3.5 }, { <AD11>, "NORM",   3.5 },
1010                { <AD12>, "NORM",   3.5 }, { <RTRN>, "RTRN",   3.5 }
1011            };
1012        };
1013        row {
1014            top=  37;
1015            left= 0;
1016            keys {
1017                { <CAPS>, "CAPS",   0 },   { <AC01>, "NORM",   3.5 },
1018                { <AC02>, "NORM",   3.5 }, { <AC03>, "NORM",   3.5 },
1019                { <AC04>, "NORM",   3.5 }, { <AC05>, "NORM",   3.5 },
1020                { <AC06>, "NORM",   3.5 }, { <AC07>, "NORM",   3.5 },
1021                { <AC08>, "NORM",   3.5 }, { <AC09>, "NORM",   3.5 },
1022                { <AC10>, "NORM",   3.5 }, { <AC11>, "NORM",   3.5 },
1023                { <BKSL>, "NORM",   3.5 }
1024            };
1025        };
1026        row {
1027            top=  55.5;
1028            left= 0;
1029            keys {
1030                { <LFSH>, "LFSH",   0 },   { <LSGT>, "NORM",   3.5 },
1031                { <AB01>, "NORM",   3.5 }, { <AB02>, "NORM",   3.5 },
1032                { <AB03>, "NORM",   3.5 }, { <AB04>, "NORM",   3.5 },
1033                { <AB05>, "NORM",   3.5 }, { <AB06>, "NORM",   3.5 },
1034                { <AB07>, "NORM",   3.5 }, { <AB08>, "NORM",   3.5 },
1035                { <AB09>, "NORM",   3.5 }, { <AB10>, "NORM",   3.5 },
1036                { <RTSH>, "RTSH",   3.5 }
1037            };
1038        };
1039        row {
1040            top=  74;
1041            left= 0;
1042            keys {
1043                { <LCTL>, "LCTL",   0 },   { <LALT>, "LALT",   3.5 },
1044                { <LMTA>, "LMTA",   3.5 }, { <SPCE>, "SPCE",   3.5 },
1045                { <RMTA>, "RMTA",   3.5 }, { <RALT>, "RALT",   3.5 },
1046                { <RCTL>, "RCTL",   3.5 }
1047            };
1048        };
1049    }; // End of "Alpha" section
1050
1051    section "Editing" {
1052        key.color= "white";
1053        priority=  9;
1054        top=       17;
1055        left=      287.7;
1056        width=     53.5;
1057        height=    92;
1058        row {
1059            top=  0;
1060            left= 0;
1061            keys {
1062                {  <INS>, "NORM",   0 },  { <HOME>, "NORM",   3.5 },
1063                { <PGUP>, "NORM",   3.5 }
1064            };
1065        };
1066        row {
1067            top=  18.5;
1068            left= 0;
1069            keys {
1070                { <DELE>, "NORM",   0 },  {  <END>, "NORM",   3.5 },
1071                { <PGDN>, "NORM",   3.5 }
1072            };
1073        };
1074        row {
1075            top=  58.5;
1076            left= 19;
1077            keys {
1078                {   <UP>, "NORM",   0 }
1079            };
1080        };
1081        row {
1082            top=  77;
1083            left= 0;
1084            keys {
1085                { <LEFT>, "NORM",   0 },  { <DOWN>, "NORM",   3.5 },
1086                { <RGHT>, "NORM",   3.5 }
1087            };
1088        };
1089    }; // End of "Editing" section
1090
1091    section "Keypad" {
1092        key.color= "white";
1093        priority=  10;
1094        top=       17;
1095        left=      352.7;
1096        width=     72.5;
1097        height=    92;
1098        row {
1099            top=  0;
1100            left= 0;
1101            keys {
1102                { <NMLK>, "NORM",   0 },   { <KPEQ>, "NORM",   3.5 },
1103                { <KPDV>, "NORM",   3.5 }, { <KPMU>, "NORM",   3.5 }
1104            };
1105        };
1106        row {
1107            top=  18.5;
1108            left= 0;
1109            keys {
1110                {  <KP7>, "NORM",   0 },   {  <KP8>, "NORM",   3.5 },
1111                {  <KP9>, "NORM",   3.5 }, { <KPSU>, "NORM",   3.5 }
1112            };
1113        };
1114        row {
1115            top=  37;
1116            left= 0;
1117            keys {
1118                {  <KP4>, "NORM",   0 },   {  <KP5>, "NORM",   3.5 },
1119                {  <KP6>, "NORM",   3.5 }, { <KPAD>, "NORM",   3.5 }
1120            };
1121        };
1122        row {
1123            top=  55.5;
1124            left= 0;
1125            keys {
1126                {  <KP1>, "NORM",   0 },   {  <KP2>, "NORM",   3.5 },
1127                {  <KP3>, "NORM",   3.5 }, { <KPEN>, "KPEN",   3.5 }
1128            };
1129        };
1130        row {
1131            top=  74;
1132            left= 0;
1133            keys {
1134                {  <KP0>, "KP0",   0 }, { <KPDL>, "KPDT",   3.5 }
1135            };
1136        };
1137    }; // End of "Keypad" section
1138
1139    indicator "Caps Lock" {
1140        top=      56;
1141        left=     6.7;
1142        priority= 2;
1143        onColor= "green";
1144        offColor= "gray";
1145        shape= "LED";
1146    };
1147
1148};
1149
1150// Aluminium Keyboard, JIS model (Japanese, 112 keys)
1151xkb_geometry "applealu_jis" {
1152
1153    width=       430;
1154    height=      113.5;
1155
1156    baseColor=   "white";
1157    labelColor=  "black";
1158    xfont=       "-*-helvetica-medium-r-normal--*-80-*-*-*-*-iso8859-1";
1159    description= "Aluminium Keyboard (JIS)";
1160
1161    shape "NORM" {
1162        corner= 1,
1163        { [  15.5,  15 ] }
1164    };
1165    shape "FUNC" {
1166        corner= 1,
1167        { [  16.1,   9 ] }
1168    };
1169    shape "FUNS" {
1170        corner= 1,
1171        { [  15.5,  9 ] }
1172    };
1173    shape "KEY1" {
1174        corner= 1,
1175        { [  24.5,  15 ] }
1176    };
1177    shape "BKSP" {
1178        corner= 1,
1179        { [  15.5,  15 ] }
1180    };
1181    shape "TAB" {
1182        corner= 1,
1183        { [  15.5,  15 ] }
1184    };
1185    shape "RTRN" {
1186        corner= 1,
1187        { [   0,   0 ], [  24.5  ,   0 ], [  24.5  ,  33.5 ], [   4.5,  33.5 ],
1188          [   4.5,  15 ], [   0,  15 ] }
1189    };
1190    shape "CAPS" {
1191        corner= 1,
1192        { [  35,  18 ] }
1193    };
1194    shape "LCTL" {
1195        corner= 1,
1196        { [  20,  15 ] }
1197    };
1198    shape "LALT" {
1199        corner= 1,
1200        { [  27,  18 ] }
1201    };
1202    shape "LMTA" {
1203        corner= 1,
1204        { [  27,  18 ] }
1205    };
1206    shape "LFSH" {
1207        corner= 1,
1208        { [  29.5,  15 ] }
1209    };
1210    shape "EISU" {
1211        corner= 1,
1212        { [  20,  18 ] }
1213    };
1214    shape "RCTL" {
1215        corner= 1,
1216        { [  27,  18 ] }
1217    };
1218    shape "RALT" {
1219        corner= 1,
1220        { [  27,  18 ] }
1221    };
1222    shape "RMTA" {
1223        corner= 1,
1224        { [  27,  18 ] }
1225    };
1226    shape "RTSH" {
1227        corner= 1,
1228        { [  29.5,  15 ] }
1229    };
1230    shape "KANA" {
1231        corner= 1,
1232        { [  20,  18 ] }
1233    };
1234    shape "SPCE" {
1235        corner= 1,
1236        { [ 64,  18 ] }
1237    };
1238    shape "KPDT" {
1239        corner= 1,
1240        { [  15.5,  18 ] }
1241    };
1242    shape "KPEN" {
1243        corner= 1,
1244        { [  15.5,  36.5 ] }
1245    };
1246    shape "LED" { 
1247        corner= 0.5,
1248        { [   1.5,   1.5 ] }
1249    };
1250
1251    section "Function" {
1252        key.color= "white";
1253        priority=  7;
1254        top=       4.5;
1255        left=      4.7;
1256        width=     420.5;
1257        height=    10;
1258        row {
1259            top=  0;
1260            left= 0;
1261            keys {
1262                {  <ESC>, "FUNC",   0 }, { <FK01>, "FUNC",   3.6 },
1263                { <FK02>, "FUNC",   3.5 }, { <FK03>, "FUNC",   3.6 },
1264                { <FK04>, "FUNC",   3.5 }, { <FK05>, "FUNC",   3.6 },
1265                { <FK06>, "FUNC",   3.5 }, { <FK07>, "FUNC",   3.6 },
1266                { <FK08>, "FUNC",   3.5 }, { <FK09>, "FUNC",   3.6 },
1267                { <FK10>, "FUNC",   3.5 }, { <FK11>, "FUNC",   3.6 },
1268                { <FK12>, "FUNC",   3.5 }, { <I169>, "FUNC",   3.5 },
1269                { <FK13>, "FUNS",  11.5 }, { <FK14>, "FUNS",   3.5 },
1270                { <FK15>, "FUNS",   3.5 }, { <FK16>, "FUNS",  11.5 },
1271                { <FK17>, "FUNS",   3.5 }, { <FK18>, "FUNS",   3.5 },
1272                { <FK19>, "FUNS",   3.5 }
1273            };
1274        };
1275    }; // End of "Function" section
1276
1277    section "Alpha" {
1278        key.color= "white";
1279        priority=  8;
1280        top=       17;
1281        left=      5;
1282        width=     271.5;
1283        height=    92;
1284        row {
1285            top=  0;
1286            left= 0;
1287            keys {
1288                { <AE01>, "KEY1",   0 },
1289                { <AE02>, "NORM",   3.5 }, { <AE03>, "NORM",   3.5 },
1290                { <AE04>, "NORM",   3.5 }, { <AE05>, "NORM",   3.5 },
1291                { <AE06>, "NORM",   3.5 }, { <AE07>, "NORM",   3.5 },
1292                { <AE08>, "NORM",   3.5 }, { <AE09>, "NORM",   3.5 },
1293                { <AE10>, "NORM",   3.5 }, { <AE11>, "NORM",   3.5 },
1294                { <AE12>, "NORM",   3.5 }, { <AE13>, "NORM",   3.5 },
1295                { <BKSP>, "BKSP",   3.5 }
1296            };
1297        };
1298        row {
1299            top=  18.5;
1300            left= 0;
1301            keys {
1302                {  <TAB>,  "TAB",   0 },   { <AD01>, "NORM",   3.5 },
1303                { <AD02>, "NORM",   3.5 }, { <AD03>, "NORM",   3.5 },
1304                { <AD04>, "NORM",   3.5 }, { <AD05>, "NORM",   3.5 },
1305                { <AD06>, "NORM",   3.5 }, { <AD07>, "NORM",   3.5 },
1306                { <AD08>, "NORM",   3.5 }, { <AD09>, "NORM",   3.5 },
1307                { <AD10>, "NORM",   3.5 }, { <AD11>, "NORM",   3.5 },
1308                { <AD12>, "NORM",   3.5 }, { <RTRN>, "RTRN",   3.5 }
1309            };
1310        };
1311        row {
1312            top=  37;
1313            left= 0;
1314            keys {
1315                { <LCTL>, "LCTL",   0 },   { <AC01>, "NORM",   3.5 },
1316                { <AC02>, "NORM",   3.5 }, { <AC03>, "NORM",   3.5 },
1317                { <AC04>, "NORM",   3.5 }, { <AC05>, "NORM",   3.5 },
1318                { <AC06>, "NORM",   3.5 }, { <AC07>, "NORM",   3.5 },
1319                { <AC08>, "NORM",   3.5 }, { <AC09>, "NORM",   3.5 },
1320                { <AC10>, "NORM",   3.5 }, { <AC11>, "NORM",   3.5 },
1321                { <AC12>, "NORM",   3.5 }
1322            };
1323        };
1324        row {
1325            top=  55.5;
1326            left= 0;
1327            keys {
1328                { <LFSH>, "LFSH",   0 }, 
1329                { <AB01>, "NORM",   3.5 }, { <AB02>, "NORM",   3.5 },
1330                { <AB03>, "NORM",   3.5 }, { <AB04>, "NORM",   3.5 },
1331                { <AB05>, "NORM",   3.5 }, { <AB06>, "NORM",   3.5 },
1332                { <AB07>, "NORM",   3.5 }, { <AB08>, "NORM",   3.5 },
1333                { <AB09>, "NORM",   3.5 }, { <AB10>, "NORM",   3.5 },
1334                { <AB11>, "NORM",   3.5 }, { <RTSH>, "RTSH",   3.5 }
1335            };
1336        };
1337        row {
1338            top=  74;
1339            left= 0;
1340            keys {
1341                { <LALT>, "LALT",   0 },   { <LMTA>, "LMTA",   3.5 },
1342                { <EISU>, "EISU",   3.5 }, { <SPCE>, "SPCE",   3.5 },
1343                { <KANA>, "KANA",   3.5 }, { <RMTA>, "RMTA",   3.5 },
1344                { <RALT>, "RALT",   3.5 }, { <CAPS>, "CAPS",   3.5 }
1345            };
1346        };
1347    }; // End of "Alpha" section
1348
1349    section "Editing" {
1350        key.color= "white";
1351        priority=  9;
1352        top=       17;
1353        left=      287.7;
1354        width=     53.5;
1355        height=    92;
1356        row {
1357            top=  0;
1358            left= 0;
1359            keys {
1360                {  <INS>, "NORM",   0 },  { <HOME>, "NORM",   3.5 },
1361                { <PGUP>, "NORM",   3.5 }
1362            };
1363        };
1364        row {
1365            top=  18.5;
1366            left= 0;
1367            keys {
1368                { <DELE>, "NORM",   0 }, {  <END>, "NORM",   3.5 },
1369                { <PGDN>, "NORM",   3.5 }
1370            };
1371        };
1372        row {
1373            top=  58.5;
1374            left= 19;
1375            keys {
1376                {   <UP>, "NORM",   0 }
1377            };
1378        };
1379        row {
1380            top=  77;
1381            left= 0;
1382            keys {
1383                { <LEFT>, "NORM",   0 },  { <DOWN>, "NORM",   3.5 },
1384                { <RGHT>, "NORM",   3.5 }
1385            };
1386        };
1387    }; // End of "Editing" section
1388
1389    section "Keypad" {
1390        key.color= "white";
1391        priority=  10;
1392        top=       17;
1393        left=      352.7;
1394        width=     72.5;
1395        height=    92;
1396        row {
1397            top=  0;
1398            left= 0;
1399            keys {
1400                { <NMLK>, "NORM",   0 },   { <KPEQ>, "NORM",   3.5 },
1401                { <KPDV>, "NORM",   3.5 }, { <KPMU>, "NORM",   3.5 }
1402            };
1403        };
1404        row {
1405            top=  18.5;
1406            left= 0;
1407            keys {
1408                {  <KP7>, "NORM",   0 },   {  <KP8>, "NORM",   3.5 },
1409                {  <KP9>, "NORM",   3.5 }, { <KPSU>, "NORM",   3.5 }
1410            };
1411        };
1412        row {
1413            top=  37;
1414            left= 0;
1415            keys {
1416                {  <KP4>, "NORM",   0 },   {  <KP5>, "NORM",   3.5 },
1417                {  <KP6>, "NORM",   3.5 }, { <KPAD>, "NORM",   3.5 }
1418            };
1419        };
1420        row {
1421            top=  55.5;
1422            left= 0;
1423            keys {
1424                {  <KP1>, "NORM",   0 },   {  <KP2>, "NORM",   3.5 },
1425                {  <KP3>, "NORM",   3.5 }, { <KPEN>, "KPEN",   3.5 }
1426            };
1427        };
1428        row {
1429            top=  74;
1430            left= 0;
1431            keys {
1432                {  <KP0>, "KPDT",   0 },  { <JPCM>, "KPDT",   3.5 },
1433                { <KPDL>, "KPDT",   3.5 }
1434            };
1435        };
1436    }; // End of "Keypad" section
1437
1438    indicator "Caps Lock" {
1439        top=      93;
1440        left=     273.2;
1441        priority= 2;
1442        onColor= "green";
1443        offColor= "gray";
1444        shape= "LED";
1445    };
1446
1447};
1448