Home | History | Annotate | Line # | Download | only in geometry
pc revision 1.1.1.6
      1 // $Xorg: pc,v 1.4 2001/02/09 02:05:50 xorgcvs Exp $
      2 //
      3 //Copyright 1996, 1998  The Open Group
      4 //
      5 //Permission to use, copy, modify, distribute, and sell this software and its
      6 //documentation for any purpose is hereby granted without fee, provided that
      7 //the above copyright notice appear in all copies and that both that
      8 //copyright notice and this permission notice appear in supporting
      9 //documentation.
     10 //
     11 //The above copyright notice and this permission notice shall be
     12 //included in all copies or substantial portions of the Software.
     13 //
     14 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
     15 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     16 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
     17 //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
     18 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
     19 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
     20 //OTHER DEALINGS IN THE SOFTWARE.
     21 //
     22 //Except as contained in this notice, the name of The Open Group shall
     23 //not be used in advertising or otherwise to promote the sale, use or
     24 //other dealings in this Software without prior written authorization
     25 //from The Open Group.
     26 //
     27 // $XFree86: xc/programs/xkbcomp/geometry/pc,v 3.14 2003/08/09 14:30:47 pascal Exp $
     28 
     29 default xkb_geometry "pc101" {
     30 
     31     description= "Generic 101";
     32     width= 470;
     33     height= 180;
     34 
     35     shape.cornerRadius= 1;
     36     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
     37     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
     38     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
     39     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
     40     shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
     41     shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
     42     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
     43     shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
     44     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
     45     shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
     46     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
     47     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
     48 
     49     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
     50     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
     51     solid "LedPanel" {
     52 	shape= "LEDS";
     53 	top=  22;
     54 	left= 377;
     55 	color= "grey10";
     56     };
     57 
     58     indicator.onColor= "green";
     59     indicator.offColor= "green30";
     60     indicator.top= 37;
     61     indicator.shape= "LED";
     62     indicator "Num Lock"     { left= 382; };
     63     indicator "Caps Lock"    { left= 407; };
     64     indicator "Scroll Lock"  { left= 433; };
     65     text.top= 25;
     66     text.color= "black";
     67     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
     68     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
     69     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
     70 
     71     section.left= 19;
     72     row.left= 1;
     73     key.shape= "NORM";
     74     key.gap=  1;
     75     section "Function" {
     76 	top= 22;
     77 	row {
     78 	    top= 1;
     79 	    keys {  { <ESC>, color="grey20" },
     80 		    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
     81 		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
     82 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
     83 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
     84 	    };
     85 	};
     86     }; // End of "Function" section
     87 
     88     section "Alpha" {
     89 	top= 61;
     90 	row {
     91 	    top= 1;
     92 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
     93 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
     94 		   <AE10>, <AE11>, <AE12>,
     95 		   { <BKSP>, "BKSP", color="grey20" }
     96 	    };
     97 	};
     98 	row {
     99 	    top= 20;
    100 	    keys { { <TAB>, "TABK", color="grey20" },
    101 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    102 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    103 		   <AD11>, <AD12>, { <BKSL>, "BKSL" }
    104 	    };
    105 	};
    106 	row {
    107 	    top= 39;
    108 	    keys { { <CAPS>, "CAPS", color="grey20" },
    109 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    110 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    111 		   <AC11>, { <RTRN>, "RTRN", color="grey20" }
    112 	    };
    113 	};
    114 	row {
    115 	    top= 58;
    116 	    keys { { <LFSH>, "LFSH", color="grey20" },
    117 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    118 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    119 		    { <RTSH>, "RTSH", color="grey20" }
    120 	    };
    121 	};
    122 	row {
    123 	    top= 77;
    124 	    key.shape= "MODK";
    125 	    key.color= "grey20";
    126 	    keys { <LCTL>, { <LALT>, 21 },
    127 		   { <SPCE>, "SPCE", color="white" },
    128 		   <RALT>, { <RCTL>, 21 }
    129 	    };
    130 	};
    131     }; // End of "Alpha" section
    132 
    133     section "Editing" {
    134 	top= 61;
    135 	left= 312;
    136 	key.color= "grey20";
    137 	row {
    138 	    top= 1;
    139 	    keys { <INS>, <HOME>, <PGUP> };
    140 	};
    141         row {
    142 	    top= 20;
    143 	    keys { <DELE>, <END>, <PGDN> };
    144 	};
    145 	row {
    146 	    top= 58;
    147 	    left= 20;
    148 	    keys { <UP> };
    149 	};
    150 	row {
    151 	    top= 77;
    152 	    keys { <LEFT>, <DOWN>, <RGHT> };
    153 	};
    154     }; // End of "Editing" section
    155 
    156     section "Keypad" {
    157 	top= 61;
    158 	left= 376;
    159 	row {
    160 	    top= 1;
    161 	    key.color= "grey20";
    162 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    163 	};
    164 	row {
    165 	    top= 20;
    166 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
    167 	};
    168 	row {
    169 	    top= 39;
    170 	    keys { <KP4>, <KP5>, <KP6> };
    171 	};
    172 	row {
    173 	    top= 58;
    174 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
    175 	};
    176 	row {
    177 	    top= 77;
    178 	    keys { { <KP0>, "KP0" }, <KPDL> };
    179 	};
    180     }; // End of "Keypad" section
    181 
    182     alias <AC00> = <CAPS>;
    183     alias <AA00> = <LCTL>;
    184 
    185 }; // End of "default" geometry
    186 
    187 xkb_geometry "pc102" {
    188 
    189     description= "Generic 102";
    190     width= 470;
    191     height= 180;
    192 
    193     shape.cornerRadius= 1;
    194     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
    195     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
    196     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
    197     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
    198     shape "RTRN" {
    199         { [0,0], [28,0], [28,37], [5,37], [5,18], [0,18] },
    200         { [2,1], [26,1], [26,35], [7,35], [7,16], [2,16] } };
    201     shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
    202     shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } };
    203     shape "RTSH" { { [ 50,18] }, { [2,1], [ 48,16] } };
    204     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
    205     shape "SPCE" { { [134,18] }, { [2,1], [132,16] } };
    206     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
    207     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
    208 
    209     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
    210     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
    211     solid "LedPanel" {
    212 	shape= "LEDS";
    213 	top=  22;
    214 	left= 377;
    215 	color= "grey10";
    216     };
    217 
    218     indicator.onColor= "green";
    219     indicator.offColor= "green30";
    220     indicator.top= 37;
    221     indicator.shape= "LED";
    222     indicator "Num Lock"     { left= 382; };
    223     indicator "Caps Lock"    { left= 407; };
    224     indicator "Scroll Lock"  { left= 433; };
    225     text.top= 25;
    226     text.color= "black";
    227     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
    228     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
    229     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
    230 
    231     section.left= 19;
    232     row.left= 1;
    233     key.shape= "NORM";
    234     key.gap=  1;
    235     section "Function" {
    236 	top= 22;
    237 	row {
    238 	    top= 1;
    239 	    keys {  { <ESC>, "TABK", color="grey20" },
    240 		    { <FK01>, 10 }, <FK02>, <FK03>, <FK04>,
    241 		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
    242 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
    243 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
    244 	    };
    245 	};
    246     }; // End of "Function" section
    247 
    248     section "Alpha" {
    249 	top= 61;
    250 	row {
    251 	    top= 1;
    252 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
    253 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
    254 		   <AE10>, <AE11>, <AE12>, 
    255 		   { <BKSP>, "BKSP", color="grey20" }
    256 	    };
    257 	};
    258 	row {
    259 	    top= 20;
    260 	    keys { { <TAB>, "TABK", color="grey20" },
    261 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    262 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    263 		   <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
    264 	    };
    265 	};
    266 	row {
    267 	    top= 39;
    268 	    keys { { <CAPS>, "CAPS", color="grey20" },
    269 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    270 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    271 		   <AC11>, <BKSL>
    272 	    };
    273 	};
    274 	row {
    275 	    top= 58;
    276 	    keys { { <LFSH>, "LFSH", color="grey20" },
    277 		    <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    278 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    279 		    { <RTSH>, "RTSH", color="grey20" }
    280 	    };
    281 	};
    282 	row {
    283 	    top= 77;
    284 	    key.shape= "MODK";
    285 	    key.color= "grey20";
    286 	    keys { <LCTL>, { <LALT>, 20 },
    287 		   { <SPCE>, "SPCE", color="white" },
    288 		   <RALT>, { <RCTL>, 21 }
    289 	    };
    290 	};
    291     }; // End of "Alpha" section
    292 
    293     section "Editing" {
    294 	top= 61;
    295 	left= 312;
    296 	key.color= "grey20";
    297 	row {
    298 	    top= 1;
    299 	    keys { <INS>, <HOME>, <PGUP> };
    300 	};
    301         row {
    302 	    top= 20;
    303 	    keys { <DELE>, <END>, <PGDN> };
    304 	};
    305 	row {
    306 	    top= 58;
    307 	    left= 20;
    308 	    keys { <UP> };
    309 	};
    310 	row {
    311 	    top= 77;
    312 	    keys { <LEFT>, <DOWN>, <RGHT> };
    313 	};
    314     }; // End of "Editing" section
    315 
    316     section "Keypad" {
    317 	top= 61;
    318 	left= 376;
    319 	row {
    320 	    top= 1;
    321 	    key.color= "grey20";
    322 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    323 	};
    324 	row {
    325 	    top= 20;
    326 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
    327 	};
    328 	row {
    329 	    top= 39;
    330 	    keys { <KP4>, <KP5>, <KP6> };
    331 	};
    332 	row {
    333 	    top= 58;
    334 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
    335 	};
    336 	row {
    337 	    top= 77;
    338 	    keys { { <KP0>, "KP0" }, <KPDL> };
    339 	};
    340     }; // End of "Keypad" section
    341 
    342     alias <AC00> = <CAPS>;
    343     alias <AA00> = <LCTL>;
    344 
    345 }; // End of "pc102" geometry
    346 
    347 xkb_geometry "pc104" {
    348 
    349     description= "Generic 104";
    350     width= 470;
    351     height= 180;
    352 
    353     shape.cornerRadius= 1;
    354     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
    355     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
    356     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
    357     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
    358     shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
    359     shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
    360     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
    361     shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
    362     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
    363     shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
    364     shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
    365     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
    366     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
    367 
    368     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
    369     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
    370     solid "LedPanel" {
    371 	shape= "LEDS";
    372 	top=  22;
    373 	left= 377;
    374 	color= "grey10";
    375     };
    376 
    377     indicator.onColor= "green";
    378     indicator.offColor= "green30";
    379     indicator.top= 37;
    380     indicator.shape= "LED";
    381     indicator "Num Lock"     { left= 382; };
    382     indicator "Caps Lock"    { left= 407; };
    383     indicator "Scroll Lock"  { left= 433; };
    384     text.top= 25;
    385     text.color= "black";
    386     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
    387     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
    388     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
    389 
    390     section.left= 19;
    391     row.left= 1;
    392     key.shape= "NORM";
    393     key.gap=  1;
    394     section "Function" {
    395 	top= 22;
    396 	row {
    397 	    top= 1;
    398 	    keys {  { <ESC>, color="grey20" },
    399 		    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
    400 		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
    401 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
    402 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
    403 	    };
    404 	};
    405     }; // End of "Function" section
    406 
    407     section "Alpha" {
    408 	top= 61;
    409 	row {
    410 	    top= 1;
    411 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
    412 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
    413 		   <AE10>, <AE11>, <AE12>,
    414 		   { <BKSP>, "BKSP", color="grey20" }
    415 	    };
    416 	};
    417 	row {
    418 	    top= 20;
    419 	    keys { { <TAB>, "TABK", color="grey20" },
    420 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    421 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    422 		   <AD11>, <AD12>, { <BKSL>, "BKSL" }
    423 	    };
    424 	};
    425 	row {
    426 	    top= 39;
    427 	    keys { { <CAPS>, "CAPS", color="grey20" },
    428 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    429 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    430 		   <AC11>, { <RTRN>, "RTRN", color="grey20" }
    431 	    };
    432 	};
    433 	row {
    434 	    top= 58;
    435 	    keys { { <LFSH>, "LFSH", color="grey20" },
    436 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    437 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    438 		    { <RTSH>, "RTSH", color="grey20" }
    439 	    };
    440 	};
    441 	row {
    442 	    top= 77;
    443 	    key.shape= "SMOD";
    444 	    key.color= "grey20";
    445 	    keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
    446 		   { <SPCE>, "SPCE", color="white" },
    447 		   <RALT>, <RWIN>, <MENU>, <RCTL>
    448 	    };
    449 	};
    450     }; // End of "Alpha" section
    451 
    452     section "Editing" {
    453 	top= 61;
    454 	left= 312;
    455 	key.color= "grey20";
    456 	row {
    457 	    top= 1;
    458 	    keys { <INS>, <HOME>, <PGUP> };
    459 	};
    460         row {
    461 	    top= 20;
    462 	    keys { <DELE>, <END>, <PGDN> };
    463 	};
    464 	row {
    465 	    top= 58;
    466 	    left= 20;
    467 	    keys { <UP> };
    468 	};
    469 	row {
    470 	    top= 77;
    471 	    keys { <LEFT>, <DOWN>, <RGHT> };
    472 	};
    473     }; // End of "Editing" section
    474 
    475     section "Keypad" {
    476 	top= 61;
    477 	left= 376;
    478 	row {
    479 	    top= 1;
    480 	    key.color= "grey20";
    481 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    482 	};
    483 	row {
    484 	    top= 20;
    485 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
    486 	};
    487 	row {
    488 	    top= 39;
    489 	    keys { <KP4>, <KP5>, <KP6> };
    490 	};
    491 	row {
    492 	    top= 58;
    493 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
    494 	};
    495 	row {
    496 	    top= 77;
    497 	    keys { { <KP0>, "KP0" }, <KPDL> };
    498 	};
    499     }; // End of "Keypad" section
    500 
    501     alias <AC00> = <CAPS>;
    502     alias <AA00> = <LCTL>;
    503 
    504 }; // End of "pc104" geometry
    505 
    506 xkb_geometry "pc105" {
    507 
    508     description= "Generic 105";
    509     width= 470;
    510     height= 180;
    511 
    512     shape.cornerRadius= 1;
    513 
    514     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
    515     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
    516     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
    517     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
    518     shape "RTRN" {
    519         { [0,0], [28,0], [28,37], [5,37], [5,18], [0,18] } ,
    520         { [2,1], [26,1], [26,35], [7,35], [7,16], [2,16] } ,
    521         approx = { [5,0], [28,37] } };
    522     shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
    523     shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } };
    524     shape "RTSH" { { [ 50,18] }, { [2,1], [ 48,16] } };
    525     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
    526     shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
    527     shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
    528     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
    529     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
    530 
    531     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
    532     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
    533     solid "LedPanel" {
    534 	shape= "LEDS";
    535 	top=  22;
    536 	left= 377;
    537 	color= "grey10";
    538     };
    539 
    540     indicator.onColor= "green";
    541     indicator.offColor= "green30";
    542     indicator.top= 37;
    543     indicator.shape= "LED";
    544     indicator "Num Lock"     { left= 382; };
    545     indicator "Caps Lock"    { left= 407; };
    546     indicator "Scroll Lock"  { left= 433; };
    547     text.top= 25;
    548     text.color= "black";
    549     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
    550     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
    551     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
    552 
    553     section.left= 19;
    554     row.left= 1;
    555     key.shape= "NORM";
    556     key.gap=  1;
    557     section "Function" {
    558 	top= 22;
    559 	row {
    560 	    top= 1;
    561 	    keys {  { <ESC>, color="grey20" },
    562 		    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
    563 		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
    564 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
    565 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
    566 	    };
    567 	};
    568     }; // End of "Function" section
    569 
    570     section "Alpha" {
    571 	top= 61;
    572 	row {
    573 	    top= 1;
    574 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
    575 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
    576 		   <AE10>, <AE11>, <AE12>,
    577 		   { <BKSP>, "BKSP", color="grey20" }
    578 	    };
    579 	};
    580 	row {
    581 	    top= 20;
    582 	    keys { { <TAB>, "TABK", color="grey20" },
    583 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    584 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    585 		   <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" } 
    586 	    };
    587 	};
    588 	row {
    589 	    top= 39;
    590 	    keys { { <CAPS>, "CAPS", color="grey20" },
    591 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    592 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    593 		   <AC11>, <BKSL> 
    594 	    };
    595 	};
    596 	row {
    597 	    top= 58;
    598 	    keys { { <LFSH>, "LFSH", color="grey20" },
    599 		    <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    600 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    601 		    { <RTSH>, "RTSH", color="grey20" }
    602 	    };
    603 	};
    604 	row {
    605 	    top= 77;
    606 	    key.shape= "SMOD";
    607 	    key.color= "grey20";
    608 	    keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
    609 		   { <SPCE>, "SPCE", color="white" },
    610 		   <RALT>, <RWIN>, <MENU>, <RCTL>
    611 	    };
    612 	};
    613     }; // End of "Alpha" section
    614 
    615     section "Editing" {
    616 	top= 61;
    617 	left= 312;
    618 	key.color= "grey20";
    619 	row {
    620 	    top= 1;
    621 	    keys { <INS>, <HOME>, <PGUP> };
    622 	};
    623         row {
    624 	    top= 20;
    625 	    keys { <DELE>, <END>, <PGDN> };
    626 	};
    627 	row {
    628 	    top= 58;
    629 	    left= 20;
    630 	    keys { <UP> };
    631 	};
    632 	row {
    633 	    top= 77;
    634 	    keys { <LEFT>, <DOWN>, <RGHT> };
    635 	};
    636     }; // End of "Editing" section
    637 
    638     section "Keypad" {
    639 	top= 61;
    640 	left= 376;
    641 	row {
    642 	    top= 1;
    643 	    key.color= "grey20";
    644 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    645 	};
    646 	row {
    647 	    top= 20;
    648 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
    649 	};
    650 	row {
    651 	    top= 39;
    652 	    keys { <KP4>, <KP5>, <KP6> };
    653 	};
    654 	row {
    655 	    top= 58;
    656 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
    657 	};
    658 	row {
    659 	    top= 77;
    660 	    keys { { <KP0>, "KP0" }, <KPDL> };
    661 	};
    662     }; // End of "Keypad" section
    663 
    664     alias <AC00> = <CAPS>;
    665     alias <AA00> = <LCTL>;
    666 
    667 }; // End of "pc105" geometry
    668 
    669 
    670 // Added for japanese 106 keyboard
    671 //                     by tsuka (a] kawalab.dnj.ynu.ac.jp .
    672 xkb_geometry "jp106" {
    673 
    674     description= "Japanese 106";
    675     width= 470;
    676     height= 180;
    677 
    678     shape.cornerRadius= 1;
    679     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
    680     shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
    681     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
    682     shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } };
    683     shape "RTRN" {
    684         { [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } ,
    685         { [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } };
    686     shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
    687     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
    688     shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } };
    689     shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
    690     shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } };
    691     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,17] } };
    692     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
    693 
    694     shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
    695     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
    696     solid "LedPanel" {
    697 	shape= "LEDS";
    698 	top=  25;
    699 	left= 375;
    700 	color= "grey10";
    701     };
    702 
    703     indicator.onColor= "green";
    704     indicator.offColor= "green30";
    705     indicator.top= 40;
    706     indicator.shape= "LED";
    707     indicator "Num Lock"     { left= 379; };
    708     indicator "Caps Lock"    { left= 404; };
    709     indicator "Scroll Lock"  { left= 429; };
    710     text.top= 28;
    711     text.color= "black";
    712     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
    713     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
    714     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
    715 
    716     section.left= 19;
    717     row.left= 1;
    718     key.shape= "NORM";
    719     key.gap=  1;
    720     section "Function" {
    721 	top= 25;
    722 	row {
    723 	    top= 1;
    724 	    keys {  { <ESC>, color="grey20" },
    725 		    { <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
    726 		    { <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"}, 
    727 		    { <FK07>, color="grey20"}, {<FK08>,color="grey20"},
    728 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
    729 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
    730 	    };
    731 	};
    732     }; // End of "Function" section
    733 
    734     section "Alpha" {
    735 	top= 61;
    736 	row {
    737 	    top= 1;
    738 	    keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>, 
    739                     <AE03>, <AE04>, <AE05>, <AE06>, <AE07>, 
    740 	            <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
    741 		    <AE13>, { <BKSP>, "BKSP", color="grey20" }
    742 	    };
    743 	};
    744 	row {
    745 	    top= 20;
    746 	    keys { { <TAB>, "TABK", color="grey20" },
    747 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    748 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    749 		   <AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" }
    750 	    };
    751 	};
    752 	row {
    753 	    top= 39;
    754 	    keys { { <CAPS>, "CAPS", color="grey20" },
    755 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    756 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    757 		   <AC11>, <AC12>
    758 	    };
    759 	};
    760 	row {
    761 	    top= 58;
    762 	    keys { { <LFSH>, "LFSH", color="grey20" },
    763 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    764 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    765 		    <AB11>, { <RTSH>, "RTSH", color="grey20" }
    766 	    };
    767 	};
    768 	row {
    769 	    top= 77;
    770 	    key.shape= "MODK";
    771 	    key.color= "grey20";
    772 	    keys { <LCTL>, { <LALT>, 20 },<NFER>,
    773 		   { <SPCE>, "SPCE", color="white" },
    774 		   <XFER>,<HKTG>,<RALT>, { <RCTL>, 17 }
    775 	    };
    776 	};
    777     }; // End of "Alpha" section
    778 
    779     section "Editing" {
    780 	top= 61;
    781 	left= 310;
    782 	key.color= "grey20";
    783 	row {
    784 	    top= 1;
    785 	    keys { <INS>, <HOME>, <PGUP> };
    786 	};
    787         row {
    788 	    top= 20;
    789 	    keys { <DELE>, <END>, <PGDN> };
    790 	};
    791 	row {
    792 	    top= 58;
    793 	    left= 20;
    794 	    keys { <UP> };
    795 	};
    796 	row {
    797 	    top= 77;
    798 	    keys { <LEFT>, <DOWN>, <RGHT> };
    799 	};
    800     }; // End of "Editing" section
    801 
    802     section "Keypad" {
    803 	top= 61;
    804 	left= 375;
    805 	row {
    806 	    top= 1;
    807 	    key.color= "grey20";
    808 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    809 	};
    810 	row {
    811 	    top= 20;
    812 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
    813 	};
    814 	row {
    815 	    top= 39;
    816 	    keys { <KP4>, <KP5>, <KP6> };
    817 	};
    818 	row {
    819 	    top= 58;
    820 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
    821 	};
    822 	row {
    823 	    top= 77;
    824 	    keys { { <KP0>, "KP0" }, <KPDL> };
    825 	};
    826     }; // End of "Keypad" section
    827 
    828     alias <AC00> = <CAPS>;
    829     alias <AA00> = <LCTL>;
    830 
    831 }; // End of "jp106" geometry
    832 
    833 // Added for brazilian ABNT2 by Ricardo Y. Igarashi(iga (a] that.com.br)
    834 xkb_geometry "abnt2" {
    835     include "pc(pc105)"
    836 
    837     description= "Brazilian ABNT2";
    838 
    839     shape "RTRN" {
    840         { [0,0],[ 28,0],[28,37],[4,37],[4,18],[0,18] } ,
    841         { [2,1],[ 26,1],[26,36],[5,36],[5,18],[2,18] } };
    842     shape "RTSH" { { [ 31,18] }, { [2,1], [ 29,16] } };
    843 
    844     section.left= 19;
    845     row.left= 1;
    846     key.shape= "NORM";
    847     key.gap=  1;
    848     section "Alpha" {
    849 	top= 61;
    850 	row {
    851 	    top= 20;
    852 	    keys { { <TAB>, "TABK", color="grey20" },
    853 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    854 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    855 		   <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
    856 	    };
    857 	};
    858 	row {
    859 	    top= 39;
    860 	    keys { { <CAPS>, "CAPS", color="grey20" },
    861 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    862 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    863 		   <AC11>, <BKSL>
    864 	    };
    865 	};
    866 	row {
    867 	    top= 58;
    868 	    keys { { <LFSH>, "LFSH", color="grey20" },
    869 		    <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    870 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
    871 		    { <RTSH>, "RTSH", color="grey20" }
    872 	    };
    873 	};
    874     }; // End of "Alpha" section
    875 
    876     section "Keypad" {
    877 	top= 61;
    878 	left= 376;
    879 	row {
    880 	    top= 20;
    881 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, color="grey20" } };
    882 	};
    883 	row {
    884 	    top= 39;
    885 	    keys { <KP4>, <KP5>, <KP6>, { <KPPT>, color="grey20" } };
    886 	};
    887     }; // End of "Keypad" section
    888 
    889 }; // End of "abnt2" geometry
    890 
    891 
    892 // Created by Alexander Pohoyda <alexander.pohoyda (a] gmx.net>
    893 
    894 xkb_geometry "pc86" {
    895     description = "Noname keyboard with 86 keys, DE";
    896     width = 287;
    897     height = 143;
    898     baseColor = "grey20";
    899 
    900     shape "EDGE" { cornerRadius = 2, { [287, 143] } };
    901     shape "LED"  { cornerRadius = 2, { [3, 3] } };
    902     shape "LEDS" { cornerRadius = 0, { [75, 5] } };
    903     shape "KEYS" { cornerRadius = 0, { [271, 109] } };
    904 
    905     outline "Edges" {
    906         top = 0;
    907         left = 0;
    908         shape = "EDGE";
    909         color = "black";
    910     };
    911 
    912     solid "KeyPanel" {
    913 	shape = "KEYS";
    914 	left = 8;
    915 	top = 22;
    916 	color = "grey70";
    917     };
    918 
    919     solid "LedPanel" {
    920 	shape = "LEDS";
    921 	left = 212;
    922 	top = 10;
    923 	color = "black";
    924     };
    925 
    926     indicator.onColor = "green";
    927     indicator.offColor = "green30";
    928     indicator.top = 11;
    929     indicator.shape = "LED";
    930     indicator "Num Lock"     { left = 212 + 7; };
    931     indicator "Caps Lock"    { left = 212 + 23; };
    932     indicator "Scroll Lock"  { left = 212 + 39; };
    933     text.fontSize = 6;
    934     text.top = 10;
    935     text.color = "white";
    936     text "NumLockLabel"     { left = 212 + 7 + 5; text = "Num\nLock"; };
    937     text "CapsLockLabel"    { left = 212 + 23 + 5; text = "Caps\nLock"; };
    938     text "ScrollLockLabel"  { left = 212 + 39 + 5; text = "Scroll\nLock"; };
    939 
    940     shape.cornerRadius = 1;
    941     shape "SMALL"  { { [15, 12] }, { [1.5, 0], [13.5, 10] } };
    942     shape "NARR"   { { [13, 18] }, { [1.5, 0], [11.5, 14] } };
    943     shape "NORM"   { { [18, 18] }, { [3, 0], [15, 14] } };
    944     shape "NORM_1" { { [22, 18] }, { [4, 0], [22, 18] },
    945                                    { [7, 0], [19, 14] } };
    946     shape "WIDER"  { { [23, 18] }, { [3, 0], [20, 14] } };
    947     shape "WIDEST" { { [27, 18] }, { [3, 0], [24, 14] } };
    948     shape "SPCE"   { { [75, 18] }, { [3, 0], [72, 14] } };
    949 
    950     section "Function" {
    951 	key.shape = "SMALL";
    952 	key.gap = 0.99;
    953 	key.color = "grey30";
    954 	left = 8;
    955 	top = 22;
    956 	row {
    957 	    top = 1;
    958 	    keys {  <ESC>,
    959 	    	    <FK01>, <FK02>, <FK03>, <FK04>,
    960 		    <FK05>, <FK06>, <FK07>, <FK08>,
    961 		    <FK09>, <FK10>, <FK11>, <FK12>,
    962 		    <NMLK>, <PRSC>, <SCLK>, <PAUS>
    963 	    };
    964 	};
    965     }; // End of "Function" section
    966 
    967     section "Control" {
    968 	key.shape = "NORM";
    969 	key.gap = 1;
    970 	key.color = "grey30";
    971         left = 8;
    972 	top = 111;
    973 	row {
    974 	    top = 1;
    975 	    keys { <LCTL>, <FN>, <LALT>,
    976 	           { <SPCE>, shape="SPCE", 39 }, <RALT>,
    977 		   <INS>, <DELE>
    978 	    };
    979 	};
    980     }; // End of "Control" section
    981 
    982     section "Editing" {
    983         key.shape = "NARR";
    984 	key.gap = 1;
    985 	key.color = "grey30";
    986 	left = 265;
    987 	top = 34;
    988         row.vertical = True;
    989 	row {
    990 	    top = 1;
    991 	    keys { <HOME>, <PGUP>, <PGDN>, <END> };
    992 	};
    993     }; // End of "Editing" section
    994 
    995     section "Navigation" {
    996 	key.gap = 1;
    997 	key.shape = "NARR";
    998 	key.color = "grey30";
    999 	left = 236;
   1000 	top = 92;
   1001 	row {
   1002 	    left = 14;
   1003 	    top = 1;
   1004 	    keys { <UP> };
   1005 	};
   1006 	row {
   1007 	    top = 20;
   1008 	    keys { <LEFT>, <DOWN>, <RGHT> };
   1009 	};
   1010     }; // End of "Navigation" section
   1011 
   1012     section "Alpha" {
   1013 	key.gap = 1;
   1014 	key.shape = "NORM";
   1015 	key.color = "grey10";
   1016         left = 8;
   1017 	top = 35;
   1018 	row {
   1019 	    top = 1;
   1020 	    keys { { <AE01>, shape="NORM_1" }, <AE02>, <AE03>, <AE04>,
   1021 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
   1022 		   <AE10>, <AE11>, <AE12>,
   1023                    { <BKSP>, shape="WIDER", color="grey30" }
   1024 	    };
   1025 	};
   1026 	row {
   1027 	    top = 20;
   1028 	    keys { { <TAB>, shape="NARR", color="grey30" },
   1029 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
   1030 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
   1031 		   <AD11>, <AD12>, { <AD13>, shape="NARR" }
   1032 	    };
   1033 	};
   1034 	row {
   1035 	    top = 39;
   1036 	    keys { { <CAPS>, color="grey30" },
   1037 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
   1038 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
   1039 		   <AC11>, { <RTRN>, shape="WIDEST", color="grey30" }
   1040 	    };
   1041 	};
   1042 	row {
   1043 	    top = 58;
   1044 	    keys { { <LFSH>, shape="WIDEST", color="grey30" },
   1045 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
   1046 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
   1047 		    { <RTSH>, shape="WIDER", color="grey30" }
   1048 	    };
   1049 	};
   1050 	row {
   1051             left = 57;
   1052 	    top = 77;
   1053 	    keys { <AE00>, <LSGT> };
   1054 	};
   1055     }; // End of "Alpha" section
   1056 
   1057     alias <AC00> = <CAPS>;
   1058     alias <AA00> = <LCTL>;
   1059 }; // End of "pc86" geometry
   1060 
   1061 xkb_geometry "kr106" {
   1062 
   1063     description= "Korean 106";
   1064     width= 470;
   1065     height= 180;
   1066 
   1067     shape.cornerRadius= 1;
   1068     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
   1069     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
   1070     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
   1071     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
   1072     shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
   1073     shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
   1074     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
   1075     shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
   1076     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
   1077     shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
   1078     shape "SPCE" { { [ 75,18] }, { [2,1], [ 73,16] } };
   1079     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
   1080     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
   1081 
   1082     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
   1083     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
   1084     solid "LedPanel" {
   1085 	shape= "LEDS";
   1086 	top=  22;
   1087 	left= 377;
   1088 	color= "grey10";
   1089     };
   1090 
   1091     indicator.onColor= "green";
   1092     indicator.offColor= "green30";
   1093     indicator.top= 37;
   1094     indicator.shape= "LED";
   1095     indicator "Num Lock"     { left= 382; };
   1096     indicator "Caps Lock"    { left= 407; };
   1097     indicator "Scroll Lock"  { left= 433; };
   1098     text.top= 25;
   1099     text.color= "black";
   1100     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
   1101     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
   1102     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
   1103 
   1104     section.left= 19;
   1105     row.left= 1;
   1106     key.shape= "NORM";
   1107     key.gap=  1;
   1108     section "Function" {
   1109 	top= 22;
   1110 	row {
   1111 	    top= 1;
   1112 	    keys {  { <ESC>, color="grey20" },
   1113 		    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
   1114 		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
   1115 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
   1116 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
   1117 	    };
   1118 	};
   1119     }; // End of "Function" section
   1120 
   1121     section "Alpha" {
   1122 	top= 61;
   1123 	row {
   1124 	    top= 1;
   1125 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
   1126 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
   1127 		   <AE10>, <AE11>, <AE12>,
   1128 		   { <BKSP>, "BKSP", color="grey20" }
   1129 	    };
   1130 	};
   1131 	row {
   1132 	    top= 20;
   1133 	    keys { { <TAB>, "TABK", color="grey20" },
   1134 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
   1135 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
   1136 		   <AD11>, <AD12>, { <BKSL>, "BKSL" }
   1137 	    };
   1138 	};
   1139 	row {
   1140 	    top= 39;
   1141 	    keys { { <CAPS>, "CAPS", color="grey20" },
   1142 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
   1143 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
   1144 		   <AC11>, { <RTRN>, "RTRN", color="grey20" }
   1145 	    };
   1146 	};
   1147 	row {
   1148 	    top= 58;
   1149 	    keys { { <LFSH>, "LFSH", color="grey20" },
   1150 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
   1151 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
   1152 		    { <RTSH>, "RTSH", color="grey20" }
   1153 	    };
   1154 	};
   1155 	row {
   1156 	    top= 77;
   1157 	    key.shape= "SMOD";
   1158 	    key.color= "grey20";
   1159 	    keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
   1160 		   { <K71>, "NORM", color="white" },
   1161 		   { <SPCE>, "SPCE", color="white" },
   1162 		   { <K72>, "NORM", color="white" },
   1163 		   <RALT>, <RWIN>, <MENU>, <RCTL>
   1164 	    };
   1165 	};
   1166     }; // End of "Alpha" section
   1167 
   1168     section "Editing" {
   1169 	top= 61;
   1170 	left= 312;
   1171 	key.color= "grey20";
   1172 	row {
   1173 	    top= 1;
   1174 	    keys { <INS>, <HOME>, <PGUP> };
   1175 	};
   1176         row {
   1177 	    top= 20;
   1178 	    keys { <DELE>, <END>, <PGDN> };
   1179 	};
   1180 	row {
   1181 	    top= 58;
   1182 	    left= 20;
   1183 	    keys { <UP> };
   1184 	};
   1185 	row {
   1186 	    top= 77;
   1187 	    keys { <LEFT>, <DOWN>, <RGHT> };
   1188 	};
   1189     }; // End of "Editing" section
   1190 
   1191     section "Keypad" {
   1192 	top= 61;
   1193 	left= 376;
   1194 	row {
   1195 	    top= 1;
   1196 	    key.color= "grey20";
   1197 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
   1198 	};
   1199 	row {
   1200 	    top= 20;
   1201 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
   1202 	};
   1203 	row {
   1204 	    top= 39;
   1205 	    keys { <KP4>, <KP5>, <KP6> };
   1206 	};
   1207 	row {
   1208 	    top= 58;
   1209 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
   1210 	};
   1211 	row {
   1212 	    top= 77;
   1213 	    keys { { <KP0>, "KP0" }, <KPDL> };
   1214 	};
   1215     }; // End of "Keypad" section
   1216 
   1217     alias <AC00> = <CAPS>;
   1218     alias <AA00> = <LCTL>;
   1219 
   1220 }; // End of "kr106" geometry
   1221 
   1222 // Based on the pc(pc105) layout. The keypad, sysreq/ScrLk/Break, and multimedia
   1223 // keys are not shown because they are shared with other keys via the <FN> key.
   1224 // This should not be a problem if the normal symbols are used, as the keys will
   1225 // show through normally, they just won't show from xkbprint. For the record,
   1226 // <FN>+<PGUP> = AudioRaise,
   1227 // <FN>+<PGDN> = AudioLower,
   1228 // <FN>+<END> = AudioMute,
   1229 // <FN>+<PRSC> = Sysreq,
   1230 // <FN>+<NMLK> = ScrollLock,
   1231 // <FN>+<BREAK> = <PAUS>,
   1232 // <FN>+7 = KP_7,
   1233 // <FN>+8 = KP_8,
   1234 // <FN>+9 = KP_9,
   1235 // <FN>+0 = KP_MUL,
   1236 // <FN>+U = KP_4,
   1237 // <FN>+I = KP_5,
   1238 // <FN>+O = KP_6,
   1239 // <FN>+P = KP_SUB,
   1240 // <FN>+J = KP_1,
   1241 // <FN>+K = KP_2,
   1242 // <FN>+L = KP_3,
   1243 // <FN>+; = KP_ADD,
   1244 // <FN>+M = KP_INS,
   1245 // <FN>+. = KP_DEL,
   1246 // <FN>+/ = KP_DIV.
   1247 // The other FN combinations aren't passed to X, but are handled by BIOS.
   1248 // <FN> and all keys with <FN> level mappings are marked in grey20.
   1249 //
   1250 // David Cameron Staples <staples (a] cs.mu.oz.au> 2006-05-12
   1251 
   1252 xkb_geometry "latitude" {
   1253 
   1254     description= "Dell Latitude";
   1255     width= 330;
   1256     height= 210;
   1257 
   1258     shape.cornerRadius= 1;
   1259     shape "NORM" { { [ 18  ,18] }, { [2,1  ], [ 16,16] } };
   1260     shape "FUNC" { { [ 16.2,12] }, { [2,0.5], [ 14,10] } };
   1261     shape "ESC"  { { [ 18  ,12] }, { [2,0.5], [ 16,10] } };
   1262     shape "BKSP" { { [ 38  ,18] }, { [2,1  ], [ 36,16] } };
   1263     shape "TABK" { { [ 28  ,18] }, { [2,1  ], [ 26,16] } };
   1264     shape "BKSL" { { [ 28  ,18] }, { [2,1  ], [ 26,16] } };
   1265     shape "RTRN" { { [ 42  ,18] }, { [2,1  ], [ 40,16] } };
   1266     shape "CAPS" { { [ 33  ,18] }, { [2,1  ], [ 26,16] } };
   1267     shape "LFSH" { { [ 42  ,18] }, { [2,1  ], [ 40,16] } };
   1268     shape "RTSH" { { [ 52  ,18] }, { [2,1  ], [ 50,16] } };
   1269     shape "SPCE" { { [ 95  ,18] }, { [2,1  ], [ 93,16] } };
   1270     shape "LCTL" { { [ 28  ,14] }, { [2,1  ], [ 26,12] } };
   1271     shape "LALT" { { [ 22  ,14] }, { [2,1  ], [ 20,12] } };
   1272     shape "WIN"  { { [ 18  ,14] }, { [2,1  ], [ 16,12] } };
   1273 
   1274     shape "LED"  { cornerRadius= 0.5, { [  1,  3 ] } };
   1275 
   1276     indicator.onColor= "green";
   1277     indicator.offColor= "green30";
   1278     indicator.top= 37;
   1279     indicator.shape= "LED";
   1280     indicator "Num Lock"     { left= 138; };
   1281     indicator "Caps Lock"    { left= 150; };
   1282     indicator "Scroll Lock"  { left= 162; };
   1283     text.top= 33;
   1284     text.color= "black";
   1285     text "NumLockLabel"		{ left= 140; text="Num\nLock"; };
   1286     text "CapsLockLabel"	{ left= 152; text="Caps\nLock"; };
   1287     text "ScrollLockLabel"	{ left= 164; text="Scroll\nLock"; };
   1288 
   1289     text "LATITUDE"		{ left= 19; text="L A T I T U D E"; };
   1290 
   1291     section.left= 19;
   1292     row.left= 1;
   1293     key.shape= "NORM";
   1294     key.gap=  1;
   1295     section "Function" {
   1296 	top= 32;
   1297 	key.shape= "FUNC";
   1298 	key.color= "grey20";
   1299 	row {
   1300 	    top= 1;
   1301 	    left= 163.8;
   1302 	    keys {  { <MENU>, color="white" }, <PRSC>, <NMLK>, <PAUS>,
   1303 	            { <INS>, 3, color="white" },
   1304 		    { <HOME>, color="white"}, <PGUP>
   1305             };
   1306 	};
   1307 	row {
   1308 	    top= 14;
   1309 	    keys {  { <ESC>, "ESC" },
   1310 		    { <FK01>, 3 },
   1311 		    { <FK02>, color="white" }, <FK03>,
   1312 		    { <FK04>, color="white" },
   1313 		    { <FK05>, 3 },
   1314 		    { <FK06>, color="white" }, <FK07>, <FK08>,
   1315 		    { <FK09>, 3, color="white" }, <FK10>,
   1316 		    { <FK11>, color="white" }, 
   1317 		    { <FK12>, color="white" },
   1318 		    { <DELE>, 3, color="white" }, <END>, <PGDN> 
   1319 	    };
   1320 	};
   1321     }; // End of "Function" section
   1322 
   1323     section "Alpha" {
   1324 	top= 60;
   1325 	row {
   1326 	    top= 1;
   1327 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
   1328 		   <AE05>, <AE06>, 
   1329 		   { <AE07>, color="grey20" },
   1330 		   { <AE08>, color="grey20" },
   1331 		   { <AE09>, color="grey20" },
   1332 		   { <AE10>, color="grey20" }, <AE11>, <AE12>,
   1333 		   { <BKSP>, "BKSP" }
   1334 	    };
   1335 	};
   1336 	row {
   1337 	    top= 20;
   1338 	    keys { { <TAB>, "TABK" },
   1339 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
   1340 		   <AD06>, 
   1341 		   { <AD07>, color="grey20" },
   1342 		   { <AD08>, color="grey20" },
   1343 		   { <AD09>, color="grey20" },
   1344 		   { <AD10>, color="grey20" },
   1345 		   <AD11>, <AD12>, { <BKSL>, "BKSL" }
   1346 	    };
   1347 	};
   1348 	row {
   1349 	    top= 39;
   1350 	    keys { { <CAPS>, "CAPS" },
   1351 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
   1352 		   <AC06>, 
   1353 		   { <AC07>, color="grey20" },
   1354 		   { <AC08>, color="grey20" },
   1355 		   { <AC09>, color="grey20" },
   1356 		   { <AC10>, color="grey20" },
   1357 		   <AC11>, { <RTRN>, "RTRN" }
   1358 	    };
   1359 	};
   1360 	row {
   1361 	    top= 58;
   1362 	    keys { { <LFSH>, "LFSH" },
   1363 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
   1364 		    <AB06>, 
   1365 		    { <AB07>, color="grey20" }, <AB08>,
   1366 		    { <AB09>, color="grey20" },
   1367 		    { <AB10>, color="grey20" },
   1368 		    { <RTSH>, "RTSH" }
   1369 	    };
   1370 	};
   1371 	row {
   1372 	    top= 77;
   1373 	    key.shape= "WIN";
   1374 	    keys { { <LCTL>, "LCTL" },
   1375 	           { <FN>, color="grey20" },
   1376 		   <LWIN>,
   1377 		   { <LALT>, "LALT" },
   1378 		   { <SPCE>, "SPCE" },
   1379 		   <RALT>,
   1380 		   { <RCTL>, "LALT" }
   1381 	    };
   1382 	};
   1383     }; // End of "Alpha" section
   1384 
   1385     section "Editing" {
   1386 	top= 136;
   1387 	left= 250;
   1388 	key.shape= "FUNC";
   1389 	key.color= "grey20";
   1390 	row {
   1391 	    top= 1;
   1392 	    left= 18.2;
   1393 	    keys { <UP> };
   1394 	};
   1395 	row {
   1396 	    top= 14;
   1397 	    keys { <LEFT>, <DOWN>, <RGHT> };
   1398 	};
   1399     }; // End of "Editing" section
   1400 
   1401     alias <AC00> = <CAPS>;
   1402     alias <AA00> = <LCTL>;
   1403 
   1404 }; // End of "latitude" geometry
   1405 
   1406 xkb_geometry "pc104alt" {
   1407 
   1408     description= "Generic 104 with L-shaped Enter and small Backspace with Backslash left to it";
   1409     width= 470;
   1410     height= 210;
   1411 
   1412     shape.cornerRadius= 1;
   1413     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
   1414     shape "BKSP" { { [ 19,18] }, { [2,1], [ 17,16] } };
   1415     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
   1416 //    shape "RTRN" { { [ 0,19 ], [ 0,37 ], [ 42,37 ], [ 42,0 ], [ 14,0 ], [ 14,19 ] },
   1417 //                   { [ 2,20 ], [ 2,35 ], [ 40,35 ], [ 40,1 ], [ 16,1 ], [ 16,20 ] },
   1418 //                   approx = { [ 17,21 ], [ 39,34 ] }
   1419 //                 };
   1420     shape "RTRN" { { [ -14,19 ], [ -14,37 ], [ 28,37 ], [ 28,0 ], [ 0,0 ], [ 0,19 ] },
   1421                    { [ -12,20 ], [ -12,35 ], [ 26,35 ], [ 26,1 ], [ 2,1 ], [ 2,20 ] },
   1422                    approx = { [ 3,21 ], [ 25,34 ] }
   1423                  };
   1424     shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
   1425     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
   1426     shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
   1427     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
   1428     shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
   1429     shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
   1430     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
   1431     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
   1432 
   1433     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
   1434     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
   1435     solid "LedPanel" {
   1436 	shape= "LEDS";
   1437 	top=  52;
   1438 	left= 377;
   1439 	color= "grey10";
   1440     };
   1441 
   1442     indicator.onColor= "green";
   1443     indicator.offColor= "green30";
   1444     indicator.top= 67;
   1445     indicator.shape= "LED";
   1446     indicator "Num Lock"     { left= 382; };
   1447     indicator "Caps Lock"    { left= 407; };
   1448     indicator "Scroll Lock"  { left= 433; };
   1449     text.top= 55;
   1450     text.color= "black";
   1451     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
   1452     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
   1453     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
   1454 
   1455     section.left= 19;
   1456     row.left= 1;
   1457     key.shape= "NORM";
   1458     key.gap=  1;
   1459     section "Function" {
   1460 	top= 52;
   1461 	row {
   1462 	    top= 1;
   1463 	    keys {  { <ESC>, color="grey20" },
   1464 		    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
   1465 		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
   1466 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
   1467 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
   1468 	    };
   1469 	};
   1470     }; // End of "Function" section
   1471 
   1472     section "Alpha" {
   1473 	top= 91;
   1474 	row {
   1475 	    top= 1;
   1476 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
   1477 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
   1478 		   <AE10>, <AE11>, <AE12>, <BKSL>,
   1479 		   { <BKSP>, "BKSP", color="grey20" }
   1480 	    };
   1481 	};
   1482 	row {
   1483 	    top= 20;
   1484 	    keys { { <TAB>, "TABK", color="grey20" },
   1485 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
   1486 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
   1487 //		   <AD11>, <AD12>, { <RTRN>, -13, "RTRN", color="grey20" }
   1488 		   <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
   1489 	    };
   1490 	};
   1491 	row {
   1492 	    top= 39;
   1493 	    keys { { <CAPS>, "CAPS", color="grey20" },
   1494 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
   1495 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
   1496 		   <AC11>
   1497 	    };
   1498 	};
   1499 	row {
   1500 	    top= 58;
   1501 	    keys { { <LFSH>, "LFSH", color="grey20" },
   1502 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
   1503 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
   1504 		    { <RTSH>, "RTSH", color="grey20" }
   1505 	    };
   1506 	};
   1507 	row {
   1508 	    top= 77;
   1509 	    key.shape= "SMOD";
   1510 	    key.color= "grey20";
   1511 	    keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
   1512 		   { <SPCE>, "SPCE", color="white" },
   1513 		   <RALT>, <RWIN>, <MENU>, <RCTL>
   1514 	    };
   1515 	};
   1516     }; // End of "Alpha" section
   1517 
   1518     section "Editing" {
   1519 	top= 91;
   1520 	left= 312;
   1521 	key.color= "grey20";
   1522 	row {
   1523 	    top= 1;
   1524 	    keys { <INS>, <HOME>, <PGUP> };
   1525 	};
   1526         row {
   1527 	    top= 20;
   1528 	    keys { <DELE>, <END>, <PGDN> };
   1529 	};
   1530 	row {
   1531 	    top= 58;
   1532 	    left= 20;
   1533 	    keys { <UP> };
   1534 	};
   1535 	row {
   1536 	    top= 77;
   1537 	    keys { <LEFT>, <DOWN>, <RGHT> };
   1538 	};
   1539     }; // End of "Editing" section
   1540 
   1541     section "Keypad" {
   1542 	top= 91;
   1543 	left= 376;
   1544 	row {
   1545 	    top= 1;
   1546 	    key.color= "grey20";
   1547 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
   1548 	};
   1549 	row {
   1550 	    top= 20;
   1551 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
   1552 	};
   1553 	row {
   1554 	    top= 39;
   1555 	    keys { <KP4>, <KP5>, <KP6> };
   1556 	};
   1557 	row {
   1558 	    top= 58;
   1559 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
   1560 	};
   1561 	row {
   1562 	    top= 77;
   1563 	    keys { { <KP0>, "KP0" }, <KPDL> };
   1564 	};
   1565     }; // End of "Keypad" section
   1566 
   1567     alias <AC00> = <CAPS>;
   1568     alias <AA00> = <LCTL>;
   1569 
   1570 }; // End of "pc104" geometry
   1571