first feed-in of the layouts. The revolution is coming
[xorg/xkeyboard-config] / keycodes / digital.vndr / lk
1 // $Xorg: lk,v 1.3 2000/08/17 19:54:38 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
31 // Revision 1.2  1996/06/18  09:13:22  erik
32 // use flags correctly, assorted cleanups and consortium fixes
33 //
34 // Revision 1.1.6.2  1995/08/07  17:40:34  William_Walker
35 //      Upgrade XKB to protocol 0.62 (dual submit from decx11)
36 //      [1995/08/06  14:06:25  William_Walker]
37 //
38 // Revision 1.1.2.4  1995/08/05  15:25:55  William_Walker
39 //      Upgrade to XKB protocol 0.62
40 //      [1995/08/05  14:39:58  William_Walker]
41 // 
42 // Revision 1.1.2.3  1995/06/27  12:17:31  William_Walker
43 //           Rename <TLDE> to ISO9995 compliant <AE00>.
44 //      [1995/06/26  20:24:04  William_Walker]
45 // 
46 // Revision 1.1.2.2  1995/06/05  19:21:28  William_Walker
47 //      New file.  I love keymaps.
48 //      [1995/06/05  18:07:29  William_Walker]
49 // 
50 // EndLog
51 // 
52 // @(#)RCSfile: lk  Revision: /main/3  (DEC) Date: 1996/01/24 12:13:31 
53 // 
54 xkb_keycodes "lk_common" {
55     // "Function" keys
56     <FK01>      = 86;
57     <FK02>      = 87;
58     <FK03>      = 88;
59     <FK04>      = 89;
60     <FK05>      = 90;
61     <FK06>      = 100;
62     <FK07>      = 101;
63     <FK08>      = 102;
64     <FK09>      = 103;
65     <FK10>      = 104;
66     <FK11>      = 113;
67     <FK12>      = 114;
68
69     <UP>        = 170;
70     <LEFT>      = 167;
71     <DOWN>      = 169;
72     <RGHT>      = 168;
73
74     // "Keypad" keys
75     <KP7>       = 157;
76     <KP8>       = 158;
77     <KP9>       = 159;
78     <KP4>       = 153;
79     <KP5>       = 154;
80     <KP6>       = 155;
81     <KP1>       = 150;
82     <KP2>       = 151;
83     <KP3>       = 152;
84     <KPEN>      = 149;
85     <KP0>       = 146;
86     <KPDL>      = 148;
87
88     // "Alphanumeric" keys
89     <AE00>      = 191;
90     <AE01>      = 192;
91     <AE02>      = 197;
92     <AE03>      = 203;
93     <AE04>      = 208;
94     <AE05>      = 214;
95     <AE06>      = 219;
96     <AE07>      = 224;
97     <AE08>      = 229;
98     <AE09>      = 234;
99     <AE10>      = 239;
100     <AE11>      = 249;
101     <AE12>      = 245;
102     <BKSP>      = 188;
103
104     <TAB>       = 190;
105     <AD01>      = 193;
106     <AD02>      = 198;
107     <AD03>      = 204;
108     <AD04>      = 209;
109     <AD05>      = 215;
110     <AD06>      = 220;
111     <AD07>      = 225;
112     <AD08>      = 230;
113     <AD09>      = 235;
114     <AD10>      = 240;
115     <AD11>      = 250;
116     <AD12>      = 246;
117     <RTRN>      = 189;
118
119     <LCTL>      = 175;
120     <CAPS>      = 176;
121     <AC01>      = 194;
122     <AC02>      = 199;
123     <AC03>      = 205;
124     <AC04>      = 210;
125     <AC05>      = 216;
126     <AC06>      = 221;
127     <AC07>      = 226;
128     <AC08>      = 231;
129     <AC09>      = 236;
130     <AC10>      = 242;
131     <AC11>      = 251;
132
133     <LFSH>      = 174;
134     <AB01>      = 195;
135     <AB02>      = 200;
136     <AB03>      = 206;
137     <AB04>      = 211;
138     <AB05>      = 217;
139     <AB06>      = 222;
140     <AB07>      = 227;
141     <AB08>      = 232;
142     <AB09>      = 237;
143     <AB10>      = 243;
144     <RTSH>      = 171;
145
146     <SPCE>      = 212;
147
148     <LDM>       = 255; // Support R5 Lock Down Modifiers
149
150     alias <TLDE> = <AE00>;
151 };
152
153 xkb_keycodes "lkx01" {
154     include "digital/lk(lk_common)"
155     <AB00>      = 201;
156     <FK13>      = 115;
157     <FK14>      = 116;
158     <FK17>      = 128;
159     <FK18>      = 129;
160     <FK19>      = 130;
161     <FK20>      = 131;
162     <HELP>      = 124;
163     <DO>        = 125;
164     <FIND>      = 138;
165     <INS>       = 139;
166     <DELE>      = 140;
167     <SELE>      = 141;
168     <PGUP>      = 142;
169     <PGDN>      = 143;
170     <KPF1>      = 161;
171     <KPF2>      = 162;
172     <KPF3>      = 163;
173     <KPF4>      = 164;
174     <KPSU>      = 160;
175     <KPCO>      = 156;
176     <BKSL>      = 247;
177     <LCMP>      = 177;
178 };
179
180 xkb_keycodes "lk201" {
181     include "digital/lk(lkx01)"
182     indicator 4 = "Scroll Lock";
183     indicator 3 = "Caps Lock";
184     indicator 2 = "Compose";
185     indicator 1 = "Wait";
186 };
187
188 xkb_keycodes "lk421" {
189     include     "digital/lk(lkx01)"
190     <LALT>      = 172;
191     <RALT>      = 178;
192     <RCMP>      = 173;
193 };
194
195 xkb_keycodes "lk401" {
196     include     "digital/lk(lk421)"
197     indicator 4 = "Scroll Lock";
198     indicator 3 = "Caps Lock";
199 };
200
201 xkb_keycodes "lk44x" {
202     include "digital/lk(lk_common)"
203     <ESC>       = 85;
204     <PRSC>      = 115;
205     <SCLK>      = 116;
206     <PAUS>      = 124;
207     <INS>       = 138;
208     <HOME>      = 139;
209     <PGUP>      = 140;
210     <DELE>      = 141;
211     <END>       = 142;
212     <PGDN>      = 143;
213     <NMLK>      = 161;
214     <KPDV>      = 162;
215     <KPMU>      = 163;
216     <KPSU>      = 164;
217     <KPAD>      = 156;
218     <LALT>      = 172;
219     <RALT>      = 178;
220     <RCTL>      = 173;
221 };
222
223 xkb_keycodes "lk443" {
224     include "digital/lk(lk44x)"
225     <BKSL>      = 247;
226     indicator 3 = "Caps Lock";
227     indicator 4 = "Scroll Lock";
228     indicator 5 = "Num Lock";
229 };
230
231 xkb_keycodes "lk444" {
232     include "digital/lk(lk44x)"
233     <BKSL>      = 201;
234     <AC12>      = 247;
235     indicator 3 = "Caps Lock";
236     indicator 4 = "Scroll Lock";
237     indicator 5 = "Num Lock";
238 };
239
240 // LK201-LT = lk201
241 // LK421-AJ = lk421  +AB11
242 // LK421-JJ = lk421aj+MUHE+KANJ+HIRA
243 // LK401-AJ = lk401
244 // LK401-BJ = lk401  +MUHE+KANJ+HIRA
245 // LK401-JJ = lk401bj+AB11
246 // LK401-LT = lk401
247 // LK441-LT = lk443
248
249 xkb_keycodes "lk421aj" {
250     include "digital/lk(lk421)"
251     <AB11>  = 252;
252 };
253
254 xkb_keycodes "lk421jj" {
255     include "digital/lk(lk421aj)"
256     <MUHE>  = 94;
257     <KANJ>  = 95;
258     <HIRA>  = 97;
259 };
260
261 xkb_keycodes "lk401bj" {
262     include "digital/lk(lk401)"
263     <MUHE>  = 94;
264     <KANJ>  = 95;
265     <HIRA>  = 97;
266 };
267
268 xkb_keycodes "lk401jj" {
269     include "digital/lk(lk401bj)"
270     <AB11>  = 252;
271 };