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