Debian Codegraph @

keycodes/digital_vndr/pc

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