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