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