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