Home | History | Annotate | Line # | Download | only in digital_vndr
lk revision 1.1
      1 // $Xorg: lk,v 1.3 2000/08/17 19:54:36 cpqbld Exp $
      2 //
      3 //Copyright (c) 1996  Digital Equipment Corporation
      4 //
      5 //Permission is hereby granted, free of charge, to any person obtaining
      6 //a copy of this software and associated documentation files (the
      7 //"Software"), to deal in the Software without restriction, including
      8 //without limitation the rights to use, copy, modify, merge, publish,
      9 //distribute, sublicense, and sell copies of the Software, and to
     10 //permit persons to whom the Software is furnished to do so, subject to
     11 //the following conditions:
     12 //
     13 //The above copyright notice and this permission notice shall be included
     14 //in all copies or substantial portions of the Software.
     15 //
     16 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
     17 //OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     18 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
     19 //IN NO EVENT SHALL DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM,
     20 //DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
     21 //OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
     22 //THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     23 //
     24 //Except as contained in this notice, the name of the Digital Equipment 
     25 //Corporation shall not be used in advertising or otherwise to promote
     26 //the sale, use or other dealings in this Software without prior written
     27 //authorization from Digital Equipment Corporation.
     28 //
     29 // HISTORY
     30 // Log: lk,v 
     31 // Revision 1.2  1996/06/18  09:12:47  erik
     32 // use flags correctly, assorted cleanups and consortium fixes
     33 //
     34 // Revision 1.1.6.2  1995/08/18  21:15:16  William_Walker
     35 // 	Upgrade XKB to Protocol Rev. 0.64
     36 // 	[1995/08/18  20:41:46  William_Walker]
     37 //
     38 // Revision 1.1.2.5  1995/08/11  19:35:47  William_Walker
     39 // 	Sync up with Erik's pool.
     40 // 	[1995/08/11  18:35:58  William_Walker]
     41 // 
     42 // Revision 1.1.2.4  1995/06/27  12:17:28  William_Walker
     43 // 	Rename <TLDE> to ISO9995 compliant <AE00>.
     44 // 	[1995/06/26  20:23:07  William_Walker]
     45 // 
     46 // Revision 1.1.2.3  1995/06/09  20:54:36  William_Walker
     47 // 	Add VT105 layout support and ISO group support
     48 // 	[1995/06/09  20:40:38  William_Walker]
     49 // 
     50 // Revision 1.1.2.2  1995/06/05  19:21:16  William_Walker
     51 // 	New file.  I love keymaps.
     52 // 	[1995/06/05  18:05:43  William_Walker]
     53 // 
     54 // EndLog
     55 // 
     56 // @(#)RCSfile: lk,v  Revision: 1.2  (DEC) Date: 1996/01/24 12:16:00
     57 // 
     58 xkb_geometry "lk201" {
     59     width	       = 530;
     60     height	       = 170;
     61     shape.cornerRadius = 1;
     62 
     63     shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
     64     shape "RTRN" {
     65 	approx = { [0,0],[23,19] },
     66         { [0,0], [23,0], [23,39], [5,39], [5,19], [0,19] },
     67         { [3,2], [20,2], [20,36], [8,36], [8,16], [3,16] }
     68     };
     69     shape "LONG"  { { [37,19] }, { [3,2], [34,16] } };
     70     shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
     71     shape "MED" { { [28,19] }, { [3,2], [25,16] } };
     72     shape "CAPS" { { [28,19] }, { [3,2], [18,16] } };
     73     shape "SPCE" { { [171,19] },{ [3,2], [168,16]} };
     74     shape "LEDS" { [ 30,15] };
     75     shape "LED"  { [  5, 2] };
     76 
     77     section.left= 27;
     78     row.left	= 1;
     79     key.shape	= "NORM";
     80     key.gap	=  1;
     81 
     82     section "Function" { top = 20;
     83         row { top = 1;
     84 	    keys {  <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
     85 		    { <FK06>, 19 }, <FK07>, <FK08>, <FK09>, <FK10>,
     86 		    { <FK11>, 19 }, <FK12>, <FK13>, <FK14>,
     87 		    { <FK17>, 98 }, <FK18>, <FK19>, <FK20>
     88 	    };
     89         };
     90     };
     91 
     92     section "Editing" { top = 20; left = 350;
     93         row { top = 1;
     94 	    keys { <HELP>, { <DO>, "LONG" } };
     95         };
     96         row { top = 41;
     97 	    keys { <FIND>, <INS>, <DELE> };
     98         };
     99         row { top = 61;
    100 	    keys { <SELE>, <PGUP>, <PGDN> };
    101         };
    102         row { top = 81; left = 20;
    103 	    keys { <UP> };
    104         };
    105         row { top = 101;
    106 	    keys { <LEFT>, <DOWN>, <RGHT> };
    107         };
    108     };
    109 
    110     section "Keypad" { top = 60; left = 426;
    111         row { top = 1;
    112 	    keys { <KPF1>, <KPF2>, <KPF3>, <KPF4> };
    113         };
    114         row { top = 21;
    115 	    keys { <KP7>, <KP8>, <KP9>, <KPSU> };
    116         };
    117         row { top = 41;
    118 	    keys { <KP4>, <KP5>, <KP6>, <KPCO> };
    119         };
    120         row { top = 61;
    121 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
    122         };
    123         row { top = 81;
    124 	    keys { { <KP0>, "LONG" }, <KPDL> };
    125         };
    126     };
    127 
    128     section "Alpha" { top = 60;
    129         row { top = 1; left = 15;
    130 	    keys {  <AE00>, 
    131 		    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
    132 		    <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
    133 		    { <BKSP>, "MED" }
    134 	    };
    135         };
    136         row { top = 21; left = 15;
    137 	    keys {  { <TAB>, "MED" },
    138 		    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
    139 		    <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
    140 		    { <RTRN>, "RTRN" }
    141 	    };
    142 
    143         };
    144         row { top = 41;
    145 	    keys {  <LCTL>,
    146 		    { <CAPS>, "CAPS" },
    147 		    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
    148 		    <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
    149 	    };
    150         };
    151         row { top = 61;
    152 	    keys {  { <LFSH>, "LONG" },
    153 		    <AB00>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    154 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
    155 		    { <RTSH>, "LONG" }
    156 	    };
    157         };
    158         row { top = 81;	left = 26;
    159 	    keys {  { <LCMP>, "LONG" },
    160 	    	    { <SPCE>, "SPCE" }
    161 	    };
    162         };
    163     };
    164 
    165     section.left = 341;
    166     section.top  = 3;
    167 
    168     section "Indicators" {
    169         indicator.onColor = "#00ff00";
    170         indicator.offColor= "#001000";
    171         indicator.top = 10;
    172         indicator.shape= "LED";
    173         indicator "Scroll Lock" { left = 9;  };
    174         indicator "Caps Lock"   { left = 27; };
    175         indicator "Compose"     { left = 45; };
    176         indicator "Wait"        { left = 63; };
    177         text.top = 4;
    178         text.color = "black";
    179         text "HoldScreenLabel" {left = 5; text="Hold\n"; };
    180         text "CapsLockLabel" {left = 23; text="Lock\n"; };
    181         text "ComposeLabel" {left = 37; text="Compose\n"; };
    182         text "WaitLabel" {left = 60; text="Wait\n"; };
    183     };
    184 };
    185 
    186 xkb_geometry "lk401" {
    187 
    188     width		= 480;
    189     height		= 180;
    190     shape.cornerRadius	= 1;
    191 
    192     shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
    193     shape "RTRN" {
    194 	approx = { [0,0],[23,19] },
    195         { [0,0], [23,0], [23,39], [5,39], [5,19], [0,19] },
    196         { [3,2], [20,2], [20,36], [8,36], [8,16], [3,16] }
    197     };
    198     shape "LONG"  { { [37,19] }, { [3,2], [34,16] } };
    199     shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
    200     shape "MED" { { [28,19] }, { [3,2], [25,16] } };
    201     shape "CAPS" { { [28,19] }, { [3,2], [18,16] } };
    202     shape "SPCE" { { [131,19] },{ [3,2], [128,16]} };
    203     shape "LEDS" { [ 36,15] };
    204     shape "LED"  { [  5, 2] };
    205 
    206     section.left= 17;
    207     row.left	= 1;
    208     key.shape	= "NORM";
    209     key.gap	=  1;
    210 
    211     text "Logo" {left = 20; top = 10; text="digital\n"; };
    212 
    213     section "Function" { top = 20;
    214     	row { top = 1;
    215 	    keys {  <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
    216 	    	    { <FK06>, 15 }, <FK07>, <FK08>, <FK09>, <FK10>,
    217 		    { <FK11>, 15 }, <FK12>, <FK13>, <FK14>,
    218 		    { <FK17>, 75 }, <FK18>, <FK19>, <FK20>
    219 	    };
    220         };
    221     };
    222 
    223     section "Editing" { top = 20; left = 320;
    224         row { top = 1;
    225 	    keys { <HELP>, { <DO>, "LONG" } };
    226         };
    227         row { top = 41;
    228 	    keys { <FIND>, <INS>, <DELE> };
    229         };
    230         row { top = 61;
    231 	    keys { <SELE>, <PGUP>, <PGDN> };
    232         };
    233         row { top = 81; left= 20;
    234 	    keys { <UP> };
    235         };
    236         row { top = 101;
    237 	    keys { <LEFT>, <DOWN>, <RGHT> };
    238         };
    239     };
    240 
    241     section "Keypad" { top = 60; left = 385;
    242         row { top = 1;
    243 	    keys { <KPF1>, <KPF2>, <KPF3>, <KPF4> };
    244         };
    245         row {
    246 	    top = 21;
    247 	    keys { <KP7>, <KP8>, <KP9>, <KPSU> };
    248         };
    249         row { top = 41;
    250 	    keys { <KP4>, <KP5>, <KP6>, <KPCO> };
    251         };
    252         row { top = 61;
    253 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
    254         };
    255         row { top = 81;
    256 	    keys { { <KP0>, "LONG" }, <KPDL> };
    257         };
    258     };
    259 
    260     section "Alpha" { top = 60;
    261         row { top = 1; left = 15;
    262 	    keys {  <AE00>, 
    263 		    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
    264 		    <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
    265 		    { <BKSP>, "MED" }
    266 	    };
    267         };
    268         row { top = 21; left = 15;
    269 	    keys {	{ <TAB>, "MED" },
    270 	    	    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
    271 		    <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
    272 		    { <RTRN>, "RTRN" }
    273 	    };
    274 
    275         };
    276         row { top = 41;
    277 	    keys {  <LCTL>,
    278 	    	    { <CAPS>, "CAPS" },
    279 		    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
    280 		    <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
    281 	    };
    282         };
    283         row { top = 61;
    284 	    keys { 	{ <LFSH>, "LONG" },
    285 		    <AB00>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    286 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
    287 		    { <RTSH>, "LONG" }
    288 	    };
    289         };
    290         row { top = 81; left = 29;
    291 	    keys { 	{ <LCMP>, "MED" },
    292 		    { <LALT>, "MED" },
    293 		    { <SPCE>, "SPCE" },
    294 		    { <RALT>, "MED" },
    295 		    { <RCMP>, "MED" }
    296 	    };
    297         };
    298     };
    299 
    300     section.left = 69;
    301     section.top  = 3;
    302     section "Indicators" {
    303         solid "led_panel" { top = 0; left = 0;
    304 	    cornerRadius = 1;
    305 	    shape = "LEDS";
    306 	    color = "grey";
    307         };
    308         indicator.onColor = "#00ff00";
    309         indicator.offColor= "#001000";
    310         indicator.shape   = "LED";
    311         indicator.top 	  = 1;
    312         indicator "Scroll Lock" { left = 3;  };
    313         indicator "Caps Lock"   { left = 22; };
    314     };
    315     section "IndicatorLabels" {
    316 	text.top = 4;
    317 	text.color = "black";
    318 	text "ScrollLockLabel" {left = 3;  text="Scroll\nLock"; };
    319 	text "CapsLockLabel"   {left = 22; text="Caps\nLock"; };
    320     };
    321 };
    322 
    323 xkb_geometry "lk450" {
    324 
    325     width		= 480;
    326     height		= 180;
    327     shape.cornerRadius	= 1;
    328 
    329     shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
    330     shape "RTRN" {
    331 	approx = { [0,0],[23,19] },
    332         { [0,0], [23,0], [23,39], [5,39], [5,19], [0,19] },
    333         { [3,2], [20,2], [20,36], [8,36], [8,16], [3,16] }
    334     };
    335     shape "LONG"  { { [37,19] }, { [3,2], [34,16] } };
    336     shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
    337     shape "MED" { { [28,19] }, { [3,2], [25,16] } };
    338     shape "CAPS" { { [28,19] }, { [3,2], [18,16] } };
    339     shape "SPCE" { { [131,19] },{ [3,2], [128,16]} };
    340     shape "LEDS" { [ 36,15] };
    341     shape "LED"  { [  5, 2] };
    342 
    343     section.left= 17;
    344     row.left	= 1;
    345     key.shape	= "NORM";
    346     key.gap	=  1;
    347 
    348     text "Logo" {left = 20; top = 10; text="digital\n"; };
    349 
    350     section "Function" { top = 20;
    351     	row { top = 1;
    352 	    keys {  <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
    353 	    	    { <FK06>, 15 }, <FK07>, <FK08>, <FK09>, <FK10>,
    354 		    { <FK11>, 15 }, <FK12>, <FK13>, <FK14>,
    355 		    { <FK17>, 75 }, <FK18>, <FK19>, <FK20>
    356 	    };
    357         };
    358     };
    359 
    360     section "Editing" { top = 20; left = 320;
    361         row { top = 1;
    362 	    keys { <HELP>, { <DO>, "LONG" } };
    363         };
    364         row { top = 41;
    365 	    keys { <FIND>, <INS>, <DELE> };
    366         };
    367         row { top = 61;
    368 	    keys { <SELE>, <PGUP>, <PGDN> };
    369         };
    370         row { top = 81; left= 20;
    371 	    keys { <UP> };
    372         };
    373         row { top = 101;
    374 	    keys { <LEFT>, <DOWN>, <RGHT> };
    375         };
    376     };
    377 
    378     section "Keypad" { top = 60; left = 385;
    379         row { top = 1;
    380 	    keys { <KPF1>, <KPF2>, <KPF3>, <KPF4> };
    381         };
    382         row {
    383 	    top = 21;
    384 	    keys { <KP7>, <KP8>, <KP9>, <KPSU> };
    385         };
    386         row { top = 41;
    387 	    keys { <KP4>, <KP5>, <KP6>, <KPCO> };
    388         };
    389         row { top = 61;
    390 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
    391         };
    392         row { top = 81;
    393 	    keys { { <KP0>, "LONG" }, <KPDL> };
    394         };
    395     };
    396 
    397     section "Alpha" { top = 60;
    398         row { top = 1; left = 15;
    399 	    keys {  <AE00>, 
    400 		    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
    401 		    <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
    402 		    { <BKSP>, "MED" }
    403 	    };
    404         };
    405         row { top = 21; left = 15;
    406 	    keys {	{ <TAB>, "MED" },
    407 	    	    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
    408 		    <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
    409 		    { <RTRN>, "RTRN" }
    410 	    };
    411 
    412         };
    413         row { top = 41;
    414 	    keys {  <LCTL>,
    415 	    	    { <CAPS>, "CAPS" },
    416 		    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
    417 		    <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
    418 	    };
    419         };
    420         row { top = 61;
    421 	    keys { 	{ <LFSH>, "LONG" },
    422 		    <AB00>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    423 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
    424 		    { <RTSH>, "LONG" }
    425 	    };
    426         };
    427         row { top = 81; left = 29;
    428 	    keys { 	{ <LCMP>, "MED" },
    429 		    { <LALT>, "MED" },
    430 		    { <SPCE>, "SPCE" },
    431 		    { <RALT>, "MED" },
    432 		    { <RCMP>, "MED" }
    433 	    };
    434         };
    435     };
    436 
    437     section.left = 69;
    438     section.top  = 3;
    439     section "Indicators" {
    440         solid "led_panel" { top = 0; left = 0;
    441 	    cornerRadius = 1;
    442 	    shape = "LEDS";
    443 	    color = "grey";
    444         };
    445         indicator.onColor = "#00ff00";
    446         indicator.offColor= "#001000";
    447         indicator.shape   = "LED";
    448         indicator.top 	  = 1;
    449         indicator "Scroll Lock" { left = 3;  };
    450         indicator "Caps Lock"   { left = 22; };
    451     };
    452     section "IndicatorLabels" {
    453 	text.top = 4;
    454 	text.color = "black";
    455 	text "ScrollLockLabel" {left = 3;  text="Scroll\nLock"; };
    456 	text "CapsLockLabel"   {left = 22; text="Caps\nLock"; };
    457     };
    458 };
    459 
    460 xkb_geometry "lk401bj"
    461 {
    462     width		= 480;
    463     height		= 180;
    464     shape.cornerRadius  = 1;
    465 
    466     shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
    467     shape "RTRN" {
    468     	approx = { [0,0],[23,19] },
    469         { [0,0], [23,0], [23,39], [5,39], [5,19], [0,19] },
    470         { [3,2], [20,2], [20,36], [8,36], [8,16], [3,16] }
    471     };
    472     shape "LONG"  { { [37,19] }, { [3,2], [34,16] } };
    473     shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
    474     shape "MED" { { [28,19] }, { [3,2], [25,16] } };
    475     shape "CAPS" { { [28,19] }, { [3,2], [18,16] } };
    476     shape "SPCE" { { [131,19] },{ [3,2], [128,16]} };
    477     shape "LEDS" { [ 30,15] };
    478     shape "LED"  { [  5, 2] };
    479 
    480     section.left= 17;
    481     row.left	= 1;
    482     key.shape	= "NORM";
    483     key.gap	=  1;
    484 
    485     text "Logo" {left = 20; top = 10; text="digital\n"; };
    486 
    487     section "Function" { top = 20;
    488         row { top = 1;
    489     	    keys {  <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
    490 		    { <FK06>, 15 }, <FK07>, <FK08>, <FK09>, <FK10>,
    491 		    { <FK11>, 15 }, <FK12>, <FK13>, <FK14>,
    492 		    { <FK17>, 75 }, <FK18>, <FK19>, <FK20>
    493 	    };
    494         };
    495     };
    496 
    497     section "Editing" { top = 20; left = 320;
    498         row { top = 1;
    499 	    keys { <HELP>, { <DO>, "LONG" } };
    500         };
    501         row { top = 41;
    502 	    keys { <FIND>, <INS>, <DELE> };
    503         };
    504         row { top = 61;
    505 	    keys { <SELE>, <PGUP>, <PGDN> };
    506         };
    507         row { top = 81;	left = 20;
    508 	    keys { <UP> };
    509         };
    510         row { top = 101;
    511 	    keys { <LEFT>, <DOWN>, <RGHT> };
    512         };
    513     };
    514 
    515     section "Keypad" { top = 60; left = 385;
    516         row { top = 1;
    517 	    keys { <PF1>, <PF2>, <PF3>, <PF4> };
    518         };
    519         row { top = 21;
    520 	    keys { <KP7>, <KP8>, <KP9>, <KPSU> };
    521         };
    522         row { top = 41;
    523 	    keys { <KP4>, <KP5>, <KP6>, <KPCO> };
    524         };
    525         row { top = 61;
    526 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
    527         };
    528         row { top = 81;
    529 	    keys { { <KP0>, "LONG" }, <KPDL> };
    530         };
    531     };
    532 
    533     section "Alpha" { top = 60;
    534         row { top = 1; left = 15;
    535 	    keys {  <AE00>, 
    536 		    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
    537 		    <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
    538 		    { <BKSP>, "MED" }
    539 	    };
    540         };
    541         row { top = 21;	left = 15;
    542 	    keys {  { <TAB>, "MED" },
    543 		    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
    544 		    <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
    545 		    { <RTRN>, "RTRN" }
    546 	    };
    547         };
    548         row { top = 41;
    549 	    keys {  <LCTL>,
    550 		    { <CAPS>, "CAPS" },
    551 		    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
    552 		    <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
    553 	    };
    554         };
    555         row { top = 61;
    556 	    keys {  { <LFSH>, "LONG" },
    557 		    <AB00>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    558 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
    559 		    { <RTSH>, "LONG" }
    560 	    };
    561         };
    562         row { top = 81;	left = 29;
    563 	    keys {  { <LCMP>, "MED" },
    564 		    { <LALT>, "MED" },
    565 		    { <SPCE>, "SPCE" },
    566 		    { <RALT>, "MED" },
    567 		    { <RCMP>, "MED" }
    568 	    };
    569         };
    570     };
    571 
    572     section.left = 69;
    573     section.top  = 3;
    574 
    575     section "Indicators" {
    576         solid "led_panel" { top = 0; left = 0;
    577 	    cornerRadius = 1;
    578 	    shape = "LEDS";
    579 	    color = "grey";
    580         };
    581         indicator.onColor = "#00ff00";
    582         indicator.offColor= "#001000";
    583         indicator.top = 1;
    584         indicator.shape= "LED";
    585         indicator "Scroll Lock" { left = 3; };
    586         indicator "Caps Lock" { left = 22; };
    587         text.top = 4;
    588         text.color = "black";
    589         text "ScrollLockLabel" {left = 3; text="Scroll\nLock"; };
    590         text "CapsLockLabel" {left = 19; text="Caps\nLock"; };
    591     };
    592 };
    593 
    594 xkb_geometry "lk401jj" {
    595 
    596     width		= 460;
    597     height		= 180;
    598     shape.cornerRadius  = 1;
    599 
    600     shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
    601     shape "RTRN" {
    602 	approx = { [0,0],[28,23] },
    603         { [0,0], [28,0], [28,39], [5,39], [5,19], [0,19] },
    604         { [3,2], [25,2], [25,36], [8,36], [8,16], [3,16] }
    605     };
    606     shape "LONG"  { { [37,19] }, { [3,2], [34,16] } };
    607     shape "LONG1" { { [32,19] }, { [3,2], [29,16] } };
    608     shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
    609     shape "MED" { { [28,19] }, { [3,2], [25,16] } };
    610     shape "MED1" { { [23,19] }, { [3,2], [20,16] } };
    611     shape "CTRL" { { [43,19] }, { [3,2], [38,16] } };
    612     shape "SPCE" { { [55,19] },{ [3,2], [53,16]} };
    613     shape "LEDS" { [ 56,15] };
    614     shape "LED"  { [  5, 2] };
    615 
    616     section.left	= 5;
    617     row.left	= 1;
    618     key.shape	= "NORM";
    619     key.gap		=  1;
    620 
    621     text "Logo" {left = 7; top = 10; text="digital\n"; };
    622 
    623     section "Function" { top = 40;
    624         row { top = 1;
    625 	    keys {  <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
    626 		    { <FK06>, 18 }, <FK07>, <FK08>, <FK09>, <FK10>,
    627 		    { <FK11>, 18 }, <FK12>, <FK13>, <FK14>,
    628 		    { <FK17>, 73 }, <FK18>, <FK19>, <FK20>
    629 	    };
    630         };
    631     };
    632 
    633     section "Editing" { top = 40; left = 313;
    634         row { top = 1;
    635 	    keys { <HELP>, { <DO>, "LONG" } };
    636         };
    637         row { top = 31;
    638 	    keys { <FIND>, <INS>, <DELE> };
    639         };
    640         row { top = 51;
    641 	    keys { <SELE>, <PGUP>, <PGDN> };
    642         };
    643         row { top = 71;	left= 20;
    644 	    keys { <UP> };
    645         };
    646         row { top = 91;
    647 	    keys { <LEFT>, <DOWN>, <RGHT> };
    648         };
    649     };
    650 
    651     section "Keypad" { top = 70; left = 377;
    652         row { top = 1;
    653 	    keys { <PF1>, <PF2>, <PF3>, <PF4> };
    654         };
    655         row { top = 21;
    656 	    keys { <KP7>, <KP8>, <KP9>, <KPSU> };
    657         };
    658         row { top = 41;
    659 	    keys { <KP4>, <KP5>, <KP6>, <KPCO> };
    660         };
    661         row { top = 61;
    662 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
    663         };
    664         row { top = 81;
    665 	    keys { { <KP0>, "LONG" }, <KPDL> };
    666         };
    667     };
    668 
    669     section "Alpha" { top = 70;
    670         row { top = 1; left = 7;
    671 	    keys {  { <AE00>, "MED1" }, 
    672 		    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
    673 		    <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
    674 		    <AB00>, { <BKSP>, "MED1" }
    675 	    };
    676         };
    677         row { top = 21; left = 7;
    678 	    keys {  { <TAB>, "LONG1" },
    679 		    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
    680 		    <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
    681 		    { <RTRN>, "RTRN" }
    682 	    };
    683         };
    684         row { top = 41;
    685 	    keys {  { <LCTL>, "CTRL" },
    686 		    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
    687 		    <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
    688 	    };
    689         };
    690         row { top = 61;
    691 	    keys {  <CAPS>, { <LFSH>, "LONG1" },
    692 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    693 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
    694 		    <AB11>, { <RTSH>, "MED" }
    695 	    };
    696         };
    697         row { top = 81;	left = 7;
    698 	    keys {  { <LCMP>, "LONG" },
    699 		    { <LALT>, "LONG" },
    700 		    { <MUHE>, "LONG" },
    701 		    { <SPCE>, "SPCE" },
    702 		    { <KANJ>, "LONG" },
    703 		    { <HIRA>, "LONG" },
    704 		    <RALT>, <RCMP>
    705 	    };
    706         };
    707     };
    708 
    709     section.left = 315;
    710     section.top  = 20;
    711 
    712     section "Indicators" {
    713         solid "led_panel" { top = 0; left = 0;
    714 	    cornerRadius = 1;
    715 	    shape = "LEDS";
    716 	    color = "grey";
    717         };
    718         indicator.onColor = "#00ff00";
    719         indicator.offColor= "#001000";
    720         indicator.top = 11;
    721         indicator.shape= "LED";
    722         indicator "Scroll Lock" { left = 6;  };
    723         indicator "Caps Lock"   { left = 26; };
    724         text.top = 4;
    725         text.color = "black";
    726         text "ScrollLockLabel" {left = 3; text="Scroll\nLock"; };
    727         text "CapsLockLabel" {left = 22; text="Caps\nLock"; };
    728     };
    729 };
    730 
    731