Home | History | Annotate | Line # | Download | only in geometry
sun revision 1.1.1.4
      1 // Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
      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 
     28 xkb_geometry "t6" {
     29 
     30     // This is an approximate layout for a (US/ASCII) Sun Type6
     31     // keyboard.  I just took a similar layout (101 key PC keyboard)
     32     // and adjusted the sizes.
     33 
     34     width= 515;
     35     height= 170;
     36 
     37     shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
     38     shape.cornerRadius= 1;
     39     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
     40     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
     41     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
     42     shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
     43     shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
     44     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
     45     shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
     46     shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
     47     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
     48     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
     49     shape "SPCE" { { [136,18] }, { [2,1], [134,17] } };
     50     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
     51     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
     52     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
     53     shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } };
     54     shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } };
     55     shape "LOGO" { { [ 16,16] } };
     56 
     57     outline "Edges" {
     58 	top= 0;
     59 	left= 0;
     60 	shape= "EDGE";
     61     };
     62 
     63     section.left= 14;
     64     row.left= 1;
     65     key.shape= "NORM";
     66     key.gap=  1;
     67     section "Function" {
     68 	top= 24;
     69 	row {
     70 	    top= 1;
     71 	    keys { { <HELP>, "HELP" }, { <ESC>, 9 },
     72 		   { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
     73 		   { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
     74 		   { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
     75 		   { <PRSC>,  9 }, <SCLK>, <PAUS>,
     76 		   { <MUTE>,  9 }, <VOL->, <VOL+>, <POWR>
     77 	    };
     78 	};
     79     }; // End of "Function" section
     80 
     81     section "Alpha" {
     82 	top= 61;
     83 	row {
     84 	    top= 1;
     85 	    keys { <STOP>, <AGAI>,
     86 		 { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
     87 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
     88 		   <AE10>, <AE11>, <AE12>,
     89 		 { <BKSP>, "BKSP", color="grey20" }
     90 	    };
     91 	};
     92 	row {
     93 	    top= 20;
     94 	    keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
     95 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
     96 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
     97 		   <AD11>, <AD12>,
     98 		 { <BKSL>, "BKSL" }
     99 	    };
    100 	};
    101 	row {
    102 	    top= 39;
    103 	    keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
    104 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    105 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    106 		   <AC11>,
    107 		 { <RTRN>, "RTRN" }
    108 	    };
    109 	};
    110 	row {
    111 	    top= 58;
    112 	    keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, 
    113 		   <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    114 		   <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    115 		 { <RTSH>, "RTSH", color="grey20" }
    116 	    };
    117 	};
    118 	row {
    119 	    top= 77;
    120 	    keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
    121 		   <LALT>, { <LMTA>, "LMTA" },
    122 		 { <SPCE>, "SPCE" },
    123 		 { <RMTA>, "RMTA" }, <COMP>, <ALGR>
    124 	    };
    125 	};
    126     }; // End of "Alpha" section
    127 
    128     section "Editing" {
    129 	top= 61;
    130 	left= 352;
    131 	row {
    132 	    top= 1;
    133 	    keys { <INS>, <HOME>, <PGUP> };
    134 	};
    135 	row {
    136 	    top= 20;
    137 	    keys { <DELE>, <END>, <PGDN> };
    138 	};
    139 	row {
    140 	    top= 58;
    141 	    left= 20;
    142 	    keys { <UP> };
    143 	};
    144 	row {
    145 	    top= 77;
    146 	    keys { <LEFT>, <DOWN>, <RGHT> };
    147 	};
    148     }; // End of "Editing" section
    149 
    150     section "Keypad" {
    151 	top= 61;
    152 	left= 420;
    153 	row {
    154 	    top= 1;
    155 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    156 	};
    157 	row {
    158 	    top= 20;
    159 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
    160 	};
    161 	row {
    162 	    top= 39;
    163 	    keys { <KP4>, <KP5>, <KP6> };
    164 	};
    165 	row {
    166 	    top= 58;
    167 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
    168 	};
    169 	row {
    170 	    top= 77;
    171 	    keys { { <KP0>, "KP0" }, <KPDL> };
    172 	};
    173     }; // End of "Keypad" section
    174 
    175     shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
    176     shape "LED"  { cornerRadius= 2, { [  3,  6 ] } };
    177     solid "LedPanel" {
    178 	shape= "LEDS";
    179 	top=  1;
    180 	left= 218;
    181     };
    182     indicator.onColor= "green";
    183     indicator.offColor= "green30";
    184     indicator.top= 10;
    185     indicator.shape= "LED";
    186     indicator "CapsLock"	{ left= 243; };
    187     indicator "Compose"	{ left= 281; };
    188     indicator "ScrollLock"	{ left= 262; };
    189     indicator "NumLock"	{ left= 224; };
    190     text.top= 1;
    191     text.color= "black";
    192     text "CapsLockLabel"	{ left= 243; text="Caps\nLock"; };
    193     text "ComposeLabel"		{ left= 281; text="Compose"; };
    194     text "ScrollLockLabel"	{ left= 262; text="Scroll\nLock"; };
    195     text "NumLockLabel"		{ left= 224; text="Num\nLock"; };
    196 
    197 
    198 };
    199 
    200 xkb_geometry "t6tuv" {
    201 
    202     // This is an approximate layout for a (US/ASCII) Sun Type6
    203     // keyboard.  I just took a similar layout (101 key PC keyboard)
    204     // and adjusted the sizes.
    205 
    206     width= 515;
    207     height= 170;
    208 
    209     shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
    210     shape.cornerRadius= 1;
    211     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } }; 
    212     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
    213     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
    214     shape "RTRN" { 
    215         approx = { [ 0, 0], [28,37] },
    216         { [ 0, 0], [28, 0], [28,37],
    217           [ 5,37], [ 5,18], [ 0,18] },
    218         { [ 1, 1], [26, 1], [26,36],
    219           [ 7,36], [ 7,17], [ 1,17] }
    220     };
    221     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
    222     shape "LFSH" { { [ 24,18] }, { [2,1], [22,17] } };
    223     shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
    224     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
    225     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
    226     shape "SPCE" { { [137,18] }, { [2,1], [135,17] } };
    227     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
    228     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
    229     shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } };
    230     shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } };
    231     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
    232     shape "LOGO" { { [ 16,16] } };
    233 
    234     outline "Edges" {
    235 	top= 0;
    236 	left= 0;
    237 	shape= "EDGE";
    238     };
    239 
    240     section.left= 14;
    241     row.left= 1;
    242     key.shape= "NORM";
    243     key.gap=  1;
    244     section "Function" {
    245 	top= 24;
    246 	row {
    247 	    top= 1;
    248 	    keys { { <HELP>, "HELP" }, { <ESC>, 9 },
    249 		   { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
    250 		   { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
    251 		   { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
    252 		   { <PRSC>,  9 }, <SCLK>, <PAUS>,
    253 		   { <MUTE>,  9 }, <VOL->, <VOL+>, <POWR>
    254 	    };
    255 	};
    256     }; // End of "Function" section
    257 
    258     section "Alpha" {
    259 	top= 61;
    260 	row {
    261 	    top= 1;
    262 	    keys { <STOP>, <AGAI>,
    263 		 { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
    264 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
    265 		   <AE10>, <AE11>, <AE12>,
    266 		 { <BKSP>, "BKSP", color="grey20" }
    267 	    };
    268 	};
    269 	row {
    270 	    top= 20;
    271 	    keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
    272 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    273 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    274 		   <AD11>, <AD12>, 
    275 		   { <RTRN>, "RTRN" }
    276 	    };
    277 	};
    278 	row {
    279 	    top= 39;
    280 	    keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
    281 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    282 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    283 		   <AC11>, <BKSL>
    284 	    };
    285 	};
    286 	row {
    287 	    top= 58;
    288 	    keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, <LSGT>, 
    289 		   <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    290 		   <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    291 		 { <RTSH>, "RTSH", color="grey20" }
    292 	    };
    293 	};
    294 	row {
    295 	    top= 77;
    296 	    keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
    297 		   <LALT>, { <LMTA>, "LMTA" },
    298 		 { <SPCE>, "SPCE" },
    299 		 { <RMTA>, "RMTA" }, <COMP>, <ALGR>
    300 	    };
    301 	};
    302     }; // End of "Alpha" section
    303 
    304     section "Editing" {
    305 	top= 61;
    306 	left= 352;
    307 	row {
    308 	    top= 1;
    309 	    keys { <INS>, <HOME>, <PGUP> };
    310 	};
    311 	row {
    312 	    top= 20;
    313 	    keys { <DELE>, <END>, <PGDN> };
    314 	};
    315 	row {
    316 	    top= 58;
    317 	    left= 20;
    318 	    keys { <UP> };
    319 	};
    320 	row {
    321 	    top= 77;
    322 	    keys { <LEFT>, <DOWN>, <RGHT> };
    323 	};
    324     }; // End of "Editing" section
    325 
    326     section "Keypad" {
    327 	top= 61;
    328 	left= 420;
    329 	row {
    330 	    top= 1;
    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     shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
    352     shape "LED"  { cornerRadius= 2, { [  3,  6 ] } };
    353     solid "LedPanel" {
    354 	shape= "LEDS";
    355 	top=  1;
    356 	left= 218;
    357     };
    358     indicator.onColor= "green";
    359     indicator.offColor= "green30";
    360     indicator.top= 10;
    361     indicator.shape= "LED";
    362     indicator "CapsLock"	{ left= 243; };
    363     indicator "Compose"	{ left= 281; };
    364     indicator "ScrollLock"	{ left= 262; };
    365     indicator "NumLock"	{ left= 224; };
    366     text.top= 1;
    367     text.color= "black";
    368     text "CapsLockLabel"	{ left= 243; text="Caps\nLock"; };
    369     text "ComposeLabel"		{ left= 281; text="Compose"; };
    370     text "ScrollLockLabel"	{ left= 262; text="Scroll\nLock"; };
    371     text "NumLockLabel"		{ left= 224; text="Num\nLock"; };
    372 
    373 };
    374 
    375 xkb_geometry "t6jp" {
    376 
    377     // This is an approximate layout for a (US/ASCII) Sun Type6
    378     // keyboard.  I just took a similar layout (101 key PC keyboard)
    379     // and adjusted the sizes.
    380 
    381     width= 515;
    382     height= 170;
    383 
    384     shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
    385     shape.cornerRadius= 1;
    386     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
    387     shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
    388     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
    389     shape "KANJ" { { [ 27,18] }, { [2,1], [25,17] } };
    390     shape "EXEC" { { [ 27,18] }, { [2,1], [25,17] } };
    391     shape "RTRN" { 
    392         approx = { [ 0, 0], [28,37] },
    393         { [ 0, 0], [28, 0], [28,37],
    394           [ 5,37], [ 5,18], [ 0,18] },
    395         { [ 1, 1], [26, 1], [26,36],
    396           [ 7,36], [ 7,17], [ 1,17] }
    397     };
    398     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
    399     shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
    400     shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } };
    401     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
    402     shape "SPCE" { { [ 96,18] }, { [2,1], [94,17] } };
    403     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
    404     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
    405     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
    406     shape "LOGO" { { [ 16,16] } };
    407 
    408     outline "Edges" {
    409 	top= 0;
    410 	left= 0;
    411 	shape= "EDGE";
    412     };
    413 
    414     section.left= 14;
    415     row.left= 1;
    416     key.shape= "NORM";
    417     key.gap=  1;
    418     section "Function" {
    419 	top= 24;
    420 	row {
    421 	    top= 1;
    422 	    keys { { <HELP>, "HELP" }, { <ESC>, 9 },
    423 		   { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
    424 		   { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
    425 		   { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
    426 		   { <PRSC>,  9 }, <SCLK>, <PAUS>,
    427 		   { <MUTE>,  9 }, <VOL->, <VOL+>, <POWR>
    428 	    };
    429 	};
    430     }; // End of "Function" section
    431 
    432     section "Alpha" {
    433 	top= 61;
    434 	row {
    435 	    top= 1;
    436 	    keys { <STOP>, <AGAI>,
    437 		 { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
    438 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
    439 		   <AE10>, <AE11>, <AE12>,
    440 		 { <BKSP>, "BKSP", color="grey20" }
    441 	    };
    442 	};
    443 	row {
    444 	    top= 20;
    445 	    keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
    446 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    447 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    448 		   <AD11>, <AD12>, 
    449 		   { <RTRN>, "RTRN" }
    450 	    };
    451 	};
    452 	row {
    453 	    top= 39;
    454 	    keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
    455 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    456 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    457 		   <AC11>, <BKSL>
    458 	    };
    459 	};
    460 	row {
    461 	    top= 58;
    462 	    keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, 
    463 		   <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    464 		   <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <UNDR>,
    465 		 { <RTSH>, "RTSH", color="grey20" }
    466 	    };
    467 	};
    468 	row {
    469 	    top= 77;
    470 	    keys { <FIND>, <CUT>, { <LCTL>, 9 },
    471 		   <LALT>, <LMTA>, { <EXEC>, "EXEC" },
    472 		 { <SPCE>, "SPCE" }, { <KANJ>, "KANJ" }, <HENK>,
    473 		   <RMTA>, <COMP>, <ALGR>
    474 	    };
    475 	};
    476     }; // End of "Alpha" section
    477 
    478     section "Editing" {
    479 	top= 61;
    480 	left= 352;
    481 	row {
    482 	    top= 1;
    483 	    keys { <INS>, <HOME>, <PGUP> };
    484 	};
    485 	row {
    486 	    top= 20;
    487 	    keys { <DELE>, <END>, <PGDN> };
    488 	};
    489 	row {
    490 	    top= 58;
    491 	    left= 20;
    492 	    keys { <UP> };
    493 	};
    494 	row {
    495 	    top= 77;
    496 	    keys { <LEFT>, <DOWN>, <RGHT> };
    497 	};
    498     }; // End of "Editing" section
    499 
    500     section "Keypad" {
    501 	top= 61;
    502 	left= 420;
    503 	row {
    504 	    top= 1;
    505 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    506 	};
    507 	row {
    508 	    top= 20;
    509 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
    510 	};
    511 	row {
    512 	    top= 39;
    513 	    keys { <KP4>, <KP5>, <KP6> };
    514 	};
    515 	row {
    516 	    top= 58;
    517 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
    518 	};
    519 	row {
    520 	    top= 77;
    521 	    keys { { <KP0>, "KP0" }, <KPDL> };
    522 	};
    523     }; // End of "Keypad" section
    524 
    525     shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
    526     shape "LED"  { cornerRadius= 2, { [  3,  6 ] } };
    527     solid "LedPanel" {
    528 	shape= "LEDS";
    529 	top=  1;
    530 	left= 218;
    531     };
    532     indicator.onColor= "green";
    533     indicator.offColor= "green30";
    534     indicator.top= 10;
    535     indicator.shape= "LED";
    536     indicator "CapsLock"	{ left= 243; };
    537     indicator "Compose"	{ left= 281; };
    538     indicator "ScrollLock"	{ left= 262; };
    539     indicator "NumLock"	{ left= 224; };
    540     text.top= 1;
    541     text.color= "black";
    542     text "CapsLockLabel"	{ left= 243; text="Caps\nLock"; };
    543     text "ComposeLabel"		{ left= 281; text="Compose"; };
    544     text "ScrollLockLabel"	{ left= 262; text="Scroll\nLock"; };
    545     text "NumLockLabel"		{ left= 224; text="Num\nLock"; };
    546 
    547 };
    548 
    549 xkb_geometry "t6unix" {
    550 
    551     // This is an approximate layout for a (US/ASCII) Sun Type6
    552     // keyboard.  I just took a similar layout (101 key PC keyboard)
    553     // and adjusted the sizes.
    554 
    555     width= 515;
    556     height= 170;
    557 
    558     shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
    559     shape.cornerRadius= 1;
    560     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
    561     shape "BKSP" { { [ 28,18] }, { [2,1], [26,17] } };
    562     shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
    563     shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
    564     shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
    565     shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
    566     shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
    567     shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
    568     shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
    569     shape "SPCE" { { [136,18] }, { [2,1], [134,17] } };
    570     shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
    571     shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
    572     shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
    573     shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } };
    574     shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } };
    575     shape "LOGO" { { [ 16,16] } };
    576 
    577     outline "Edges" {
    578 	top= 0;
    579 	left= 0;
    580 	shape= "EDGE";
    581     };
    582 
    583     section.left= 14;
    584     row.left= 1;
    585     key.shape= "NORM";
    586     key.gap=  1;
    587     section "Function" {
    588 	top= 24;
    589 	row {
    590 	    top= 1;
    591 	    keys { { <HELP>, "HELP" }, { <NONE>, 9 },
    592 		   { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
    593 		   { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
    594 		   { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
    595 		   { <PRSC>,  9 }, <SCLK>, <PAUS>,
    596 		   { <MUTE>,  9 }, <VOL->, <VOL+>, <POWR>
    597 	    };
    598 	};
    599     }; // End of "Function" section
    600 
    601     section "Alpha" {
    602 	top= 61;
    603 	row {
    604 	    top= 1;
    605 	    keys { <STOP>, <AGAI>,
    606 		 { <ESC>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
    607 		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
    608 		   <AE10>, <AE11>, <AE12>,
    609 		   <BKSL>, <TLDE>
    610 	    };
    611 	};
    612 	row {
    613 	    top= 20;
    614 	    keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
    615 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    616 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    617 		   <AD11>, <AD12>,
    618 		 { <BKSP>, "BKSP", color="grey20" }
    619 	    };
    620 	};
    621 	row {
    622 	    top= 39;
    623 	    keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
    624 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    625 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    626 		   <AC11>,
    627 		 { <RTRN>, "RTRN" }
    628 	    };
    629 	};
    630 	row {
    631 	    top= 58;
    632 	    keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, 
    633 		   <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    634 		   <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    635 		 { <RTSH>, "RTSH", color="grey20" }
    636 	    };
    637 	};
    638 	row {
    639 	    top= 77;
    640 	    keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
    641 		   <LALT>, {<LMTA>, "LMTA"},
    642 		 { <SPCE>, "SPCE" },
    643 		   {<RMTA>, "RMTA"}, <COMP>, <ALGR>
    644 	    };
    645 	};
    646     }; // End of "Alpha" section
    647 
    648     section "Editing" {
    649 	top= 61;
    650 	left= 352;
    651 	row {
    652 	    top= 1;
    653 	    keys { <INS>, <HOME>, <PGUP> };
    654 	};
    655 	row {
    656 	    top= 20;
    657 	    keys { <DELE>, <END>, <PGDN> };
    658 	};
    659 	row {
    660 	    top= 58;
    661 	    left= 20;
    662 	    keys { <UP> };
    663 	};
    664 	row {
    665 	    top= 77;
    666 	    keys { <LEFT>, <DOWN>, <RGHT> };
    667 	};
    668     }; // End of "Editing" section
    669 
    670     section "Keypad" {
    671 	top= 61;
    672 	left= 420;
    673 	row {
    674 	    top= 1;
    675 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    676 	};
    677 	row {
    678 	    top= 20;
    679 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
    680 	};
    681 	row {
    682 	    top= 39;
    683 	    keys { <KP4>, <KP5>, <KP6> };
    684 	};
    685 	row {
    686 	    top= 58;
    687 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
    688 	};
    689 	row {
    690 	    top= 77;
    691 	    keys { { <KP0>, "KP0" }, <KPDL> };
    692 	};
    693     }; // End of "Keypad" section
    694 
    695     shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
    696     shape "LED"  { cornerRadius= 2, { [  3,  6 ] } };
    697     solid "LedPanel" {
    698 	shape= "LEDS";
    699 	top=  1;
    700 	left= 218;
    701     };
    702     indicator.onColor= "green";
    703     indicator.offColor= "green30";
    704     indicator.top= 10;
    705     indicator.shape= "LED";
    706     indicator "CapsLock"	{ left= 243; };
    707     indicator "Compose"	{ left= 281; };
    708     indicator "ScrollLock"	{ left= 262; };
    709     indicator "NumLock"	{ left= 224; };
    710     text.top= 1;
    711     text.color= "black";
    712     text "CapsLockLabel"	{ left= 243; text="Caps\nLock"; };
    713     text "ComposeLabel"		{ left= 281; text="Compose"; };
    714     text "ScrollLockLabel"	{ left= 262; text="Scroll\nLock"; };
    715     text "NumLockLabel"		{ left= 224; text="Num\nLock"; };
    716 };
    717 
    718 
    719 default xkb_geometry "type6" {
    720     include "sun(t6)"
    721     description= "Sun Type6 keyboard (US, Korea, Taiwan)";
    722 };
    723 
    724 xkb_geometry "type6jp" {
    725     include "sun(t6jp)"
    726     description= "Sun Type6 Japanese keyboard";
    727 };
    728 
    729 xkb_geometry "type6tuv" {
    730     include "sun(t6tuv)"
    731     description= "Sun Type6 TUV keyboard";
    732 };
    733 
    734 xkb_geometry "type6unix" {
    735     include "sun(t6unix)"
    736     description= "Sun Type6 Unix keyboard";
    737 };
    738 
    739 xkb_geometry "type7" {
    740     include "sun(t6)"
    741     description= "Sun Type7 keyboard (US, Korea, Taiwan)";
    742 };
    743 
    744 xkb_geometry "type7jp" {
    745     include "sun(t6jp)"
    746     description= "Sun Type7 Japanese keyboard";
    747 };
    748 
    749 xkb_geometry "type7tuv" {
    750     include "sun(t6tuv)"
    751     description= "Sun Type7 TUV keyboard";
    752 };
    753 
    754 xkb_geometry "type7unix" {
    755     include "sun(t6unix)"
    756     description= "Sun Type7 Unix keyboard";
    757 };
    758