Home | History | Annotate | Line # | Download | only in geometry
pc revision 1.1.1.3
      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         { [16,0],[ 43,0],[43,37],[2,37],[2,19],[16,19] }, 
    200         { [18,1],[ 41,1],[41,36],[4,36],[4,20],[18,20] } };
    201     shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
    202     shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } };
    203     shape "RTSH" { { [ 49,18] }, { [2,1], [ 47,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>, <BKSL>, 
    255 		   { <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>, -15, "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>
    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>, 20 }
    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     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
    514     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
    515     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
    516     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
    517     shape "RTRN" {
    518         { [0,0], [28,0], [28,37], [5,37], [5,18], [0,18] } ,
    519         { [2,1], [26,1], [26,35], [7,35], [7,16], [2,16] } ,
    520         approx = { [5,0], [28,37] } };
    521     shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
    522     shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } };
    523     shape "RTSH" { { [ 50,18] }, { [2,1], [ 48,16] } };
    524     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
    525     shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
    526     shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
    527     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
    528     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
    529 
    530     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
    531     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
    532     solid "LedPanel" {
    533 	shape= "LEDS";
    534 	top=  22;
    535 	left= 377;
    536 	color= "grey10";
    537     };
    538 
    539     indicator.onColor= "green";
    540     indicator.offColor= "green30";
    541     indicator.top= 37;
    542     indicator.shape= "LED";
    543     indicator "Num Lock"     { left= 382; };
    544     indicator "Caps Lock"    { left= 407; };
    545     indicator "Scroll Lock"  { left= 433; };
    546     text.top= 25;
    547     text.color= "black";
    548     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
    549     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
    550     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
    551 
    552     section.left= 19;
    553     row.left= 1;
    554     key.shape= "NORM";
    555     key.gap=  1;
    556     section "Function" {
    557 	top= 22;
    558 	row {
    559 	    top= 1;
    560 	    keys {  { <ESC>, color="grey20" },
    561 		    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
    562 		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
    563 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
    564 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
    565 	    };
    566 	};
    567     }; // End of "Function" section
    568 
    569     section "Alpha" {
    570 	top= 61;
    571 	row {
    572 	    top= 1;
    573 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
    574 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
    575 		   <AE10>, <AE11>, <AE12>,
    576 		   { <BKSP>, "BKSP", color="grey20" }
    577 	    };
    578 	};
    579 	row {
    580 	    top= 20;
    581 	    keys { { <TAB>, "TABK", color="grey20" },
    582 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    583 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    584 		   <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" } 
    585 	    };
    586 	};
    587 	row {
    588 	    top= 39;
    589 	    keys { { <CAPS>, "CAPS", color="grey20" },
    590 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    591 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    592 		   <AC11>, <BKSL> 
    593 	    };
    594 	};
    595 	row {
    596 	    top= 58;
    597 	    keys { { <LFSH>, "LFSH", color="grey20" },
    598 		    <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    599 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    600 		    { <RTSH>, "RTSH", color="grey20" }
    601 	    };
    602 	};
    603 	row {
    604 	    top= 77;
    605 	    key.shape= "SMOD";
    606 	    key.color= "grey20";
    607 	    keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
    608 		   { <SPCE>, "SPCE", color="white" },
    609 		   <RALT>, <RWIN>, <MENU>, <RCTL>
    610 	    };
    611 	};
    612     }; // End of "Alpha" section
    613 
    614     section "Editing" {
    615 	top= 61;
    616 	left= 312;
    617 	key.color= "grey20";
    618 	row {
    619 	    top= 1;
    620 	    keys { <INS>, <HOME>, <PGUP> };
    621 	};
    622         row {
    623 	    top= 20;
    624 	    keys { <DELE>, <END>, <PGDN> };
    625 	};
    626 	row {
    627 	    top= 58;
    628 	    left= 20;
    629 	    keys { <UP> };
    630 	};
    631 	row {
    632 	    top= 77;
    633 	    keys { <LEFT>, <DOWN>, <RGHT> };
    634 	};
    635     }; // End of "Editing" section
    636 
    637     section "Keypad" {
    638 	top= 61;
    639 	left= 376;
    640 	row {
    641 	    top= 1;
    642 	    key.color= "grey20";
    643 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    644 	};
    645 	row {
    646 	    top= 20;
    647 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
    648 	};
    649 	row {
    650 	    top= 39;
    651 	    keys { <KP4>, <KP5>, <KP6> };
    652 	};
    653 	row {
    654 	    top= 58;
    655 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
    656 	};
    657 	row {
    658 	    top= 77;
    659 	    keys { { <KP0>, "KP0" }, <KPDL> };
    660 	};
    661     }; // End of "Keypad" section
    662 
    663     alias <AC00> = <CAPS>;
    664     alias <AA00> = <LCTL>;
    665 
    666 }; // End of "pc105" geometry
    667 
    668 
    669 // Added for japanese 106 keyboard
    670 //                     by tsuka (a] kawalab.dnj.ynu.ac.jp .
    671 xkb_geometry "jp106" {
    672 
    673     description= "Japanese 106";
    674     width= 470;
    675     height= 180;
    676 
    677     shape.cornerRadius= 1;
    678     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
    679     shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
    680     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
    681     shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } };
    682     shape "RTRN" {
    683         { [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } ,
    684         { [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } };
    685     shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
    686     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
    687     shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } };
    688     shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
    689     shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } };
    690     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,17] } };
    691     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
    692 
    693     shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
    694     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
    695     solid "LedPanel" {
    696 	shape= "LEDS";
    697 	top=  25;
    698 	left= 375;
    699 	color= "grey10";
    700     };
    701 
    702     indicator.onColor= "green";
    703     indicator.offColor= "green30";
    704     indicator.top= 40;
    705     indicator.shape= "LED";
    706     indicator "Num Lock"     { left= 379; };
    707     indicator "Caps Lock"    { left= 404; };
    708     indicator "Scroll Lock"  { left= 429; };
    709     text.top= 28;
    710     text.color= "black";
    711     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
    712     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
    713     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
    714 
    715     section.left= 19;
    716     row.left= 1;
    717     key.shape= "NORM";
    718     key.gap=  1;
    719     section "Function" {
    720 	top= 25;
    721 	row {
    722 	    top= 1;
    723 	    keys {  { <ESC>, color="grey20" },
    724 		    { <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
    725 		    { <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"}, 
    726 		    { <FK07>, color="grey20"}, {<FK08>,color="grey20"},
    727 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
    728 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
    729 	    };
    730 	};
    731     }; // End of "Function" section
    732 
    733     section "Alpha" {
    734 	top= 61;
    735 	row {
    736 	    top= 1;
    737 	    keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>, 
    738                     <AE03>, <AE04>, <AE05>, <AE06>, <AE07>, 
    739 	            <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
    740 		    <AE13>, { <BKSP>, "BKSP", color="grey20" }
    741 	    };
    742 	};
    743 	row {
    744 	    top= 20;
    745 	    keys { { <TAB>, "TABK", color="grey20" },
    746 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    747 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    748 		   <AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" }
    749 	    };
    750 	};
    751 	row {
    752 	    top= 39;
    753 	    keys { { <CAPS>, "CAPS", color="grey20" },
    754 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    755 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    756 		   <AC11>, <AC12>
    757 	    };
    758 	};
    759 	row {
    760 	    top= 58;
    761 	    keys { { <LFSH>, "LFSH", color="grey20" },
    762 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    763 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    764 		    <AB11>, { <RTSH>, "RTSH", color="grey20" }
    765 	    };
    766 	};
    767 	row {
    768 	    top= 77;
    769 	    key.shape= "MODK";
    770 	    key.color= "grey20";
    771 	    keys { <LCTL>, { <LALT>, 20 },<NFER>,
    772 		   { <SPCE>, "SPCE", color="white" },
    773 		   <XFER>,<HKTG>,<RALT>, { <RCTL>, 17 }
    774 	    };
    775 	};
    776     }; // End of "Alpha" section
    777 
    778     section "Editing" {
    779 	top= 61;
    780 	left= 310;
    781 	key.color= "grey20";
    782 	row {
    783 	    top= 1;
    784 	    keys { <INS>, <HOME>, <PGUP> };
    785 	};
    786         row {
    787 	    top= 20;
    788 	    keys { <DELE>, <END>, <PGDN> };
    789 	};
    790 	row {
    791 	    top= 58;
    792 	    left= 20;
    793 	    keys { <UP> };
    794 	};
    795 	row {
    796 	    top= 77;
    797 	    keys { <LEFT>, <DOWN>, <RGHT> };
    798 	};
    799     }; // End of "Editing" section
    800 
    801     section "Keypad" {
    802 	top= 61;
    803 	left= 375;
    804 	row {
    805 	    top= 1;
    806 	    key.color= "grey20";
    807 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    808 	};
    809 	row {
    810 	    top= 20;
    811 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
    812 	};
    813 	row {
    814 	    top= 39;
    815 	    keys { <KP4>, <KP5>, <KP6> };
    816 	};
    817 	row {
    818 	    top= 58;
    819 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
    820 	};
    821 	row {
    822 	    top= 77;
    823 	    keys { { <KP0>, "KP0" }, <KPDL> };
    824 	};
    825     }; // End of "Keypad" section
    826 
    827     alias <AC00> = <CAPS>;
    828     alias <AA00> = <LCTL>;
    829 
    830 }; // End of "jp106" geometry
    831 
    832 // Added for brazilian ABNT2 by Ricardo Y. Igarashi(iga (a] that.com.br)
    833 xkb_geometry "abnt2" {
    834     include "pc(pc105)"
    835 
    836     description= "Brazilian ABNT2";
    837 
    838     shape "RTRN" {
    839         { [0,0],[ 28,0],[28,37],[4,37],[4,18],[0,18] } ,
    840         { [2,1],[ 26,1],[26,36],[5,36],[5,18],[2,18] } };
    841     shape "RTSH" { { [ 31,18] }, { [2,1], [ 29,16] } };
    842 
    843     section.left= 19;
    844     row.left= 1;
    845     key.shape= "NORM";
    846     key.gap=  1;
    847     section "Alpha" {
    848 	top= 61;
    849 	row {
    850 	    top= 20;
    851 	    keys { { <TAB>, "TABK", color="grey20" },
    852 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    853 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    854 		   <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
    855 	    };
    856 	};
    857 	row {
    858 	    top= 39;
    859 	    keys { { <CAPS>, "CAPS", color="grey20" },
    860 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    861 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    862 		   <AC11>, <BKSL>
    863 	    };
    864 	};
    865 	row {
    866 	    top= 58;
    867 	    keys { { <LFSH>, "LFSH", color="grey20" },
    868 		    <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    869 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
    870 		    { <RTSH>, "RTSH", color="grey20" }
    871 	    };
    872 	};
    873     }; // End of "Alpha" section
    874 
    875     section "Keypad" {
    876 	top= 61;
    877 	left= 376;
    878 	row {
    879 	    top= 20;
    880 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, color="grey20" } };
    881 	};
    882 	row {
    883 	    top= 39;
    884 	    keys { <KP4>, <KP5>, <KP6>, { <KPPT>, color="grey20" } };
    885 	};
    886     }; // End of "Keypad" section
    887 
    888 }; // End of "abnt2" geometry
    889 
    890 
    891 // Created by Alexander Pohoyda <alexander.pohoyda (a] gmx.net>
    892 
    893 xkb_geometry "pc86" {
    894     description = "Noname keyboard with 86 keys, DE";
    895     width = 287;
    896     height = 143;
    897     baseColor = "grey20";
    898 
    899     shape "EDGE" { cornerRadius = 2, { [287, 143] } };
    900     shape "LED"  { cornerRadius = 2, { [3, 3] } };
    901     shape "LEDS" { cornerRadius = 0, { [75, 5] } };
    902     shape "KEYS" { cornerRadius = 0, { [271, 109] } };
    903 
    904     outline "Edges" {
    905         top = 0;
    906         left = 0;
    907         shape = "EDGE";
    908         color = "black";
    909     };
    910 
    911     solid "KeyPanel" {
    912 	shape = "KEYS";
    913 	left = 8;
    914 	top = 22;
    915 	color = "grey70";
    916     };
    917 
    918     solid "LedPanel" {
    919 	shape = "LEDS";
    920 	left = 212;
    921 	top = 10;
    922 	color = "black";
    923     };
    924 
    925     indicator.onColor = "green";
    926     indicator.offColor = "green30";
    927     indicator.top = 11;
    928     indicator.shape = "LED";
    929     indicator "Num Lock"     { left = 212 + 7; };
    930     indicator "Caps Lock"    { left = 212 + 23; };
    931     indicator "Scroll Lock"  { left = 212 + 39; };
    932     text.fontSize = 6;
    933     text.top = 10;
    934     text.color = "white";
    935     text "NumLockLabel"     { left = 212 + 7 + 5; text = "Num\nLock"; };
    936     text "CapsLockLabel"    { left = 212 + 23 + 5; text = "Caps\nLock"; };
    937     text "ScrollLockLabel"  { left = 212 + 39 + 5; text = "Scroll\nLock"; };
    938 
    939     shape.cornerRadius = 1;
    940     shape "SMALL"  { { [15, 12] }, { [1.5, 0], [13.5, 10] } };
    941     shape "NARR"   { { [13, 18] }, { [1.5, 0], [11.5, 14] } };
    942     shape "NORM"   { { [18, 18] }, { [3, 0], [15, 14] } };
    943     shape "NORM_1" { { [22, 18] }, { [4, 0], [22, 18] },
    944                                    { [7, 0], [19, 14] } };
    945     shape "WIDER"  { { [23, 18] }, { [3, 0], [20, 14] } };
    946     shape "WIDEST" { { [27, 18] }, { [3, 0], [24, 14] } };
    947     shape "SPCE"   { { [75, 18] }, { [3, 0], [72, 14] } };
    948 
    949     section "Function" {
    950 	key.shape = "SMALL";
    951 	key.gap = 0.99;
    952 	key.color = "grey30";
    953 	left = 8;
    954 	top = 22;
    955 	row {
    956 	    top = 1;
    957 	    keys {  <ESC>,
    958 	    	    <FK01>, <FK02>, <FK03>, <FK04>,
    959 		    <FK05>, <FK06>, <FK07>, <FK08>,
    960 		    <FK09>, <FK10>, <FK11>, <FK12>,
    961 		    <NMLK>, <PRSC>, <SCLK>, <PAUS>
    962 	    };
    963 	};
    964     }; // End of "Function" section
    965 
    966     section "Control" {
    967 	key.shape = "NORM";
    968 	key.gap = 1;
    969 	key.color = "grey30";
    970         left = 8;
    971 	top = 111;
    972 	row {
    973 	    top = 1;
    974 	    keys { <LCTL>, <FN>, <LALT>,
    975 	           { <SPCE>, shape="SPCE", 39 }, <RALT>,
    976 		   <INS>, <DELE>
    977 	    };
    978 	};
    979     }; // End of "Control" section
    980 
    981     section "Editing" {
    982         key.shape = "NARR";
    983 	key.gap = 1;
    984 	key.color = "grey30";
    985 	left = 265;
    986 	top = 34;
    987         row.vertical = True;
    988 	row {
    989 	    top = 1;
    990 	    keys { <HOME>, <PGUP>, <PGDN>, <END> };
    991 	};
    992     }; // End of "Editing" section
    993 
    994     section "Navigation" {
    995 	key.gap = 1;
    996 	key.shape = "NARR";
    997 	key.color = "grey30";
    998 	left = 236;
    999 	top = 92;
   1000 	row {
   1001 	    left = 14;
   1002 	    top = 1;
   1003 	    keys { <UP> };
   1004 	};
   1005 	row {
   1006 	    top = 20;
   1007 	    keys { <LEFT>, <DOWN>, <RGHT> };
   1008 	};
   1009     }; // End of "Navigation" section
   1010 
   1011     section "Alpha" {
   1012 	key.gap = 1;
   1013 	key.shape = "NORM";
   1014 	key.color = "grey10";
   1015         left = 8;
   1016 	top = 35;
   1017 	row {
   1018 	    top = 1;
   1019 	    keys { { <AE01>, shape="NORM_1" }, <AE02>, <AE03>, <AE04>,
   1020 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
   1021 		   <AE10>, <AE11>, <AE12>,
   1022                    { <BKSP>, shape="WIDER", color="grey30" }
   1023 	    };
   1024 	};
   1025 	row {
   1026 	    top = 20;
   1027 	    keys { { <TAB>, shape="NARR", color="grey30" },
   1028 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
   1029 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
   1030 		   <AD11>, <AD12>, { <AD13>, shape="NARR" }
   1031 	    };
   1032 	};
   1033 	row {
   1034 	    top = 39;
   1035 	    keys { { <CAPS>, color="grey30" },
   1036 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
   1037 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
   1038 		   <AC11>, { <RTRN>, shape="WIDEST", color="grey30" }
   1039 	    };
   1040 	};
   1041 	row {
   1042 	    top = 58;
   1043 	    keys { { <LFSH>, shape="WIDEST", color="grey30" },
   1044 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
   1045 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
   1046 		    { <RTSH>, shape="WIDER", color="grey30" }
   1047 	    };
   1048 	};
   1049 	row {
   1050             left = 57;
   1051 	    top = 77;
   1052 	    keys { <AE00>, <LSGT> };
   1053 	};
   1054     }; // End of "Alpha" section
   1055 
   1056     alias <AC00> = <CAPS>;
   1057     alias <AA00> = <LCTL>;
   1058 }; // End of "pc86" geometry
   1059 
   1060 xkb_geometry "kr106" {
   1061 
   1062     description= "Korean 106";
   1063     width= 470;
   1064     height= 180;
   1065 
   1066     shape.cornerRadius= 1;
   1067     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
   1068     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
   1069     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
   1070     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
   1071     shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
   1072     shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
   1073     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
   1074     shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
   1075     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
   1076     shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
   1077     shape "SPCE" { { [ 75,18] }, { [2,1], [ 73,16] } };
   1078     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
   1079     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
   1080 
   1081     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
   1082     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
   1083     solid "LedPanel" {
   1084 	shape= "LEDS";
   1085 	top=  22;
   1086 	left= 377;
   1087 	color= "grey10";
   1088     };
   1089 
   1090     indicator.onColor= "green";
   1091     indicator.offColor= "green30";
   1092     indicator.top= 37;
   1093     indicator.shape= "LED";
   1094     indicator "Num Lock"     { left= 382; };
   1095     indicator "Caps Lock"    { left= 407; };
   1096     indicator "Scroll Lock"  { left= 433; };
   1097     text.top= 25;
   1098     text.color= "black";
   1099     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
   1100     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
   1101     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
   1102 
   1103     section.left= 19;
   1104     row.left= 1;
   1105     key.shape= "NORM";
   1106     key.gap=  1;
   1107     section "Function" {
   1108 	top= 22;
   1109 	row {
   1110 	    top= 1;
   1111 	    keys {  { <ESC>, color="grey20" },
   1112 		    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
   1113 		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
   1114 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
   1115 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
   1116 	    };
   1117 	};
   1118     }; // End of "Function" section
   1119 
   1120     section "Alpha" {
   1121 	top= 61;
   1122 	row {
   1123 	    top= 1;
   1124 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
   1125 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
   1126 		   <AE10>, <AE11>, <AE12>,
   1127 		   { <BKSP>, "BKSP", color="grey20" }
   1128 	    };
   1129 	};
   1130 	row {
   1131 	    top= 20;
   1132 	    keys { { <TAB>, "TABK", color="grey20" },
   1133 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
   1134 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
   1135 		   <AD11>, <AD12>, { <BKSL>, "BKSL" }
   1136 	    };
   1137 	};
   1138 	row {
   1139 	    top= 39;
   1140 	    keys { { <CAPS>, "CAPS", color="grey20" },
   1141 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
   1142 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
   1143 		   <AC11>, { <RTRN>, "RTRN", color="grey20" }
   1144 	    };
   1145 	};
   1146 	row {
   1147 	    top= 58;
   1148 	    keys { { <LFSH>, "LFSH", color="grey20" },
   1149 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
   1150 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
   1151 		    { <RTSH>, "RTSH", color="grey20" }
   1152 	    };
   1153 	};
   1154 	row {
   1155 	    top= 77;
   1156 	    key.shape= "SMOD";
   1157 	    key.color= "grey20";
   1158 	    keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
   1159 		   { <K71>, "NORM", color="white" },
   1160 		   { <SPCE>, "SPCE", color="white" },
   1161 		   { <K72>, "NORM", color="white" },
   1162 		   <RALT>, <RWIN>, <MENU>, <RCTL>
   1163 	    };
   1164 	};
   1165     }; // End of "Alpha" section
   1166 
   1167     section "Editing" {
   1168 	top= 61;
   1169 	left= 312;
   1170 	key.color= "grey20";
   1171 	row {
   1172 	    top= 1;
   1173 	    keys { <INS>, <HOME>, <PGUP> };
   1174 	};
   1175         row {
   1176 	    top= 20;
   1177 	    keys { <DELE>, <END>, <PGDN> };
   1178 	};
   1179 	row {
   1180 	    top= 58;
   1181 	    left= 20;
   1182 	    keys { <UP> };
   1183 	};
   1184 	row {
   1185 	    top= 77;
   1186 	    keys { <LEFT>, <DOWN>, <RGHT> };
   1187 	};
   1188     }; // End of "Editing" section
   1189 
   1190     section "Keypad" {
   1191 	top= 61;
   1192 	left= 376;
   1193 	row {
   1194 	    top= 1;
   1195 	    key.color= "grey20";
   1196 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
   1197 	};
   1198 	row {
   1199 	    top= 20;
   1200 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
   1201 	};
   1202 	row {
   1203 	    top= 39;
   1204 	    keys { <KP4>, <KP5>, <KP6> };
   1205 	};
   1206 	row {
   1207 	    top= 58;
   1208 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
   1209 	};
   1210 	row {
   1211 	    top= 77;
   1212 	    keys { { <KP0>, "KP0" }, <KPDL> };
   1213 	};
   1214     }; // End of "Keypad" section
   1215 
   1216     alias <AC00> = <CAPS>;
   1217     alias <AA00> = <LCTL>;
   1218 
   1219 }; // End of "kr106" geometry
   1220 
   1221 // Based on the pc(pc105) layout. The keypad, sysreq/ScrLk/Break, and multimedia
   1222 // keys are not shown because they are shared with other keys via the <FN> key.
   1223 // This should not be a problem if the normal symbols are used, as the keys will
   1224 // show through normally, they just won't show from xkbprint. For the record,
   1225 // <FN>+<PGUP> = AudioRaise,
   1226 // <FN>+<PGDN> = AudioLower,
   1227 // <FN>+<END> = AudioMute,
   1228 // <FN>+<PRSC> = Sysreq,
   1229 // <FN>+<NMLK> = ScrollLock,
   1230 // <FN>+<BREAK> = <PAUS>,
   1231 // <FN>+7 = KP_7,
   1232 // <FN>+8 = KP_8,
   1233 // <FN>+9 = KP_9,
   1234 // <FN>+0 = KP_MUL,
   1235 // <FN>+U = KP_4,
   1236 // <FN>+I = KP_5,
   1237 // <FN>+O = KP_6,
   1238 // <FN>+P = KP_SUB,
   1239 // <FN>+J = KP_1,
   1240 // <FN>+K = KP_2,
   1241 // <FN>+L = KP_3,
   1242 // <FN>+; = KP_ADD,
   1243 // <FN>+M = KP_INS,
   1244 // <FN>+. = KP_DEL,
   1245 // <FN>+/ = KP_DIV.
   1246 // The other FN combinations aren't passed to X, but are handled by BIOS.
   1247 // <FN> and all keys with <FN> level mappings are marked in grey20.
   1248 //
   1249 // David Cameron Staples <staples (a] cs.mu.oz.au> 2006-05-12
   1250 
   1251 xkb_geometry "latitude" {
   1252 
   1253     description= "Dell Latitude";
   1254     width= 330;
   1255     height= 210;
   1256 
   1257     shape.cornerRadius= 1;
   1258     shape "NORM" { { [ 18  ,18] }, { [2,1  ], [ 16,16] } };
   1259     shape "FUNC" { { [ 16.2,12] }, { [2,0.5], [ 14,10] } };
   1260     shape "ESC"  { { [ 18  ,12] }, { [2,0.5], [ 16,10] } };
   1261     shape "BKSP" { { [ 38  ,18] }, { [2,1  ], [ 36,16] } };
   1262     shape "TABK" { { [ 28  ,18] }, { [2,1  ], [ 26,16] } };
   1263     shape "BKSL" { { [ 28  ,18] }, { [2,1  ], [ 26,16] } };
   1264     shape "RTRN" { { [ 42  ,18] }, { [2,1  ], [ 40,16] } };
   1265     shape "CAPS" { { [ 33  ,18] }, { [2,1  ], [ 26,16] } };
   1266     shape "LFSH" { { [ 42  ,18] }, { [2,1  ], [ 40,16] } };
   1267     shape "RTSH" { { [ 52  ,18] }, { [2,1  ], [ 50,16] } };
   1268     shape "SPCE" { { [ 95  ,18] }, { [2,1  ], [ 93,16] } };
   1269     shape "LCTL" { { [ 28  ,14] }, { [2,1  ], [ 26,12] } };
   1270     shape "LALT" { { [ 22  ,14] }, { [2,1  ], [ 20,12] } };
   1271     shape "WIN"  { { [ 18  ,14] }, { [2,1  ], [ 16,12] } };
   1272 
   1273     shape "LED"  { cornerRadius= 0.5, { [  1,  3 ] } };
   1274 
   1275     indicator.onColor= "green";
   1276     indicator.offColor= "green30";
   1277     indicator.top= 37;
   1278     indicator.shape= "LED";
   1279     indicator "Num Lock"     { left= 138; };
   1280     indicator "Caps Lock"    { left= 150; };
   1281     indicator "Scroll Lock"  { left= 162; };
   1282     text.top= 33;
   1283     text.color= "black";
   1284     text "NumLockLabel"		{ left= 140; text="Num\nLock"; };
   1285     text "CapsLockLabel"	{ left= 152; text="Caps\nLock"; };
   1286     text "ScrollLockLabel"	{ left= 164; text="Scroll\nLock"; };
   1287 
   1288     text "LATITUDE"		{ left= 19; text="L A T I T U D E"; };
   1289 
   1290     section.left= 19;
   1291     row.left= 1;
   1292     key.shape= "NORM";
   1293     key.gap=  1;
   1294     section "Function" {
   1295 	top= 32;
   1296 	key.shape= "FUNC";
   1297 	key.color= "grey20";
   1298 	row {
   1299 	    top= 1;
   1300 	    left= 163.8;
   1301 	    keys {  { <MENU>, color="white" }, <PRSC>, <NMLK>, <PAUS>,
   1302 	            { <INS>, 3, color="white" },
   1303 		    { <HOME>, color="white"}, <PGUP>
   1304             };
   1305 	};
   1306 	row {
   1307 	    top= 14;
   1308 	    keys {  { <ESC>, "ESC" },
   1309 		    { <FK01>, 3 },
   1310 		    { <FK02>, color="white" }, <FK03>,
   1311 		    { <FK04>, color="white" },
   1312 		    { <FK05>, 3 },
   1313 		    { <FK06>, color="white" }, <FK07>, <FK08>,
   1314 		    { <FK09>, 3, color="white" }, <FK10>,
   1315 		    { <FK11>, color="white" }, 
   1316 		    { <FK12>, color="white" },
   1317 		    { <DELE>, 3, color="white" }, <END>, <PGDN> 
   1318 	    };
   1319 	};
   1320     }; // End of "Function" section
   1321 
   1322     section "Alpha" {
   1323 	top= 60;
   1324 	row {
   1325 	    top= 1;
   1326 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
   1327 		   <AE05>, <AE06>, 
   1328 		   { <AE07>, color="grey20" },
   1329 		   { <AE08>, color="grey20" },
   1330 		   { <AE09>, color="grey20" },
   1331 		   { <AE10>, color="grey20" }, <AE11>, <AE12>,
   1332 		   { <BKSP>, "BKSP" }
   1333 	    };
   1334 	};
   1335 	row {
   1336 	    top= 20;
   1337 	    keys { { <TAB>, "TABK" },
   1338 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
   1339 		   <AD06>, 
   1340 		   { <AD07>, color="grey20" },
   1341 		   { <AD08>, color="grey20" },
   1342 		   { <AD09>, color="grey20" },
   1343 		   { <AD10>, color="grey20" },
   1344 		   <AD11>, <AD12>, { <BKSL>, "BKSL" }
   1345 	    };
   1346 	};
   1347 	row {
   1348 	    top= 39;
   1349 	    keys { { <CAPS>, "CAPS" },
   1350 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
   1351 		   <AC06>, 
   1352 		   { <AC07>, color="grey20" },
   1353 		   { <AC08>, color="grey20" },
   1354 		   { <AC09>, color="grey20" },
   1355 		   { <AC10>, color="grey20" },
   1356 		   <AC11>, { <RTRN>, "RTRN" }
   1357 	    };
   1358 	};
   1359 	row {
   1360 	    top= 58;
   1361 	    keys { { <LFSH>, "LFSH" },
   1362 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
   1363 		    <AB06>, 
   1364 		    { <AB07>, color="grey20" }, <AB08>,
   1365 		    { <AB09>, color="grey20" },
   1366 		    { <AB10>, color="grey20" },
   1367 		    { <RTSH>, "RTSH" }
   1368 	    };
   1369 	};
   1370 	row {
   1371 	    top= 77;
   1372 	    key.shape= "WIN";
   1373 	    keys { { <LCTL>, "LCTL" },
   1374 	           { <FN>, color="grey20" },
   1375 		   <LWIN>,
   1376 		   { <LALT>, "LALT" },
   1377 		   { <SPCE>, "SPCE" },
   1378 		   <RALT>,
   1379 		   { <RCTL>, "LALT" }
   1380 	    };
   1381 	};
   1382     }; // End of "Alpha" section
   1383 
   1384     section "Editing" {
   1385 	top= 136;
   1386 	left= 250;
   1387 	key.shape= "FUNC";
   1388 	key.color= "grey20";
   1389 	row {
   1390 	    top= 1;
   1391 	    left= 18.2;
   1392 	    keys { <UP> };
   1393 	};
   1394 	row {
   1395 	    top= 14;
   1396 	    keys { <LEFT>, <DOWN>, <RGHT> };
   1397 	};
   1398     }; // End of "Editing" section
   1399 
   1400     alias <AC00> = <CAPS>;
   1401     alias <AA00> = <LCTL>;
   1402 
   1403 }; // End of "latitude" geometry
   1404 
   1405 xkb_geometry "pc104alt" {
   1406 
   1407     description= "Generic 104 with L-shaped Enter and small Backspace with Backslash left to it";
   1408     width= 470;
   1409     height= 210;
   1410 
   1411     shape.cornerRadius= 1;
   1412     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
   1413     shape "BKSP" { { [ 19,18] }, { [2,1], [ 17,16] } };
   1414     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
   1415 //    shape "RTRN" { { [ 0,19 ], [ 0,37 ], [ 42,37 ], [ 42,0 ], [ 14,0 ], [ 14,19 ] },
   1416 //                   { [ 2,20 ], [ 2,35 ], [ 40,35 ], [ 40,1 ], [ 16,1 ], [ 16,20 ] },
   1417 //                   approx = { [ 17,21 ], [ 39,34 ] }
   1418 //                 };
   1419     shape "RTRN" { { [ -14,19 ], [ -14,37 ], [ 28,37 ], [ 28,0 ], [ 0,0 ], [ 0,19 ] },
   1420                    { [ -12,20 ], [ -12,35 ], [ 26,35 ], [ 26,1 ], [ 2,1 ], [ 2,20 ] },
   1421                    approx = { [ 3,21 ], [ 25,34 ] }
   1422                  };
   1423     shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
   1424     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
   1425     shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
   1426     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
   1427     shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
   1428     shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
   1429     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
   1430     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
   1431 
   1432     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
   1433     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
   1434     solid "LedPanel" {
   1435 	shape= "LEDS";
   1436 	top=  52;
   1437 	left= 377;
   1438 	color= "grey10";
   1439     };
   1440 
   1441     indicator.onColor= "green";
   1442     indicator.offColor= "green30";
   1443     indicator.top= 67;
   1444     indicator.shape= "LED";
   1445     indicator "Num Lock"     { left= 382; };
   1446     indicator "Caps Lock"    { left= 407; };
   1447     indicator "Scroll Lock"  { left= 433; };
   1448     text.top= 55;
   1449     text.color= "black";
   1450     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
   1451     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
   1452     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
   1453 
   1454     section.left= 19;
   1455     row.left= 1;
   1456     key.shape= "NORM";
   1457     key.gap=  1;
   1458     section "Function" {
   1459 	top= 52;
   1460 	row {
   1461 	    top= 1;
   1462 	    keys {  { <ESC>, color="grey20" },
   1463 		    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
   1464 		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
   1465 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
   1466 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
   1467 	    };
   1468 	};
   1469     }; // End of "Function" section
   1470 
   1471     section "Alpha" {
   1472 	top= 91;
   1473 	row {
   1474 	    top= 1;
   1475 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
   1476 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
   1477 		   <AE10>, <AE11>, <AE12>, <BKSL>,
   1478 		   { <BKSP>, "BKSP", color="grey20" }
   1479 	    };
   1480 	};
   1481 	row {
   1482 	    top= 20;
   1483 	    keys { { <TAB>, "TABK", color="grey20" },
   1484 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
   1485 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
   1486 //		   <AD11>, <AD12>, { <RTRN>, -13, "RTRN", color="grey20" }
   1487 		   <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
   1488 	    };
   1489 	};
   1490 	row {
   1491 	    top= 39;
   1492 	    keys { { <CAPS>, "CAPS", color="grey20" },
   1493 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
   1494 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
   1495 		   <AC11>
   1496 	    };
   1497 	};
   1498 	row {
   1499 	    top= 58;
   1500 	    keys { { <LFSH>, "LFSH", color="grey20" },
   1501 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
   1502 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
   1503 		    { <RTSH>, "RTSH", color="grey20" }
   1504 	    };
   1505 	};
   1506 	row {
   1507 	    top= 77;
   1508 	    key.shape= "SMOD";
   1509 	    key.color= "grey20";
   1510 	    keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
   1511 		   { <SPCE>, "SPCE", color="white" },
   1512 		   <RALT>, <RWIN>, <MENU>, <RCTL>
   1513 	    };
   1514 	};
   1515     }; // End of "Alpha" section
   1516 
   1517     section "Editing" {
   1518 	top= 91;
   1519 	left= 312;
   1520 	key.color= "grey20";
   1521 	row {
   1522 	    top= 1;
   1523 	    keys { <INS>, <HOME>, <PGUP> };
   1524 	};
   1525         row {
   1526 	    top= 20;
   1527 	    keys { <DELE>, <END>, <PGDN> };
   1528 	};
   1529 	row {
   1530 	    top= 58;
   1531 	    left= 20;
   1532 	    keys { <UP> };
   1533 	};
   1534 	row {
   1535 	    top= 77;
   1536 	    keys { <LEFT>, <DOWN>, <RGHT> };
   1537 	};
   1538     }; // End of "Editing" section
   1539 
   1540     section "Keypad" {
   1541 	top= 91;
   1542 	left= 376;
   1543 	row {
   1544 	    top= 1;
   1545 	    key.color= "grey20";
   1546 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
   1547 	};
   1548 	row {
   1549 	    top= 20;
   1550 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
   1551 	};
   1552 	row {
   1553 	    top= 39;
   1554 	    keys { <KP4>, <KP5>, <KP6> };
   1555 	};
   1556 	row {
   1557 	    top= 58;
   1558 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
   1559 	};
   1560 	row {
   1561 	    top= 77;
   1562 	    keys { { <KP0>, "KP0" }, <KPDL> };
   1563 	};
   1564     }; // End of "Keypad" section
   1565 
   1566     alias <AC00> = <CAPS>;
   1567     alias <AA00> = <LCTL>;
   1568 
   1569 }; // End of "pc104" geometry
   1570