Home | History | Annotate | Line # | Download | only in geometry
dell revision 1.1.1.2
      1 // $Xorg: dell,v 1.4 2001/02/09 02:05:49 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 default xkb_geometry "dell101" {
     28 
     29     description= "Dell 101";
     30     width= 470;
     31     height= 210;
     32 
     33     shape.cornerRadius= 1;
     34     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
     35     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
     36     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
     37     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
     38     shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
     39     shape "CAPS" { { [ 33,18] }, { [ 28,18] }, { [2,1], [ 26,16] } };
     40     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
     41     shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
     42     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
     43     shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
     44     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
     45     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
     46 
     47     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
     48     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
     49     solid "LedPanel" {
     50 	shape= "LEDS";
     51 	top=  52;
     52 	left= 377;
     53 	color= "grey10";
     54     };
     55 
     56     indicator.onColor= "green";
     57     indicator.offColor= "green30";
     58     indicator.top= 67;
     59     indicator.shape= "LED";
     60     indicator "Num Lock"     { left= 382; };
     61     indicator "Caps Lock"    { left= 407; };
     62     indicator "Scroll Lock"  { left= 433; };
     63     text.top= 55;
     64     text.color= "black";
     65     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
     66     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
     67     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
     68 
     69     section.left= 19;
     70     row.left= 1;
     71     key.shape= "NORM";
     72     key.gap=  1;
     73     section "Function" {
     74 	top= 52;
     75 	row {
     76 	    top= 1;
     77 	    keys {  { <ESC>, color="grey20" },
     78 		    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
     79 		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
     80 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
     81 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
     82 	    };
     83 	};
     84     }; // End of "Function" section
     85 
     86     section "Alpha" {
     87 	top= 91;
     88 	row {
     89 	    top= 1;
     90 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
     91 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
     92 		   <AE10>, <AE11>, <AE12>,
     93 		   { <BKSP>, "BKSP", color="grey20" }
     94 	    };
     95 	};
     96 	row {
     97 	    top= 20;
     98 	    keys { { <TAB>, "TABK", color="grey20" },
     99 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    100 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    101 		   <AD11>, <AD12>, { <BKSL>, "BKSL" }
    102 	    };
    103 	};
    104 	row {
    105 	    top= 39;
    106 	    keys { { <CAPS>, "CAPS", color="grey20" },
    107 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    108 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    109 		   <AC11>, { <RTRN>, "RTRN", color="grey20" }
    110 	    };
    111 	};
    112 	row {
    113 	    top= 58;
    114 	    keys { { <LFSH>, "LFSH", color="grey20" },
    115 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    116 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    117 		    { <RTSH>, "RTSH", color="grey20" }
    118 	    };
    119 	};
    120 	row {
    121 	    top= 77;
    122 	    key.shape= "MODK";
    123 	    key.color= "grey20";
    124 	    keys { <LCTL>, { <LALT>, 21 },
    125 		   { <SPCE>, "SPCE", color="white" },
    126 		   <RALT>, { <RCTL>, 21 }
    127 	    };
    128 	};
    129     }; // End of "Alpha" section
    130 
    131     section "Editing" {
    132 	top= 91;
    133 	left= 312;
    134 	key.color= "grey20";
    135 	row {
    136 	    top= 1;
    137 	    keys { <INS>, <HOME>, <PGUP> };
    138 	};
    139         row {
    140 	    top= 20;
    141 	    keys { <DELE>, <END>, <PGDN> };
    142 	};
    143 	row {
    144 	    top= 58;
    145 	    left= 20;
    146 	    keys { <UP> };
    147 	};
    148 	row {
    149 	    top= 77;
    150 	    keys { <LEFT>, <DOWN>, <RGHT> };
    151 	};
    152     }; // End of "Editing" section
    153 
    154     section "Keypad" {
    155 	top= 91;
    156 	left= 376;
    157 	row {
    158 	    top= 1;
    159 	    key.color= "grey20";
    160 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    161 	};
    162 	row {
    163 	    top= 20;
    164 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
    165 	};
    166 	row {
    167 	    top= 39;
    168 	    keys { <KP4>, <KP5>, <KP6> };
    169 	};
    170 	row {
    171 	    top= 58;
    172 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
    173 	};
    174 	row {
    175 	    top= 77;
    176 	    keys { { <KP0>, "KP0" }, <KPDL> };
    177 	};
    178     }; // End of "Keypad" section
    179 
    180     alias <AC00> = <CAPS>;
    181     alias <AA00> = <LCTL>;
    182 
    183 }; // End of "default" geometry
    184 
    185 
    186 xkb_geometry "dell65" {
    187 };
    188 
    189 xkb_geometry "dell65x" {
    190 
    191     description= "Dell 101";
    192     width= 470;
    193     height= 210;
    194     color="grey10";
    195 
    196     shape.cornerRadius= 1;
    197     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
    198     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
    199     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
    200     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
    201     shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
    202     shape "CAPS" { { [ 33,18] }, { [ 28,18] }, { [2,1], [ 26,16] } };
    203     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
    204     shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
    205     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
    206     shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
    207     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
    208     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
    209 
    210     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
    211     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
    212     solid "LedPanel" {
    213 	shape= "LEDS";
    214 	top=  52;
    215 	left= 377;
    216 	color= "grey10";
    217     };
    218 
    219     shape "BACKGROUND"  { cornerRadius=5, { [  470,  210 ] } };
    220     solid "Background" {
    221 	shape= "BACKGROUND";
    222 	top=  0;
    223 	left= 0;
    224 	color= "grey10";
    225     };
    226 
    227     indicator.onColor= "green";
    228     indicator.offColor= "green30";
    229     indicator.top= 67;
    230     indicator.shape= "LED";
    231     indicator "Num Lock"     { left= 382; };
    232     indicator "Caps Lock"    { left= 407; };
    233     indicator "Scroll Lock"  { left= 433; };
    234     text.top= 55;
    235     text.color= "black";
    236     text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
    237     text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
    238     text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
    239 
    240     section.left= 19;
    241     row.left= 1;
    242     key.shape= "NORM";
    243     key.gap=  1;
    244     section "Function" {
    245 	top= 52;
    246 	row {
    247 	    top= 1;
    248 	    keys {  { <ESC>, color="grey20" },
    249 		    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
    250 		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
    251 		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
    252 		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
    253 	    };
    254 	};
    255     }; // End of "Function" section
    256 
    257     section "Alpha" {
    258 	top= 91;
    259 	row {
    260 	    top= 1;
    261 	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
    262 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
    263 		   <AE10>, <AE11>, <AE12>,
    264 		   { <BKSP>, "BKSP", color="grey20" }
    265 	    };
    266 	};
    267 	row {
    268 	    top= 20;
    269 	    keys { { <TAB>, "TABK", color="grey20" },
    270 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    271 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    272 		   <AD11>, <AD12>, { <BKSL>, "BKSL" }
    273 	    };
    274 	};
    275 	row {
    276 	    top= 39;
    277 	    keys { { <CAPS>, "CAPS", color="grey20" },
    278 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    279 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    280 		   <AC11>, { <RTRN>, "RTRN", color="grey20" }
    281 	    };
    282 	};
    283 	row {
    284 	    top= 58;
    285 	    keys { { <LFSH>, "LFSH", color="grey20" },
    286 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    287 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    288 		    { <RTSH>, "RTSH", color="grey20" }
    289 	    };
    290 	};
    291 	row {
    292 	    top= 77;
    293 	    key.shape= "MODK";
    294 	    key.color= "grey20";
    295 	    keys { <LCTL>, { <LALT>, 21 },
    296 		   { <SPCE>, "SPCE", color="white" },
    297 		   <RALT>, { <RCTL>, 21 }
    298 	    };
    299 	};
    300     }; // End of "Alpha" section
    301 
    302     section "Editing" {
    303 	top= 91;
    304 	left= 312;
    305 	key.color= "grey20";
    306 	row {
    307 	    top= 1;
    308 	    keys { <INS>, <HOME>, <PGUP> };
    309 	};
    310         row {
    311 	    top= 20;
    312 	    keys { <DELE>, <END>, <PGDN> };
    313 	};
    314 	row {
    315 	    top= 58;
    316 	    left= 20;
    317 	    keys { <UP> };
    318 	};
    319 	row {
    320 	    top= 77;
    321 	    keys { <LEFT>, <DOWN>, <RGHT> };
    322 	};
    323     }; // End of "Editing" section
    324 
    325     section "Keypad" {
    326 	top= 91;
    327 	left= 376;
    328 	row {
    329 	    top= 1;
    330 	    key.color= "grey20";
    331 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    332 	};
    333 	row {
    334 	    top= 20;
    335 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
    336 	};
    337 	row {
    338 	    top= 39;
    339 	    keys { <KP4>, <KP5>, <KP6> };
    340 	};
    341 	row {
    342 	    top= 58;
    343 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
    344 	};
    345 	row {
    346 	    top= 77;
    347 	    keys { { <KP0>, "KP0" }, <KPDL> };
    348 	};
    349     }; // End of "Keypad" section
    350 
    351     alias <AC00> = <CAPS>;
    352     alias <AA00> = <LCTL>;
    353 
    354 };
    355 
    356 
    357 //
    358 // Dell Precision M65
    359 //
    360 
    361 xkb_geometry "dellm65" {
    362 
    363     description= "Dell Precision M65";
    364     width= 308;
    365     height= 152;
    366     baseColor = "grey20";
    367     labelColor = "white";
    368 
    369     shape "BACKGROUND"  { cornerRadius = 3, { [  308,  152 ] } };
    370     shape "BACKGROUND2" { cornerRadius = 2, { [  7, 22 ], 
    371                                               [ 171, 22 ],
    372                                               [ 171, 10 ],
    373                                               [ 301, 10 ],
    374                                               [ 301, 148 ],
    375                                               [ 244, 148 ],
    376                                               [ 244, 132 ],
    377                                               [   7, 132] } }; 
    378     solid "Background" {
    379 	shape = "BACKGROUND";
    380 	top = 0;
    381 	left = 0;
    382 	color = "grey20";
    383     };
    384     solid "Background2" {
    385 	shape = "BACKGROUND2";
    386 	top = 0;
    387 	left = 0;
    388 	color = "black";
    389     };
    390 
    391     shape "LEDS" { cornerRadius = 4, { [ 26, 8 ] } };
    392     shape "LED" { cornerRadius = 0, { [ 4, 4 ] } };
    393     solid "LedPanel" {
    394 	shape = "LEDS";
    395 	top = 8;
    396 	left = 69;
    397 	color = "grey20";
    398     };
    399 
    400     indicator.onColor= "green";
    401     indicator.offColor= "gray20";
    402     indicator.top= 10;
    403     indicator.shape= "LED";
    404     indicator "Num Lock"     { left= 72; };
    405     indicator "Caps Lock"    { left= 80; };
    406     indicator "Scroll Lock"  { left= 88; };
    407 
    408     shape "MEDIA" { cornerRadius = 5, { [ 2, 2], [ 12, 12 ] } };
    409     shape "POWER" { cornerRadius = 7, { [ 14, 14 ] } };
    410 
    411     section "Media" {
    412         top = 5;
    413         left = 102;
    414         width = 60;
    415         height = 14;
    416         key.color="grey30";
    417         key.shape = "MEDIA";
    418         row {
    419            top = 0;
    420            keys {
    421              <I2E>, <I30>, <I20>, { <I04>, shape = "POWER", gap = 3 }
    422            };
    423         };
    424     };
    425 
    426 
    427     shape "FKEY" { cornerRadius = 1, { [ 18, 12 ] }, { [ 1, 1 ], [ 17, 10 ] } };
    428 
    429     section "Function" {
    430        top = 12;
    431        left = 8;
    432        width = 290;
    433        height = 24;
    434        key.color = "grey80";
    435        key.shape = "FKEY";
    436        key.gap = 0;
    437        row {
    438 	    top = 0;
    439             keys {      { <MENU>, 165 }, <PRSC>, <NMLK>, <PAUS>, 
    440                         { <INS>, 1 },  <HOME>, <PGUP> };
    441        };
    442        row {
    443 	    top = 12;
    444             keys { <ESC>, { <FK01>, 1 }, <FK02>, <FK03>, <FK04>, 
    445                           { <FK05>, 1 }, <FK06>, <FK07>, <FK08>,
    446                           { <FK09>, 1 }, <FK10>, <FK11>, <FK12>,
    447                           { <DELE>,  1 }, <END>, <PGDN> };
    448        };
    449    };
    450 
    451    shape "AKEY" { cornerRadius = 1, { [ 19, 19 ] }, { [ 2, 1 ], [ 17, 15 ] } };
    452    shape "BKSP" { cornerRadius = 1, { [ 44, 19 ] }, { [ 2, 1 ], [ 42, 15 ] } };
    453    shape "TABK" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } };
    454    shape "BKSL" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } };
    455    shape "CAPS" { cornerRadius = 1, { [ 34, 19 ] }, { [ 2, 1 ], [ 32, 15 ] } };
    456    shape "RTRN" { cornerRadius = 1, { [ 47, 19 ] }, { [ 2, 1 ], [ 45, 15 ] } };
    457    shape "LFSH" { cornerRadius = 1, { [ 44, 19 ] }, { [ 2, 1 ], [ 42, 15 ] } };
    458    shape "RTSH" { cornerRadius = 1, { [ 56, 19 ] }, { [ 2, 1 ], [ 54, 15 ] } };
    459    shape "LCTL" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } };
    460    shape "LALT" { cornerRadius = 1, { [ 25, 19 ] }, { [ 2, 1 ], [ 23, 15 ] } };
    461    shape "RCTL" { cornerRadius = 1, { [ 25, 19 ] }, { [ 2, 1 ], [ 23, 15 ] } };
    462    shape "SPCE" { cornerRadius = 1, { [ 96, 19 ] }, { [ 2, 1 ], [ 94, 15 ] } };
    463    
    464 
    465    section "Alpha" {
    466        top = 36;
    467        left = 8;
    468        width = 290;
    469        height = 21;
    470        key.color = "grey80";
    471        key.shape = "AKEY";
    472        key.gap = 0;
    473        row {
    474 	    top = 1;
    475             keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
    476 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
    477 		   <AE10>, <AE11>, <AE12>, { <BKSP>, 1, "BKSP" } };
    478 	};
    479        row {
    480 	    top = 20;
    481             keys { { <TAB>, "TABK" },
    482 		   { <AD01>, 1 }, <AD02>, <AD03>, <AD04>, <AD05>, 
    483 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    484 		   <AD11>, <AD12>, { <BKSL>, 1, "BKSL" } };
    485 	};
    486        row {
    487 	    top = 39;
    488             keys { { <CAPS>, "CAPS" },
    489 		   { <AC01>, 1 }, <AC02>, <AC03>, <AC04>, <AC05>, 
    490 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    491 		   <AC11>, { <RTRN>, 1, "RTRN" } };
    492 	};
    493        row {
    494 	    top = 58;
    495             keys { { <LFSH>, "LFSH" },
    496 		   { <AB01>, 1 }, <AB02>, <AB03>, <AB04>, <AB05>, 
    497 		   <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    498 		   { <RTSH>, 1, "RTSH" } };
    499 	};
    500        row {
    501            top = 77;
    502            keys { { <LCTL>, "LCTL" }, { <LWIN>, 20 }, { <LALT>, "LALT" }, 
    503                   { <SPCE>, "SPCE" }, <RALT>, { <RCTL>, "RCTL" } };
    504 	};
    505    };
    506 
    507    shape "SKEY" { cornerRadius = 1, { [ 18, 17 ] }, { [ 2, 1 ], [ 16, 13 ] } };
    508    section "Arrows" {
    509         top = 113;
    510         left = 243;
    511         width = 54;
    512         height = 36;
    513         
    514        key.color = "grey80";
    515         key.shape = "SKEY";
    516         row {
    517            top = 0;
    518            left = 20;
    519 
    520            keys { <UP> };
    521         };
    522   
    523         row {
    524             top = 17;
    525             left = 2;
    526 
    527             keys { <LEFT>, <DOWN>, <RGHT> };
    528         };
    529    };
    530 
    531   shape "STIK" { cornerRadius = 4, { [ 7, 7 ] } };
    532 
    533   solid "STIK" {
    534       priority = 255;
    535       color = "blue";
    536       shape = "STIK";
    537       top = 90; 
    538       left = 135;
    539   };
    540 };
    541  
    542 xkb_geometry "latitude" {
    543 	description="Dell Latitude";
    544 	width=304.2; height=219.1;
    545 
    546 	baseColor="grey"; labelColor="white";
    547 
    548 	alias <AC00> =<CAPS>;
    549 	alias <AA00> =<LCTL>;
    550 
    551 	shape "EXTERNAL" {corner=3,
    552 		{[0,0], [302,0], [302,154], [174,154], [174,198], [166,216], [107,216], [100,198], [100,154], [0,154]}};
    553 	solid "external" {shape="EXTERNAL"; top=1.1; left=1.1; color="grey10"; priority=10;};
    554 
    555 	shape "INTERNAL" {corner=3,
    556 		{[0,13], [162.2,13], [162.2,0], [286,0], [286,138], [230,138], [230,124], [163,124], [163,138], [96,138], [96,124], [0,124]}};
    557 	solid "internal" {shape="INTERNAL"; top=7; left=8.5; color="black"; priority=20;};
    558 
    559 	shape "TOUCHPAD" {corner=2, {[68,40]}};
    560 	solid "touchpad" {shape="TOUCHPAD"; top=153; left=104; color="grey20"; priority=20;};
    561 
    562 	shape "TOUCHPADBUTTONS" {corner=1,
    563 		{[0,0], [33.5,0], [33.5,16], [6,16]},
    564 		{[34.5,0], [68,0], [61, 16], [34.5,16]}};
    565 	solid "touchleft" {shape="TOUCHPADBUTTONS"; top=198; left=104; color="grey20"; priority=20;};
    566 
    567 	shape "NIPPLE" {corner=3, {[7.5,7.5]}};
    568 	solid "nipple" {shape="NIPPLE"; top=87; left=134; color="blue"; priority=200;};
    569 	shape "NIPPLEBUTTONS" {corner=2, {[32.5,13]}, {[33.5,0],[66,13]}};
    570 	solid "nipplebuttons" {shape="NIPPLEBUTTONS"; top=131; left=105; color="grey20"; priority=20;};
    571 
    572 	shape "FILLINGS" {corner=1.5, {[19,15]}, {[38,0],[55,15]}};
    573 	solid "fillings" {shape="FILLINGS"; top=112; left=238; color="grey"; priority=200;};
    574 
    575 	shape "FUNC" {corner=1.5, {[16.3,12]}, {[2,0.5], [14,10]}};
    576 	shape "ESC" {corner=1.5, {[18,12]}, {[2,0.5], [16,10]}};
    577 	shape "BKSP" {corner=1.5, {[36.5,18]}, {[3,0.5], [33.5,14]}};
    578 
    579 	section "Function" {key.color="grey"; priority=100; top=9; left=10; width=290; height=28;
    580 	row {top=0; left=161.1; keys {{<MENU>,"FUNC",1.1}, {<PRSC>,"FUNC",1.1}, {<NMLK>,"FUNC",1.1},
    581 		{<PAUS>,"FUNC",1.1}, {<INS>,"FUNC",2.5}, {<HOME>,"FUNC",1.1}, {<PGUP>,"FUNC",1.1}};};
    582 	row {top=12.5; left=0; keys {{<ESC>,"ESC",0},
    583 		{<FK01>,"FUNC",2.7}, {<FK02>,"FUNC",1.1}, {<FK03>,"FUNC",1.1}, {<FK04>,"FUNC",1.1},
    584 		{<FK05>,"FUNC",2.5}, {<FK06>,"FUNC",1.1}, {<FK07>,"FUNC",1.1}, {<FK08>,"FUNC",1.1},
    585 		{<FK09>,"FUNC",2.5}, {<FK10>,"FUNC",1.1}, {<FK11>,"FUNC",1.1}, {<FK12>,"FUNC",1.1},
    586 		{<DELE>,"FUNC",2.5}, {<END>, "FUNC",1.1}, {<PGDN>,"FUNC",1.1}};};
    587 	}; // End of "Function" section
    588 
    589 	shape "NORM" {corner=1.5, {[18,18]}, {[3,0.5], [14.8,14]}};
    590 	shape "TABK" {corner=1.5, {[28,18]}, {[3,0.5], [25,14]}};
    591 	shape "CAPS" {corner=1.5, {[32,18]}, {[3,0.5], [22,14]}};
    592 	shape "LFSH" {corner=1.5, {[23,18]}, {[3,0.5], [20,14]}};
    593 	shape "RTSH" {corner=1.5, {[50,18]}, {[3,1], [47,14]}};
    594 	shape "RTRN" {corner=1.5, {[0,0],[26.5,0],[26.5,37],[4,37],[4,18],[0,18]},
    595 		{[3,0.5], [23.5,0.5], [23.5,33], [7,33], [7,14], [3,14]}};
    596 	shape "SPCE" {corner=1.5,{[95,18]}, {[3,0.5],[92,14]}};
    597 	shape "LCTL" {corner=1.5, {[27,18]}, {[3,0.5],[24,14]}};
    598 	shape "LALT" {corner=1.5, {[22,18]}, {[3,0.5],[19,14]}};
    599 	shape "WIN" {corner=1.5, {[18,18]}, {[3,0.5],[15,14]}};
    600 
    601 	section "Alpha" {key.color="grey"; priority=100; top=36; left=10; width=290; height=18;
    602 	row {top=0; left=0; keys {{<TLDE>, "NORM", 0}, {<AE01>, "NORM", 1}, {<AE02>, "NORM", 1}, {<AE03>, "NORM", 1},
    603 		{<AE04>, "NORM", 1}, {<AE05>, "NORM", 1}, {<AE06>, "NORM", 1}, {<AE07>, "NORM", 1}, {<AE08>, "NORM", 1},
    604 		{<AE09>, "NORM", 1}, {<AE10>, "NORM", 1}, {<AE11>, "NORM", 1}, {<AE12>, "NORM", 1}, {<BKSP>, "BKSP", 1}};};
    605 	row {top=19; left=0; keys {{<TAB>, "TABK", 0}, {<AD01>, "NORM", 1}, {<AD02>, "NORM", 1}, {<AD03>, "NORM", 1},
    606 		{<AD04>, "NORM", 1}, {<AD05>, "NORM", 1}, {<AD06>, "NORM", 1}, {<AD07>, "NORM", 1}, {<AD08>, "NORM", 1},
    607 		{<AD09>, "NORM", 1}, {<AD10>, "NORM", 1}, {<AD11>, "NORM", 1}, {<AD12>, "NORM", 1}, {<RTRN>, "RTRN", 1}};};
    608 	row {top=38; left=0; keys {{<CAPS>, "CAPS", 0}, {<AC01>, "NORM", 1}, {<AC02>, "NORM", 1}, {<AC03>, "NORM", 1},
    609 		{<AC04>, "NORM", 1}, {<AC05>, "NORM", 1}, {<AC06>, "NORM", 1}, {<AC07>, "NORM", 1}, {<AC08>, "NORM", 1}, 
    610 		{<AC09>, "NORM", 1}, {<AC10>, "NORM", 1}, {<AC11>, "NORM", 1}, {<AC12>, "NORM", 1}};};
    611 	// TODO There's a weird <> key here, check it out:
    612 	row {top=57; left=0; keys {{<LFSH>, "LFSH", 0}, {<AB01>, "NORM", 1}, {<AB02>, "NORM", 1}, {<AB03>, "NORM", 1},
    613 		{<AB04>, "NORM", 1}, {<AB05>, "NORM", 1}, {<AB06>, "NORM", 1}, {<AB07>, "NORM", 1}, {<AB08>, "NORM", 1},
    614 		{<AB09>, "NORM", 1}, {<AB10>, "NORM", 1}, {<AB11>, "NORM", 1}, {<RTSH>, "RTSH", 1}};};
    615 	row {top=76; left=0; keys {{<LCTL>, "LCTL", 0}, {<FN>, "WIN", 1},{<LWIN>, "WIN", 1}, {<LALT>, "LALT", 1},
    616 		{<SPCE>, "SPCE", 1}, {<RALT>, "WIN", 1},{<RCTL>, "LALT", 1}};};
    617 	}; // End of "Alpha" section
    618 
    619 	shape "ARROW" {corner=1.5, {[17,15]}, {[2,0.5],[15,13]}};
    620 	section "Arrows" {key.color="grey"; priority=110; top=112; left=240; width=43; height=31;
    621 		row {top=0; left=18; keys {{<UP>, "ARROW", 0}};};	
    622 		row {top=16; left=0; keys {{<LEFT>, "ARROW", 0}, {<DOWN>, "ARROW", 1}, {<RGHT>, "ARROW", 1}};};
    623 		}; // End of "Arrows" section
    624 
    625 	shape "LEDS" {corner=3, {[25,7]}};
    626 	solid "leds" {shape="LEDS"; top=5.7; left=69; color="grey"; priority=10;};
    627 	shape "LED" {corner=0, {[0,1.5], [3,4.5]}, {[0.5,1.5], [1,0] , [2,0], [2.5,1.5]}};
    628 	indicator.onColor="green";
    629 	indicator.offColor="grey";
    630 	indicator.top=7;
    631 	indicator.shape="LED"; 
    632 	indicator.priority=200;
    633 	indicator "Num Lock" {left=72;};
    634 	indicator "Caps Lock" {left=80;};
    635 	indicator "Scroll Lock" {left=88;};
    636 
    637 	text "LATITUDE" {left=10; top=7; text="L A T I T U D E | D620";};
    638 
    639 	shape "ROUND" {corner=5, {[10,10]}};
    640 	shape "POWER" {corner=7, {[15,15]}};
    641 	section "Topbuttons" {key.color="grey"; priority=110; top=2; left=100;
    642 		row {top=2; left=0; keys {{<VLUP>, "ROUND", 0}, {<VLDN>, "ROUND", 3}, {<MUTE>, "ROUND", 3}};};	
    643 		row {top=0; left=45; keys {{<POWR>, "POWER", 0}};};
    644 		}; // End of "TopButtons" section
    645 };
    646