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