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