Home | History | Annotate | Line # | Download | only in geometry
      1 //
      2 //Copyright 1996, 1998  The Open Group
      3 //
      4 //Permission to use, copy, modify, distribute, and sell this software and its
      5 //documentation for any purpose is hereby granted without fee, provided that
      6 //the above copyright notice appear in all copies and that both that
      7 //copyright notice and this permission notice appear in supporting
      8 //documentation.
      9 //
     10 //The above copyright notice and this permission notice shall be
     11 //included in all copies or substantial portions of the Software.
     12 //
     13 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
     14 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     15 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
     16 //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
     17 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
     18 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
     19 //OTHER DEALINGS IN THE SOFTWARE.
     20 //
     21 //Except as contained in this notice, the name of The Open Group shall
     22 //not be used in advertising or otherwise to promote the sale, use or
     23 //other dealings in this Software without prior written authorization
     24 //from The Open Group.
     25 //
     26 
     27 default xkb_geometry "pc101" {
     28 
     29     description= "Generic 101-key PC";
     30     width= 470;
     31     height= 180;
     32 
     33     shape.cornerRadius= 1;
     34     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
     35     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
     36     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
     37     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
     38     shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
     39     shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
     40     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
     41     shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
     42     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
     43     shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
     44     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
     45     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
     46 
     47     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
     48     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
     49     solid "LedPanel" {
     50 	shape= "LEDS";
     51 	top=  22;
     52 	left= 377;
     53 	color= "grey10";
     54     };
     55 
     56     indicator.onColor= "green";
     57     indicator.offColor= "green30";
     58     indicator.top= 37;
     59     indicator.shape= "LED";
     60     indicator "Num Lock"     { left= 382; };
     61     indicator "Caps Lock"    { left= 407; };
     62     indicator "Scroll Lock"  { left= 433; };
     63     text.top= 25;
     64     text.color= "black";
     65     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
     66     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
     67     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
     68 
     69     section.left= 19;
     70     row.left= 1;
     71     key.shape= "NORM";
     72     key.gap=  1;
     73     section "Function" {
     74 	top= 22;
     75 	row {
     76 	    top= 1;
     77 	    keys {  { <ESC>, color="grey20" },
     78 		    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
     79 		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
     80 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
     81 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
     82 	    };
     83 	};
     84     }; // End of "Function" section
     85 
     86     section "Alpha" {
     87 	top= 61;
     88 	row {
     89 	    top= 1;
     90 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
     91 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
     92 		   <AE10>, <AE11>, <AE12>,
     93 		   { <BKSP>, "BKSP", color="grey20" }
     94 	    };
     95 	};
     96 	row {
     97 	    top= 20;
     98 	    keys { { <TAB>, "TABK", color="grey20" },
     99 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    100 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    101 		   <AD11>, <AD12>, { <BKSL>, "BKSL" }
    102 	    };
    103 	};
    104 	row {
    105 	    top= 39;
    106 	    keys { { <CAPS>, "CAPS", color="grey20" },
    107 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    108 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    109 		   <AC11>, { <RTRN>, "RTRN", color="grey20" }
    110 	    };
    111 	};
    112 	row {
    113 	    top= 58;
    114 	    keys { { <LFSH>, "LFSH", color="grey20" },
    115 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    116 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    117 		    { <RTSH>, "RTSH", color="grey20" }
    118 	    };
    119 	};
    120 	row {
    121 	    top= 77;
    122 	    key.shape= "MODK";
    123 	    key.color= "grey20";
    124 	    keys { <LCTL>, { <LALT>, 21 },
    125 		   { <SPCE>, "SPCE", color="white" },
    126 		   <RALT>, { <RCTL>, 21 }
    127 	    };
    128 	};
    129     }; // End of "Alpha" section
    130 
    131     section "Editing" {
    132 	top= 61;
    133 	left= 312;
    134 	key.color= "grey20";
    135 	row {
    136 	    top= 1;
    137 	    keys { <INS>, <HOME>, <PGUP> };
    138 	};
    139         row {
    140 	    top= 20;
    141 	    keys { <DELE>, <END>, <PGDN> };
    142 	};
    143 	row {
    144 	    top= 58;
    145 	    left= 20;
    146 	    keys { <UP> };
    147 	};
    148 	row {
    149 	    top= 77;
    150 	    keys { <LEFT>, <DOWN>, <RGHT> };
    151 	};
    152     }; // End of "Editing" section
    153 
    154     section "Keypad" {
    155 	top= 61;
    156 	left= 376;
    157 	row {
    158 	    top= 1;
    159 	    key.color= "grey20";
    160 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    161 	};
    162 	row {
    163 	    top= 20;
    164 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
    165 	};
    166 	row {
    167 	    top= 39;
    168 	    keys { <KP4>, <KP5>, <KP6> };
    169 	};
    170 	row {
    171 	    top= 58;
    172 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
    173 	};
    174 	row {
    175 	    top= 77;
    176 	    keys { { <KP0>, "KP0" }, <KPDL> };
    177 	};
    178     }; // End of "Keypad" section
    179 
    180     alias <AC00> = <CAPS>;
    181     alias <AA00> = <LCTL>;
    182 
    183 }; // End of "default" geometry
    184 
    185 xkb_geometry "pc102" {
    186 
    187     description= "Generic 102-key PC";
    188     width= 470;
    189     height= 180;
    190 
    191     shape.cornerRadius= 1;
    192     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
    193     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
    194     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
    195     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
    196     shape "RTRN" {
    197         { [0,0], [28,0], [28,37], [5,37], [5,18], [0,18] },
    198         { [2,1], [26,1], [26,35], [7,35], [7,16], [2,16] } };
    199     shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
    200     shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } };
    201     shape "RTSH" { { [ 50,18] }, { [2,1], [ 48,16] } };
    202     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
    203     shape "SPCE" { { [134,18] }, { [2,1], [132,16] } };
    204     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
    205     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
    206 
    207     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
    208     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
    209     solid "LedPanel" {
    210 	shape= "LEDS";
    211 	top=  22;
    212 	left= 377;
    213 	color= "grey10";
    214     };
    215 
    216     indicator.onColor= "green";
    217     indicator.offColor= "green30";
    218     indicator.top= 37;
    219     indicator.shape= "LED";
    220     indicator "Num Lock"     { left= 382; };
    221     indicator "Caps Lock"    { left= 407; };
    222     indicator "Scroll Lock"  { left= 433; };
    223     text.top= 25;
    224     text.color= "black";
    225     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
    226     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
    227     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
    228 
    229     section.left= 19;
    230     row.left= 1;
    231     key.shape= "NORM";
    232     key.gap=  1;
    233     section "Function" {
    234 	top= 22;
    235 	row {
    236 	    top= 1;
    237 	    keys {  { <ESC>, "TABK", color="grey20" },
    238 		    { <FK01>, 10 }, <FK02>, <FK03>, <FK04>,
    239 		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
    240 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
    241 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
    242 	    };
    243 	};
    244     }; // End of "Function" section
    245 
    246     section "Alpha" {
    247 	top= 61;
    248 	row {
    249 	    top= 1;
    250 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
    251 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
    252 		   <AE10>, <AE11>, <AE12>, 
    253 		   { <BKSP>, "BKSP", color="grey20" }
    254 	    };
    255 	};
    256 	row {
    257 	    top= 20;
    258 	    keys { { <TAB>, "TABK", color="grey20" },
    259 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    260 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    261 		   <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
    262 	    };
    263 	};
    264 	row {
    265 	    top= 39;
    266 	    keys { { <CAPS>, "CAPS", color="grey20" },
    267 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    268 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    269 		   <AC11>, <BKSL>
    270 	    };
    271 	};
    272 	row {
    273 	    top= 58;
    274 	    keys { { <LFSH>, "LFSH", color="grey20" },
    275 		    <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    276 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    277 		    { <RTSH>, "RTSH", color="grey20" }
    278 	    };
    279 	};
    280 	row {
    281 	    top= 77;
    282 	    key.shape= "MODK";
    283 	    key.color= "grey20";
    284 	    keys { <LCTL>, { <LALT>, 20 },
    285 		   { <SPCE>, "SPCE", color="white" },
    286 		   <RALT>, { <RCTL>, 21 }
    287 	    };
    288 	};
    289     }; // End of "Alpha" section
    290 
    291     section "Editing" {
    292 	top= 61;
    293 	left= 312;
    294 	key.color= "grey20";
    295 	row {
    296 	    top= 1;
    297 	    keys { <INS>, <HOME>, <PGUP> };
    298 	};
    299         row {
    300 	    top= 20;
    301 	    keys { <DELE>, <END>, <PGDN> };
    302 	};
    303 	row {
    304 	    top= 58;
    305 	    left= 20;
    306 	    keys { <UP> };
    307 	};
    308 	row {
    309 	    top= 77;
    310 	    keys { <LEFT>, <DOWN>, <RGHT> };
    311 	};
    312     }; // End of "Editing" section
    313 
    314     section "Keypad" {
    315 	top= 61;
    316 	left= 376;
    317 	row {
    318 	    top= 1;
    319 	    key.color= "grey20";
    320 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    321 	};
    322 	row {
    323 	    top= 20;
    324 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
    325 	};
    326 	row {
    327 	    top= 39;
    328 	    keys { <KP4>, <KP5>, <KP6> };
    329 	};
    330 	row {
    331 	    top= 58;
    332 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
    333 	};
    334 	row {
    335 	    top= 77;
    336 	    keys { { <KP0>, "KP0" }, <KPDL> };
    337 	};
    338     }; // End of "Keypad" section
    339 
    340     alias <AC00> = <CAPS>;
    341     alias <AA00> = <LCTL>;
    342 
    343 }; // End of "pc102" geometry
    344 
    345 xkb_geometry "pc104" {
    346 
    347     description= "Generic 104-key PC";
    348     width= 470;
    349     height= 180;
    350 
    351     shape.cornerRadius= 1;
    352     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
    353     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
    354     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
    355     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
    356     shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
    357     shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
    358     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
    359     shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
    360     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
    361     shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
    362     shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
    363     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
    364     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
    365 
    366     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
    367     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
    368     solid "LedPanel" {
    369 	shape= "LEDS";
    370 	top=  22;
    371 	left= 377;
    372 	color= "grey10";
    373     };
    374 
    375     indicator.onColor= "green";
    376     indicator.offColor= "green30";
    377     indicator.top= 37;
    378     indicator.shape= "LED";
    379     indicator "Num Lock"     { left= 382; };
    380     indicator "Caps Lock"    { left= 407; };
    381     indicator "Scroll Lock"  { left= 433; };
    382     text.top= 25;
    383     text.color= "black";
    384     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
    385     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
    386     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
    387 
    388     section.left= 19;
    389     row.left= 1;
    390     key.shape= "NORM";
    391     key.gap=  1;
    392     section "Function" {
    393 	top= 22;
    394 	row {
    395 	    top= 1;
    396 	    keys {  { <ESC>, color="grey20" },
    397 		    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
    398 		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
    399 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
    400 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
    401 	    };
    402 	};
    403     }; // End of "Function" section
    404 
    405     section "Alpha" {
    406 	top= 61;
    407 	row {
    408 	    top= 1;
    409 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
    410 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
    411 		   <AE10>, <AE11>, <AE12>,
    412 		   { <BKSP>, "BKSP", color="grey20" }
    413 	    };
    414 	};
    415 	row {
    416 	    top= 20;
    417 	    keys { { <TAB>, "TABK", color="grey20" },
    418 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    419 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    420 		   <AD11>, <AD12>, { <BKSL>, "BKSL" }
    421 	    };
    422 	};
    423 	row {
    424 	    top= 39;
    425 	    keys { { <CAPS>, "CAPS", color="grey20" },
    426 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    427 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    428 		   <AC11>, { <RTRN>, "RTRN", color="grey20" }
    429 	    };
    430 	};
    431 	row {
    432 	    top= 58;
    433 	    keys { { <LFSH>, "LFSH", color="grey20" },
    434 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    435 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    436 		    { <RTSH>, "RTSH", color="grey20" }
    437 	    };
    438 	};
    439 	row {
    440 	    top= 77;
    441 	    key.shape= "SMOD";
    442 	    key.color= "grey20";
    443 	    keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
    444 		   { <SPCE>, "SPCE", color="white" },
    445 		   <RALT>, <RWIN>, <MENU>, <RCTL>
    446 	    };
    447 	};
    448     }; // End of "Alpha" section
    449 
    450     section "Editing" {
    451 	top= 61;
    452 	left= 312;
    453 	key.color= "grey20";
    454 	row {
    455 	    top= 1;
    456 	    keys { <INS>, <HOME>, <PGUP> };
    457 	};
    458         row {
    459 	    top= 20;
    460 	    keys { <DELE>, <END>, <PGDN> };
    461 	};
    462 	row {
    463 	    top= 58;
    464 	    left= 20;
    465 	    keys { <UP> };
    466 	};
    467 	row {
    468 	    top= 77;
    469 	    keys { <LEFT>, <DOWN>, <RGHT> };
    470 	};
    471     }; // End of "Editing" section
    472 
    473     section "Keypad" {
    474 	top= 61;
    475 	left= 376;
    476 	row {
    477 	    top= 1;
    478 	    key.color= "grey20";
    479 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    480 	};
    481 	row {
    482 	    top= 20;
    483 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
    484 	};
    485 	row {
    486 	    top= 39;
    487 	    keys { <KP4>, <KP5>, <KP6> };
    488 	};
    489 	row {
    490 	    top= 58;
    491 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
    492 	};
    493 	row {
    494 	    top= 77;
    495 	    keys { { <KP0>, "KP0" }, <KPDL> };
    496 	};
    497     }; // End of "Keypad" section
    498 
    499     alias <AC00> = <CAPS>;
    500     alias <AA00> = <LCTL>;
    501 
    502 }; // End of "pc104" geometry
    503 
    504 xkb_geometry "pc105" {
    505 
    506     description= "Generic 105-key PC";
    507     width= 470;
    508     height= 180;
    509 
    510     shape.cornerRadius= 1;
    511 
    512     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
    513     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
    514     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
    515     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
    516     shape "RTRN" {
    517         { [0,0], [28,0], [28,37], [5,37], [5,18], [0,18] } ,
    518         { [2,1], [26,1], [26,35], [7,35], [7,16], [2,16] } ,
    519         approx = { [5,0], [28,37] } };
    520     shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
    521     shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } };
    522     shape "RTSH" { { [ 50,18] }, { [2,1], [ 48,16] } };
    523     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
    524     shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
    525     shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
    526     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
    527     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
    528 
    529     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
    530     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
    531     solid "LedPanel" {
    532 	shape= "LEDS";
    533 	top=  22;
    534 	left= 377;
    535 	color= "grey10";
    536     };
    537 
    538     indicator.onColor= "green";
    539     indicator.offColor= "green30";
    540     indicator.top= 37;
    541     indicator.shape= "LED";
    542     indicator "Num Lock"     { left= 382; };
    543     indicator "Caps Lock"    { left= 407; };
    544     indicator "Scroll Lock"  { left= 433; };
    545     text.top= 25;
    546     text.color= "black";
    547     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
    548     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
    549     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
    550 
    551     section.left= 19;
    552     row.left= 1;
    553     key.shape= "NORM";
    554     key.gap=  1;
    555     section "Function" {
    556 	top= 22;
    557 	row {
    558 	    top= 1;
    559 	    keys {  { <ESC>, color="grey20" },
    560 		    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
    561 		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
    562 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
    563 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
    564 	    };
    565 	};
    566     }; // End of "Function" section
    567 
    568     section "Alpha" {
    569 	top= 61;
    570 	row {
    571 	    top= 1;
    572 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
    573 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
    574 		   <AE10>, <AE11>, <AE12>,
    575 		   { <BKSP>, "BKSP", color="grey20" }
    576 	    };
    577 	};
    578 	row {
    579 	    top= 20;
    580 	    keys { { <TAB>, "TABK", color="grey20" },
    581 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    582 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    583 		   <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" } 
    584 	    };
    585 	};
    586 	row {
    587 	    top= 39;
    588 	    keys { { <CAPS>, "CAPS", color="grey20" },
    589 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    590 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    591 		   <AC11>, <BKSL> 
    592 	    };
    593 	};
    594 	row {
    595 	    top= 58;
    596 	    keys { { <LFSH>, "LFSH", color="grey20" },
    597 		    <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    598 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    599 		    { <RTSH>, "RTSH", color="grey20" }
    600 	    };
    601 	};
    602 	row {
    603 	    top= 77;
    604 	    key.shape= "SMOD";
    605 	    key.color= "grey20";
    606 	    keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
    607 		   { <SPCE>, "SPCE", color="white" },
    608 		   <RALT>, <RWIN>, <MENU>, <RCTL>
    609 	    };
    610 	};
    611     }; // End of "Alpha" section
    612 
    613     section "Editing" {
    614 	top= 61;
    615 	left= 312;
    616 	key.color= "grey20";
    617 	row {
    618 	    top= 1;
    619 	    keys { <INS>, <HOME>, <PGUP> };
    620 	};
    621         row {
    622 	    top= 20;
    623 	    keys { <DELE>, <END>, <PGDN> };
    624 	};
    625 	row {
    626 	    top= 58;
    627 	    left= 20;
    628 	    keys { <UP> };
    629 	};
    630 	row {
    631 	    top= 77;
    632 	    keys { <LEFT>, <DOWN>, <RGHT> };
    633 	};
    634     }; // End of "Editing" section
    635 
    636     section "Keypad" {
    637 	top= 61;
    638 	left= 376;
    639 	row {
    640 	    top= 1;
    641 	    key.color= "grey20";
    642 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    643 	};
    644 	row {
    645 	    top= 20;
    646 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
    647 	};
    648 	row {
    649 	    top= 39;
    650 	    keys { <KP4>, <KP5>, <KP6> };
    651 	};
    652 	row {
    653 	    top= 58;
    654 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
    655 	};
    656 	row {
    657 	    top= 77;
    658 	    keys { { <KP0>, "KP0" }, <KPDL> };
    659 	};
    660     }; // End of "Keypad" section
    661 
    662     alias <AC00> = <CAPS>;
    663     alias <AA00> = <LCTL>;
    664 
    665 }; // End of "pc105" geometry
    666 
    667 // Created by Alexander Pohoyda <alexander.pohoyda (a] gmx.net>
    668 
    669 xkb_geometry "pc86" {
    670     description = "Generic 86-key PC";
    671     width = 287;
    672     height = 143;
    673     baseColor = "grey20";
    674 
    675     shape "EDGE" { cornerRadius = 2, { [287, 143] } };
    676     shape "LED"  { cornerRadius = 2, { [3, 3] } };
    677     shape "LEDS" { cornerRadius = 0, { [75, 5] } };
    678     shape "KEYS" { cornerRadius = 0, { [271, 109] } };
    679 
    680     outline "Edges" {
    681         top = 0;
    682         left = 0;
    683         shape = "EDGE";
    684         color = "black";
    685     };
    686 
    687     solid "KeyPanel" {
    688 	shape = "KEYS";
    689 	left = 8;
    690 	top = 22;
    691 	color = "grey70";
    692     };
    693 
    694     solid "LedPanel" {
    695 	shape = "LEDS";
    696 	left = 212;
    697 	top = 10;
    698 	color = "black";
    699     };
    700 
    701     indicator.onColor = "green";
    702     indicator.offColor = "green30";
    703     indicator.top = 11;
    704     indicator.shape = "LED";
    705     indicator "Num Lock"     { left = 212 + 7; };
    706     indicator "Caps Lock"    { left = 212 + 23; };
    707     indicator "Scroll Lock"  { left = 212 + 39; };
    708     text.fontSize = 6;
    709     text.top = 10;
    710     text.color = "white";
    711     text "NumLockLabel"     { left = 212 + 7 + 5; text = "Num\nLock"; };
    712     text "CapsLockLabel"    { left = 212 + 23 + 5; text = "Caps\nLock"; };
    713     text "ScrollLockLabel"  { left = 212 + 39 + 5; text = "Scroll\nLock"; };
    714 
    715     shape.cornerRadius = 1;
    716     shape "SMALL"  { { [15, 12] }, { [1.5, 0], [13.5, 10] } };
    717     shape "NARR"   { { [13, 18] }, { [1.5, 0], [11.5, 14] } };
    718     shape "NORM"   { { [18, 18] }, { [3, 0], [15, 14] } };
    719     shape "NORM_1" { { [22, 18] }, { [4, 0], [22, 18] },
    720                                    { [7, 0], [19, 14] } };
    721     shape "WIDER"  { { [23, 18] }, { [3, 0], [20, 14] } };
    722     shape "WIDEST" { { [27, 18] }, { [3, 0], [24, 14] } };
    723     shape "SPCE"   { { [75, 18] }, { [3, 0], [72, 14] } };
    724 
    725     section "Function" {
    726 	key.shape = "SMALL";
    727 	key.gap = 0.99;
    728 	key.color = "grey30";
    729 	left = 8;
    730 	top = 22;
    731 	row {
    732 	    top = 1;
    733 	    keys {  <ESC>,
    734 	    	    <FK01>, <FK02>, <FK03>, <FK04>,
    735 		    <FK05>, <FK06>, <FK07>, <FK08>,
    736 		    <FK09>, <FK10>, <FK11>, <FK12>,
    737 		    <NMLK>, <PRSC>, <SCLK>, <PAUS>
    738 	    };
    739 	};
    740     }; // End of "Function" section
    741 
    742     section "Control" {
    743 	key.shape = "NORM";
    744 	key.gap = 1;
    745 	key.color = "grey30";
    746         left = 8;
    747 	top = 111;
    748 	row {
    749 	    top = 1;
    750 	    keys { <LCTL>, <FN>, <LALT>,
    751 	           { <SPCE>, shape="SPCE", 39 }, <RALT>,
    752 		   <INS>, <DELE>
    753 	    };
    754 	};
    755     }; // End of "Control" section
    756 
    757     section "Editing" {
    758         key.shape = "NARR";
    759 	key.gap = 1;
    760 	key.color = "grey30";
    761 	left = 265;
    762 	top = 34;
    763         row.vertical = True;
    764 	row {
    765 	    top = 1;
    766 	    keys { <HOME>, <PGUP>, <PGDN>, <END> };
    767 	};
    768     }; // End of "Editing" section
    769 
    770     section "Navigation" {
    771 	key.gap = 1;
    772 	key.shape = "NARR";
    773 	key.color = "grey30";
    774 	left = 236;
    775 	top = 92;
    776 	row {
    777 	    left = 14;
    778 	    top = 1;
    779 	    keys { <UP> };
    780 	};
    781 	row {
    782 	    top = 20;
    783 	    keys { <LEFT>, <DOWN>, <RGHT> };
    784 	};
    785     }; // End of "Navigation" section
    786 
    787     section "Alpha" {
    788 	key.gap = 1;
    789 	key.shape = "NORM";
    790 	key.color = "grey10";
    791         left = 8;
    792 	top = 35;
    793 	row {
    794 	    top = 1;
    795 	    keys { { <AE01>, shape="NORM_1" }, <AE02>, <AE03>, <AE04>,
    796 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
    797 		   <AE10>, <AE11>, <AE12>,
    798                    { <BKSP>, shape="WIDER", color="grey30" }
    799 	    };
    800 	};
    801 	row {
    802 	    top = 20;
    803 	    keys { { <TAB>, shape="NARR", color="grey30" },
    804 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    805 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    806 		   <AD11>, <AD12>, { <AD13>, shape="NARR" }
    807 	    };
    808 	};
    809 	row {
    810 	    top = 39;
    811 	    keys { { <CAPS>, color="grey30" },
    812 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    813 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    814 		   <AC11>, { <RTRN>, shape="WIDEST", color="grey30" }
    815 	    };
    816 	};
    817 	row {
    818 	    top = 58;
    819 	    keys { { <LFSH>, shape="WIDEST", color="grey30" },
    820 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    821 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
    822 		    { <RTSH>, shape="WIDER", color="grey30" }
    823 	    };
    824 	};
    825 	row {
    826             left = 57;
    827 	    top = 77;
    828 	    keys { <AE00>, <LSGT> };
    829 	};
    830     }; // End of "Alpha" section
    831 
    832     alias <AC00> = <CAPS>;
    833     alias <AA00> = <LCTL>;
    834 }; // End of "pc86" geometry
    835 
    836 xkb_geometry "pc104alt" {
    837 
    838     description= "Generic 104-key PC with L-shaped Enter key";
    839     width= 470;
    840     height= 210;
    841 
    842     shape.cornerRadius= 1;
    843     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
    844     shape "BKSP" { { [ 19,18] }, { [2,1], [ 17,16] } };
    845     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
    846 //    shape "RTRN" { { [ 0,19 ], [ 0,37 ], [ 42,37 ], [ 42,0 ], [ 14,0 ], [ 14,19 ] },
    847 //                   { [ 2,20 ], [ 2,35 ], [ 40,35 ], [ 40,1 ], [ 16,1 ], [ 16,20 ] },
    848 //                   approx = { [ 17,21 ], [ 39,34 ] }
    849 //                 };
    850     shape "RTRN" { { [ -14,19 ], [ -14,37 ], [ 28,37 ], [ 28,0 ], [ 0,0 ], [ 0,19 ] },
    851                    { [ -12,20 ], [ -12,35 ], [ 26,35 ], [ 26,1 ], [ 2,1 ], [ 2,20 ] },
    852                    approx = { [ 3,21 ], [ 25,34 ] }
    853                  };
    854     shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
    855     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
    856     shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
    857     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
    858     shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
    859     shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
    860     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
    861     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
    862 
    863     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
    864     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
    865     solid "LedPanel" {
    866 	shape= "LEDS";
    867 	top=  52;
    868 	left= 377;
    869 	color= "grey10";
    870     };
    871 
    872     indicator.onColor= "green";
    873     indicator.offColor= "green30";
    874     indicator.top= 67;
    875     indicator.shape= "LED";
    876     indicator "Num Lock"     { left= 382; };
    877     indicator "Caps Lock"    { left= 407; };
    878     indicator "Scroll Lock"  { left= 433; };
    879     text.top= 55;
    880     text.color= "black";
    881     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
    882     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
    883     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
    884 
    885     section.left= 19;
    886     row.left= 1;
    887     key.shape= "NORM";
    888     key.gap=  1;
    889     section "Function" {
    890 	top= 52;
    891 	row {
    892 	    top= 1;
    893 	    keys {  { <ESC>, color="grey20" },
    894 		    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
    895 		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
    896 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
    897 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
    898 	    };
    899 	};
    900     }; // End of "Function" section
    901 
    902     section "Alpha" {
    903 	top= 91;
    904 	row {
    905 	    top= 1;
    906 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
    907 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
    908 		   <AE10>, <AE11>, <AE12>, <BKSL>,
    909 		   { <BKSP>, "BKSP", color="grey20" }
    910 	    };
    911 	};
    912 	row {
    913 	    top= 20;
    914 	    keys { { <TAB>, "TABK", color="grey20" },
    915 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    916 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    917 //		   <AD11>, <AD12>, { <RTRN>, -13, "RTRN", color="grey20" }
    918 		   <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
    919 	    };
    920 	};
    921 	row {
    922 	    top= 39;
    923 	    keys { { <CAPS>, "CAPS", color="grey20" },
    924 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    925 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    926 		   <AC11>
    927 	    };
    928 	};
    929 	row {
    930 	    top= 58;
    931 	    keys { { <LFSH>, "LFSH", color="grey20" },
    932 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    933 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    934 		    { <RTSH>, "RTSH", color="grey20" }
    935 	    };
    936 	};
    937 	row {
    938 	    top= 77;
    939 	    key.shape= "SMOD";
    940 	    key.color= "grey20";
    941 	    keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
    942 		   { <SPCE>, "SPCE", color="white" },
    943 		   <RALT>, <RWIN>, <MENU>, <RCTL>
    944 	    };
    945 	};
    946     }; // End of "Alpha" section
    947 
    948     section "Editing" {
    949 	top= 91;
    950 	left= 312;
    951 	key.color= "grey20";
    952 	row {
    953 	    top= 1;
    954 	    keys { <INS>, <HOME>, <PGUP> };
    955 	};
    956         row {
    957 	    top= 20;
    958 	    keys { <DELE>, <END>, <PGDN> };
    959 	};
    960 	row {
    961 	    top= 58;
    962 	    left= 20;
    963 	    keys { <UP> };
    964 	};
    965 	row {
    966 	    top= 77;
    967 	    keys { <LEFT>, <DOWN>, <RGHT> };
    968 	};
    969     }; // End of "Editing" section
    970 
    971     section "Keypad" {
    972 	top= 91;
    973 	left= 376;
    974 	row {
    975 	    top= 1;
    976 	    key.color= "grey20";
    977 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    978 	};
    979 	row {
    980 	    top= 20;
    981 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
    982 	};
    983 	row {
    984 	    top= 39;
    985 	    keys { <KP4>, <KP5>, <KP6> };
    986 	};
    987 	row {
    988 	    top= 58;
    989 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
    990 	};
    991 	row {
    992 	    top= 77;
    993 	    keys { { <KP0>, "KP0" }, <KPDL> };
    994 	};
    995     }; // End of "Keypad" section
    996 
    997     alias <AC00> = <CAPS>;
    998     alias <AA00> = <LCTL>;
    999 
   1000 }; // End of "pc104alt" geometry
   1001