pc revision 1.1 1 // $Xorg: pc,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: pc,v
31 // Revision 1.2 1996/06/18 09:12:50 erik
32 // use flags correctly, assorted cleanups and consortium fixes
33 //
34 // Revision 1.1.6.2 1995/08/18 21:15:18 William_Walker
35 // Upgrade XKB to Protocol Rev. 0.64
36 // [1995/08/18 20:41:49 William_Walker]
37 //
38 // Revision 1.1.2.4 1995/08/11 19:35:48 William_Walker
39 // Sync up with Erik's pool.
40 // [1995/08/11 18:36:03 William_Walker]
41 //
42 // Revision 1.1.2.3 1995/06/27 12:17:29 William_Walker
43 // Rename <TLDE> to ISO9995 compliant <AE00>.
44 // [1995/06/26 20:23:10 William_Walker]
45 //
46 // Revision 1.1.2.2 1995/06/05 19:21:19 William_Walker
47 // New file. I love keymaps.
48 // [1995/06/05 18:05:51 William_Walker]
49 //
50 // EndLog
51 //
52 // @(#)RCSfile: pc,v Revision: 1.2 (DEC) Date: 1996/02/02 14:40:25
53 //
54 partial xkb_geometry "common" {
55 width = 480;
56 height = 200;
57
58 shape.cornerRadius = 1;
59 shape "NORM" { primary = { [18,19] }, { [3,2], [15,16] } };
60 shape "KP0" { primary = { [37,19] }, { [3,2], [34,16] } };
61 shape "KPAD" { primary = { [18,39] }, { [3,2], [15,36] } };
62 shape "LEDS" { [78,22] };
63 shape "LED" { [5,2] };
64
65 text.color = "black";
66 section.left = 17;
67 row.left = 1;
68 key.shape = "NORM";
69 key.gap = 1;
70
71 section "Function" { top = 40;
72 row { top = 1;
73 keys { <ESC>,
74 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
75 { <FK05>, 10 }, <FK06>, <FK07>, <FK08>,
76 { <FK09>, 10 }, <FK10>, <FK11>, <FK12>
77 };
78 };
79 };
80
81 section "Editing" { top = 40; left = 308;
82 row { top = 1;
83 keys { <PRSC>, <SCLK>, <PAUS> };
84 };
85 row { top = 41;
86 keys { <INS>, <HOME>, <PGUP> };
87 };
88 row { top = 61;
89 keys { <DELE>, <END>, <PGDN> };
90 };
91 row { top = 101; left = 20;
92 keys { <UP> };
93 };
94 row { top = 121;
95 keys { <LEFT>, <DOWN>, <RGHT> };
96 };
97 };
98
99 section "Keypad" { top = 80; left = 374;
100 row { top = 1;
101 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
102 };
103 row { top = 21;
104 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
105 };
106 row { top = 41;
107 keys { <KP4>, <KP5>, <KP6> };
108 };
109 row { top = 61;
110 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
111 };
112 row { top = 81;
113 keys { { <KP0>, "KP0" }, <KPDL> };
114 };
115 };
116 };
117
118 partial xkb_geometry "leds_on_keys" {
119 section.top = 40;
120 section.left = 17;
121 section "LedPanel" {
122 indicator.onColor = "#00ff00";
123 indicator.offColor = "#001000";
124 indicator.shape = "LED";
125 indicator "Scroll Lock" { left = 317; top = 5; };
126 indicator "Num Lock" { left = 364; top = 45; };
127 indicator "Caps Lock" { left = 10; top = 85; };
128 };
129
130 section.left = 375;
131 section.top = 40;
132 section "LogoPanel" {
133 solid "logo_panel" { top = 0; left = 0;
134 shape = "LEDS";
135 color = "grey";
136 };
137 text "Logo" {left = 28; top = 10; text="digital\n"; };
138 };
139 };
140
141 partial xkb_geometry "leds_alone" {
142 section.left = 375;
143 section.top = 40;
144 section "Indicators" {
145 solid "led_panel" { top = 0; left = 0;
146 shape = "LEDS";
147 color = "grey";
148 };
149 indicator.top = 16;
150 indicator.onColor = "#00ff00";
151 indicator.offColor = "#001000";
152 indicator.shape = "LED";
153 indicator "Num Lock" { left = 3; };
154 indicator "Caps Lock" { left = 26; };
155 indicator "Scroll Lock" { left = 50; };
156 text "Logo" {left = 2; top = 3; text="digital\n"; };
157 };
158 section "IndicatorLabels" {
159 text.top = 11;
160 text "NumLockLabel" {left = 10; text="Num\nLock"; };
161 text "CapsLockLabel" {left = 33; text="Caps\nLock"; };
162 text "ScrollLockLabel" {left = 58; text="Scroll\nLock"; };
163 };
164 };
165
166 xkb_geometry "pc101" {
167 include "digital_vndr/pc(common)"
168
169 shape.cornerRadius = 1;
170 shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
171 shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
172 shape "RTRN" { primary = { [41,19] }, { [3,2], [38,16] } };
173 shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
174 shape "LFSH" { primary = { [41,19] }, { [3,2], [38,16] } };
175 shape "RTSH" { primary = { [51,19] }, { [3,2], [49,16] } };
176 shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
177 shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
178 shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
179
180 section.left = 17;
181 row.left = 1;
182 key.shape = "NORM";
183 key.gap = 1;
184
185 section "Alpha" { top = 80;
186 row { top = 1;
187 keys { <AE00>,
188 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
189 <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
190 { <BKSP>, "BKSP" }
191 };
192 };
193 row { top = 21;
194 keys { { <TAB>, "TABK" },
195 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
196 <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
197 { <BKSL>, "BKSL" }
198 };
199
200 };
201 row { top = 41;
202 keys { { <CAPS>, "CAPS" },
203 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
204 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
205 { <RTRN>, "RTRN" }
206 };
207 };
208 row { top = 61;
209 keys { { <LFSH>, "LFSH" },
210 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>,
211 <AB07>, <AB08>, <AB09>, <AB10>,
212 { <RTSH>, "RTSH" }
213 };
214 };
215 row { top = 81;
216 key.shape = "MODK";
217 keys { <LCTL>,
218 { <LALT>, 20 },
219 { <SPCE>, "SPCE" },
220 <RALT>,
221 { <RCTL>, 21 }
222 };
223 };
224 };
225 };
226
227 xkb_geometry "pc102" {
228 include "digital_vndr/pc(common)"
229
230 shape.cornerRadius = 1;
231 shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
232 shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
233 shape "RTRN" {
234 approx = { [0,0],[28,19] },
235 { [0,0], [27,0], [27,39], [5,39], [5,19], [0,19] },
236 { [3,2], [24,2], [24,36], [8,36], [8,16], [3,16] }
237 };
238 shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
239 shape "LFSH" { primary = { [22,19] }, { [3,2], [19,16] } };
240 shape "RTSH" { primary = { [51,19] }, { [3,2], [49,16] } };
241 shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
242 shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
243 shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
244
245 section.left = 17;
246 row.left = 1;
247 key.shape = "NORM";
248 key.gap = 1;
249
250 section "Alpha" { top = 80;
251 row { top = 1;
252 keys { <AE00>,
253 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
254 <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
255 { <BKSP>, "BKSP" }
256 };
257 };
258 row { top = 21;
259 keys { { <TAB>, "TABK" },
260 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
261 <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
262 { <RTRN>, "RTRN" }
263 };
264
265 };
266 row { top = 41;
267 keys { { <CAPS>, "CAPS" },
268 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
269 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <AC12>
270 };
271 };
272 row { top = 61;
273 keys { { <LFSH>, "LFSH" },
274 <BKSL>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
275 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
276 { <RTSH>, "RTSH" }
277 };
278 };
279 row { top = 81;
280 key.shape = "MODK";
281 keys { <LCTL>,
282 { <LALT>, 20 },
283 { <SPCE>, "SPCE" },
284 <RALT>,
285 { <RCTL>, 21 }
286 };
287 };
288 };
289 };
290
291 xkb_geometry "pcxaj" {
292 include "digital_vndr/pc(common)"
293
294 shape.cornerRadius = 1;
295 shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
296 shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
297 shape "RTRN" { primary = { [22,19] }, { [3,2], [19,16] } };
298 shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
299 shape "LFSH" { primary = { [41,19] }, { [3,2], [38,16] } };
300 shape "RTSH" { primary = { [32,19] }, { [3,2], [29,16] } };
301 shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
302 shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
303 shape "SPCE" { primary = { [114,19]}, { [3,2], [111,16]} };
304
305 section.left = 17;
306 row.left = 1;
307 key.shape = "NORM";
308 key.gap = 1;
309
310 section "Alpha" { top = 80;
311 row { top = 1;
312 keys { <AE00>,
313 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
314 <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
315 { <BKSP>, "BKSP" }
316 };
317 };
318 row { top = 21;
319 keys { { <TAB>, "TABK" },
320 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
321 <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
322 { <BKSL>, "BKSL" }
323 };
324 };
325 row { top = 41;
326 keys { { <CAPS>, "CAPS" },
327 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
328 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <AC12>,
329 { <RTRN>, "RTRN" }
330 };
331 };
332 row { top = 61;
333 keys { { <LFSH>, "LFSH" },
334 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>,
335 <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
336 { <RTSH>, "RTSH" }
337 };
338 };
339 row { top = 81;
340 key.shape = "MODK";
341 keys { <LCTL>, <LALT>,
342 { <MUHE>, "NORM" },
343 { <SPCE>, "SPCE" },
344 { <KANJ>, "NORM" },
345 { <HIRA>, "NORM" },
346 <RALT>, <RCTL>
347 };
348 };
349 };
350 };
351