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: pc,v 
     30 // Revision 1.2  1996/06/18  09:12:50  erik
     31 // use flags correctly, assorted cleanups and consortium fixes
     32 //
     33 // Revision 1.1.6.2  1995/08/18  21:15:18  William_Walker
     34 // 	Upgrade XKB to Protocol Rev. 0.64
     35 // 	[1995/08/18  20:41:49  William_Walker]
     36 //
     37 // Revision 1.1.2.4  1995/08/11  19:35:48  William_Walker
     38 // 	Sync up with Erik's pool.
     39 // 	[1995/08/11  18:36:03  William_Walker]
     40 // 
     41 // Revision 1.1.2.3  1995/06/27  12:17:29  William_Walker
     42 // 	Rename <TLDE> to ISO9995 compliant <AE00>.
     43 // 	[1995/06/26  20:23:10  William_Walker]
     44 // 
     45 // Revision 1.1.2.2  1995/06/05  19:21:19  William_Walker
     46 // 	New file.  I love keymaps.
     47 // 	[1995/06/05  18:05:51  William_Walker]
     48 // 
     49 // EndLog
     50 // 
     51 // @(#)RCSfile: pc,v  Revision: 1.2  (DEC) Date: 1996/02/02 14:40:25
     52 // 
     53 partial xkb_geometry "common" {
     54     width		= 480;
     55     height		= 200;
     56 
     57     shape.cornerRadius = 1;
     58     shape "NORM" { primary = { [18,19] }, { [3,2], [15,16] } };
     59     shape "KP0"  { primary = { [37,19] }, { [3,2], [34,16] } };
     60     shape "KPAD" { primary = { [18,39] }, { [3,2], [15,36] } };
     61     shape "LEDS" { [78,22] };
     62     shape "LED"  { [5,2] };
     63 
     64     text.color         = "black";
     65     section.left       = 17;
     66     row.left	       = 1;
     67     key.shape	       = "NORM";
     68     key.gap	       =  1;
     69 
     70     section "Function" { top = 40;
     71         row { top = 1;
     72 	    keys {  <ESC>,
     73 	    	    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
     74 	    	    { <FK05>, 10 }, <FK06>, <FK07>, <FK08>,
     75 		    { <FK09>, 10 }, <FK10>, <FK11>, <FK12>
     76 	    };
     77         };
     78     };
     79 
     80     section "Editing" { top = 40; left = 308;
     81         row { top = 1;
     82     	    keys { <PRSC>, <SCLK>, <PAUS> };
     83         };
     84         row { top = 41;
     85 	    keys { <INS>, <HOME>, <PGUP> };
     86         };
     87         row { top = 61;
     88 	    keys { <DELE>, <END>, <PGDN> };
     89         };
     90         row { top = 101; left = 20;
     91 	    keys { <UP> };
     92         };
     93         row { top = 121;
     94 	    keys { <LEFT>, <DOWN>, <RGHT> };
     95         };
     96     };
     97 
     98     section "Keypad" { top = 80; left = 374;
     99         row { top = 1;
    100 	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
    101         };
    102         row { top = 21;
    103 	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
    104         };
    105         row { top = 41;
    106 	    keys { <KP4>, <KP5>, <KP6> };
    107         };
    108         row { top = 61;
    109 	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
    110         };
    111         row { top = 81;
    112 	    keys { { <KP0>, "KP0" }, <KPDL> };
    113         };
    114     };
    115 };
    116 
    117 partial xkb_geometry "leds_on_keys" {
    118     section.top  = 40;
    119     section.left = 17;
    120     section "LedPanel" {
    121         indicator.onColor  = "#00ff00";
    122         indicator.offColor = "#001000";
    123         indicator.shape    = "LED";
    124         indicator "Scroll Lock" { left = 317; top = 5;  };
    125         indicator "Num Lock"    { left = 364; top = 45; };
    126         indicator "Caps Lock"   { left = 10;   top = 85; };
    127     };
    128 
    129     section.left = 375;
    130     section.top  = 40;
    131     section "LogoPanel" {
    132         solid "logo_panel" { top = 0; left = 0;
    133             shape = "LEDS";
    134 	    color = "grey";
    135         };
    136         text "Logo" {left = 28; top = 10; text="digital\n"; };
    137     };
    138 };
    139 
    140 partial xkb_geometry "leds_alone" {
    141     section.left = 375;
    142     section.top  = 40;
    143     section "Indicators" {
    144         solid "led_panel" { top = 0; left = 0;
    145 	    shape = "LEDS";
    146 	    color = "grey";
    147         };
    148         indicator.top = 16;
    149         indicator.onColor  = "#00ff00";
    150         indicator.offColor = "#001000";
    151         indicator.shape    = "LED";
    152         indicator "Num Lock" 	{ left = 3;  };
    153         indicator "Caps Lock"	{ left = 26; };
    154         indicator "Scroll Lock" { left = 50; };
    155         text "Logo" {left = 2; top = 3; text="digital\n"; };
    156     };
    157     section "IndicatorLabels" {
    158 	text.top = 11;
    159     	text "NumLockLabel"    {left = 10; text="Num\nLock";    };
    160     	text "CapsLockLabel"   {left = 33; text="Caps\nLock";   };
    161     	text "ScrollLockLabel" {left = 58; text="Scroll\nLock"; };
    162     };
    163 };
    164 
    165 xkb_geometry "pc101" {
    166     include "digital_vndr/pc(common)"
    167 
    168     shape.cornerRadius = 1;
    169     shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
    170     shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
    171     shape "RTRN" { primary = { [41,19] }, { [3,2], [38,16] } };
    172     shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
    173     shape "LFSH" { primary = { [41,19] }, { [3,2], [38,16] } };
    174     shape "RTSH" { primary = { [51,19] }, { [3,2], [49,16] } };
    175     shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
    176     shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
    177     shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
    178 
    179     section.left       = 17;
    180     row.left	       = 1;
    181     key.shape	       = "NORM";
    182     key.gap	       =  1;
    183 
    184     section "Alpha" { top = 80;
    185         row { top = 1;
    186 	    keys {  <AE00>, 
    187 		    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
    188 		    <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
    189 		    { <BKSP>, "BKSP" }
    190 	    };
    191         };
    192         row { top = 21;
    193 	    keys {  { <TAB>, "TABK" },
    194 		    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
    195 		    <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
    196 		    { <BKSL>, "BKSL" }
    197 	    };
    198 
    199         };
    200         row { top = 41;
    201 	    keys {  { <CAPS>, "CAPS" },
    202 		    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
    203 		    <AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
    204 		    { <RTRN>, "RTRN" }
    205 	    };
    206         };
    207         row { top = 61;
    208 	    keys {  { <LFSH>, "LFSH" },
    209 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>, 
    210                     <AB07>, <AB08>, <AB09>, <AB10>,
    211 		    { <RTSH>, "RTSH" }
    212 	    };
    213         };
    214         row { top = 81;
    215 	    key.shape = "MODK";
    216 	    keys {  <LCTL>,
    217 		    { <LALT>, 20 },
    218 		    { <SPCE>, "SPCE" },
    219 		    <RALT>,
    220 		    { <RCTL>, 21 }
    221 	    };
    222         };
    223     };
    224 };
    225 
    226 xkb_geometry "pc102" {
    227     include "digital_vndr/pc(common)"
    228 
    229     shape.cornerRadius = 1;
    230     shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
    231     shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
    232     shape "RTRN" { 
    233         approx = { [0,0],[28,19] },
    234         { [0,0], [27,0], [27,39], [5,39], [5,19], [0,19] },
    235         { [3,2], [24,2], [24,36], [8,36], [8,16], [3,16] }
    236     };
    237     shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
    238     shape "LFSH" { primary = { [22,19] }, { [3,2], [19,16] } };
    239     shape "RTSH" { primary = { [51,19] }, { [3,2], [49,16] } };
    240     shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
    241     shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
    242     shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
    243 
    244     section.left       = 17;
    245     row.left	       = 1;
    246     key.shape	       = "NORM";
    247     key.gap	       =  1;
    248 
    249     section "Alpha" { top = 80;
    250         row { top = 1;
    251 	    keys {  <AE00>, 
    252 		    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
    253 		    <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
    254 		    { <BKSP>, "BKSP" }
    255 	    };
    256         };
    257         row { top = 21;
    258 	    keys {  { <TAB>, "TABK" },
    259 		    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
    260 		    <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
    261 		    { <RTRN>, "RTRN" }
    262 	    };
    263 
    264         };
    265         row { top = 41;
    266 	    keys {  { <CAPS>, "CAPS" },
    267 		    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
    268 		    <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <AC12>
    269 	    };
    270         };
    271         row { top = 61;
    272 	    keys {  { <LFSH>, "LFSH" },
    273 		    <BKSL>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    274 	            <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
    275 		    { <RTSH>, "RTSH" }
    276 	    };
    277         };
    278         row { top = 81;
    279 	    key.shape = "MODK";
    280 	    keys {  <LCTL>,
    281 		    { <LALT>, 20 },
    282 		    { <SPCE>, "SPCE" },
    283 		    <RALT>,
    284 		    { <RCTL>, 21 }
    285 	    };
    286         };
    287     };
    288 };
    289 
    290 xkb_geometry "pcxaj" {
    291     include "digital_vndr/pc(common)"
    292 
    293     shape.cornerRadius = 1;
    294     shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
    295     shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
    296     shape "RTRN" { primary = { [22,19] }, { [3,2], [19,16] } };
    297     shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
    298     shape "LFSH" { primary = { [41,19] }, { [3,2], [38,16] } };
    299     shape "RTSH" { primary = { [32,19] }, { [3,2], [29,16] } };
    300     shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
    301     shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
    302     shape "SPCE" { primary = { [114,19]}, { [3,2], [111,16]} };
    303 
    304     section.left       = 17;
    305     row.left	       = 1;
    306     key.shape	       = "NORM";
    307     key.gap	       =  1;
    308 
    309     section "Alpha" { top = 80;
    310         row { top = 1;
    311 	    keys {  <AE00>, 
    312 		    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
    313 		    <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
    314 		    { <BKSP>, "BKSP" }
    315 	    };
    316         };
    317         row { top = 21;
    318 	    keys {  { <TAB>, "TABK" },
    319 		    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
    320 		    <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
    321 		    { <BKSL>, "BKSL" }
    322 	    };
    323         };
    324         row { top = 41;
    325 	    keys {  { <CAPS>, "CAPS" },
    326 		    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
    327 		    <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <AC12>,
    328 		    { <RTRN>, "RTRN" }
    329 	    };
    330         };
    331         row { top = 61;
    332 	    keys {  { <LFSH>, "LFSH" },
    333 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>, 
    334 		    <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
    335 		    { <RTSH>, "RTSH" }
    336 	    };
    337         };
    338         row { top = 81;
    339 	    key.shape = "MODK";
    340 	    keys {  <LCTL>, <LALT>, 
    341 		    { <MUHE>, "NORM" }, 
    342 		    { <SPCE>, "SPCE" },
    343 		    { <KANJ>, "NORM" },
    344 		    { <HIRA>, "NORM" },
    345 		    <RALT>, <RCTL>
    346 	    };
    347         };
    348     };
    349 };
    350