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: unix,v 
     30 // Revision 1.2  1996/06/18  09:12:53  erik
     31 // use flags correctly, assorted cleanups and consortium fixes
     32 //
     33 // Revision 1.1.2.3  1995/06/27  12:17:30  William_Walker
     34 // 	Rename <TLDE> to ISO9995 compliant <AE00>.
     35 // 	[1995/06/26  20:23:12  William_Walker]
     36 //
     37 // Revision 1.1.2.2  1995/06/05  19:21:23  William_Walker
     38 // 	New file.  I love keymaps.
     39 // 	[1995/06/05  18:05:56  William_Walker]
     40 // 
     41 // EndLog
     42 // 
     43 // @(#)RCSfile: unix,v  Revision: 1.2  (DEC) Date: 1996/01/24 12:16:
     44 // 
     45 xkb_geometry "unix" {
     46 
     47     width		= 340;
     48     height		= 160;
     49     shape.cornerRadius 	= 1;
     50 
     51     shape "NORM" { primary = { [18,19] }, { [3,2], [15,16] } };
     52     shape "AE00" { primary = { [28,19] }, { [3,2], [25,16] } };
     53     shape "BKSP" { primary = { [46,19] }, { [3,2], [43,16] } };
     54     shape "TABK" { primary = { [37,19] }, { [3,2], [34,16] } };
     55     shape "CTRL" { primary = { [46,19] }, { [3,2], [43,16] } };
     56     shape "RTRN" { primary = { [46,19] }, { [3,2], [43,16] } };
     57     shape "SHFT" { primary = { [56,19] }, { [3,2], [53,16] } };
     58     shape "MODK" { primary = { [37,19] }, { [3,2], [34,16] } };
     59     shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
     60 
     61     section.left= 17;
     62     row.left	= 1;
     63     key.shape	= "NORM";
     64     key.gap	=  1;
     65 
     66     text.color      = "black";
     67     text "Logo" {left = 20; top = 10; text="digital\n"; };
     68 
     69     section "Function" { top = 30;
     70         row { top = 1;
     71 	    keys {  <FK01>, <FK02>, <FK03>, <FK04>, <FK05>, 
     72 		    { <FK06>, 20 }, <FK07>, <FK08>, <FK09>, <FK10>,
     73 		    { <LEFT>, 20 }, <DOWN>, <UP>, <RGHT>
     74 	    };
     75         };
     76     };
     77 
     78     section "Alpha" { top = 50;
     79         row { top = 1;
     80 	    keys {  { <AE00>, "AE00" }, 
     81 		    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
     82 		    <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
     83 		    { <BKSP>, "BKSP" }
     84 	    };
     85         };
     86         row { top = 21;
     87 	    keys {  { <TAB>, "TABK" },
     88 		    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
     89 		    <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
     90 		    <BKSL>, <AB00>
     91 	    };
     92 
     93         };
     94         row { top = 41; left = -4;
     95 	    keys {  { <LCTL>, "CTRL" },
     96 		    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
     97 		    <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, 
     98 		    { <RTRN>, "RTRN" }
     99 	    };
    100         };
    101         row { top = 61; left = -4;
    102 	    keys {  { <LFSH>, "SHFT" },
    103 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>, 
    104 		    <AB07>, <AB08>, <AB09>, <AB10>,
    105 		    { <RTSH>, "SHFT" }
    106 	    };
    107         };
    108         solid "ExtendKey" { top = 81; left= 1;
    109             shape= "NORM";
    110             color= "grey20";
    111         };
    112         text.top = 89;
    113         text.color = "black";
    114         text "ExtendLabel" {left = 6; text="Ext\nend"; };
    115         row { top = 81; left = 19;
    116 	    key.shape = "MODK";
    117 	    keys {  { <LCMP>, "NORM" }, <LALT>,
    118 		    { <SPCE>, "SPCE" },
    119 		    <RALT>, <RCMP> 
    120 	    };
    121         };
    122     };
    123 };
    124 
    125 xkb_geometry "lk421jj" {
    126 
    127     width		= 315;
    128     height		= 170;
    129     shape.cornerRadius  = 1;
    130 
    131     shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
    132     shape "RTRN" {
    133 	approx = { [0,0],[28,23] },
    134         { [0,0], [28,0], [28,39], [5,39], [5,19], [0,19] },
    135         { [3,2], [25,2], [25,36], [8,36], [8,16], [3,16] }
    136     };
    137     shape "LONG"  { { [37,19] }, { [3,2], [34,16] } };
    138     shape "LONG1" { { [32,19] }, { [3,2], [29,16] } };
    139     shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
    140     shape "MED" { { [23,19] }, { [3,2], [20,16] } };
    141     shape "CTRL" { { [43,19] }, { [3,2], [38,16] } };
    142     shape "SPCE" { { [55,19] },{ [3,2], [53,16]} };
    143     shape "LEDS" { [ 56,15] };
    144     shape "LED"  { [  5, 2] };
    145 
    146     section.left	= 5;
    147     row.left	= 1;
    148     key.shape	= "NORM";
    149     key.gap		=  1;
    150 
    151     text "Logo" {left = 7; top = 10; text="digital\n"; };
    152 
    153     section "Function" { top = 45;
    154         row { top = 1; left = 7;
    155 	    keys {  <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
    156 		    { <FK06>, 18 }, <FK07>, <FK08>, <FK09>, <FK10>
    157 	    };
    158         };
    159     };
    160 
    161     section "Editing" { top = 45; left= 230;
    162         row { top = 1;
    163 	    keys { <LEFT>, <DOWN>, <UP>, <RGHT> };
    164         };
    165     };
    166 
    167     section "Alpha" { top = 65;
    168         row { top = 1; left = 7;
    169 	    keys {  { <AE00>, "MED" }, 
    170 		    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
    171 		    <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
    172 		    <AB00>, { <BKSP>, "MED" }
    173 	    };
    174         };
    175         row { top = 21;	left = 7;
    176 	    keys {  { <TAB>, "LONG1" },
    177 		    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
    178 		    <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
    179 		    { <RTRN>, "RTRN" }
    180 	    };
    181         };
    182         row { top = 41;
    183 	    keys {  { <LCTL>, "CTRL" },
    184 		    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
    185 		    <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
    186 	    };
    187         };
    188         row { top = 61;
    189 	    keys {  <CAPS>, { <LFSH>, "LONG1" },
    190 		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    191 		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
    192 		    <AB11>, { <RTSH>, "LONG1" }
    193 	    };
    194         };
    195         row { top = 81;	left = 7;
    196 	    keys {  <AA00>, <LCMP>,
    197 		    { <LALT>, "LONG" },
    198 		    { <MUHE>, "LONG" },
    199 		    { <SPCE>, "SPCE" },
    200 		    { <KANJ>, "LONG" },
    201 		    { <HIRA>, "LONG" },
    202 		    <RALT>, <RCMP>
    203 	    };
    204         };
    205     };
    206 
    207     section.left = 233;
    208     section.top  = 20;
    209 
    210     section "Indicators" {
    211         solid "led_panel" { top = 0; left = 0;
    212 	    cornerRadius = 1;
    213 	    shape = "LEDS";
    214 	    color = "grey";
    215         };
    216         indicator.onColor = "#00ff00";
    217         indicator.offColor= "#001000";
    218         indicator.top = 11;
    219         indicator.shape= "LED";
    220         indicator "Scroll Lock" { left = 6;  };
    221         indicator "Caps Lock"   { left = 26; };
    222         text.top = 3;
    223         text.color = "black";
    224         text "ScrollLockLabel" {left = 3; text="Scroll\nLock"; };
    225         text "CapsLockLabel" {left = 22; text="Caps\nLock"; };
    226     };
    227 };
    228