2 //Copyright (c) 1996 Digital Equipment Corporation
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:
12 //The above copyright notice and this permission notice shall be included
13 //in all copies or substantial portions of the Software.
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.
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.
30 // Revision 1.2 1996/06/18 09:12:50 erik
31 // use flags correctly, assorted cleanups and consortium fixes
33 // Revision 1.1.6.2 1995/08/18 21:15:18 William_Walker
34 // Upgrade XKB to Protocol Rev. 0.64
35 // [1995/08/18 20:41:49 William_Walker]
37 // Revision 1.1.2.4 1995/08/11 19:35:48 William_Walker
38 // Sync up with Erik's pool.
39 // [1995/08/11 18:36:03 William_Walker]
41 // Revision 1.1.2.3 1995/06/27 12:17:29 William_Walker
42 // Rename <TLDE> to ISO9995 compliant <AE00>.
43 // [1995/06/26 20:23:10 William_Walker]
45 // Revision 1.1.2.2 1995/06/05 19:21:19 William_Walker
46 // New file. I love keymaps.
47 // [1995/06/05 18:05:51 William_Walker]
51 // @(#)RCSfile: pc,v Revision: 1.2 (DEC) Date: 1996/02/02 14:40:25
53 partial xkb_geometry "common" {
57 shape.cornerRadius = 1;
58 shape "NORM" { primary = { [18,19] }, { [3,2], [15,16] } };
59 shape "KP0" { primary = { [37,19] }, { [3,2], [34,16] } };
60 shape "KPAD" { primary = { [18,39] }, { [3,2], [15,36] } };
61 shape "LEDS" { [78,22] };
62 shape "LED" { [5,2] };
70 section "Function" { top = 40;
73 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
74 { <FK05>, 10 }, <FK06>, <FK07>, <FK08>,
75 { <FK09>, 10 }, <FK10>, <FK11>, <FK12>
80 section "Editing" { top = 40; left = 308;
82 keys { <PRSC>, <SCLK>, <PAUS> };
85 keys { <INS>, <HOME>, <PGUP> };
88 keys { <DELE>, <END>, <PGDN> };
90 row { top = 101; left = 20;
94 keys { <LEFT>, <DOWN>, <RGHT> };
98 section "Keypad" { top = 80; left = 374;
100 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
103 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
106 keys { <KP4>, <KP5>, <KP6> };
109 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
112 keys { { <KP0>, "KP0" }, <KPDL> };
117 partial xkb_geometry "leds_on_keys" {
121 indicator.onColor = "#00ff00";
122 indicator.offColor = "#001000";
123 indicator.shape = "LED";
124 indicator "Scroll Lock" { left = 317; top = 5; };
125 indicator "Num Lock" { left = 364; top = 45; };
126 indicator "Caps Lock" { left = 10; top = 85; };
131 section "LogoPanel" {
132 solid "logo_panel" { top = 0; left = 0;
136 text "Logo" {left = 28; top = 10; text="digital\n"; };
140 partial xkb_geometry "leds_alone" {
143 section "Indicators" {
144 solid "led_panel" { top = 0; left = 0;
149 indicator.onColor = "#00ff00";
150 indicator.offColor = "#001000";
151 indicator.shape = "LED";
152 indicator "Num Lock" { left = 3; };
153 indicator "Caps Lock" { left = 26; };
154 indicator "Scroll Lock" { left = 50; };
155 text "Logo" {left = 2; top = 3; text="digital\n"; };
157 section "IndicatorLabels" {
159 text "NumLockLabel" {left = 10; text="Num\nLock"; };
160 text "CapsLockLabel" {left = 33; text="Caps\nLock"; };
161 text "ScrollLockLabel" {left = 58; text="Scroll\nLock"; };
165 xkb_geometry "pc101" {
166 include "digital_vndr/pc(common)"
168 shape.cornerRadius = 1;
169 shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
170 shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
171 shape "RTRN" { primary = { [41,19] }, { [3,2], [38,16] } };
172 shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
173 shape "LFSH" { primary = { [41,19] }, { [3,2], [38,16] } };
174 shape "RTSH" { primary = { [51,19] }, { [3,2], [49,16] } };
175 shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
176 shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
177 shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
184 section "Alpha" { top = 80;
187 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
188 <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
193 keys { { <TAB>, "TABK" },
194 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
195 <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
201 keys { { <CAPS>, "CAPS" },
202 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
203 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
208 keys { { <LFSH>, "LFSH" },
209 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>,
210 <AB07>, <AB08>, <AB09>, <AB10>,
226 xkb_geometry "pc102" {
227 include "digital_vndr/pc(common)"
229 shape.cornerRadius = 1;
230 shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
231 shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
233 approx = { [0,0],[28,19] },
234 { [0,0], [27,0], [27,39], [5,39], [5,19], [0,19] },
235 { [3,2], [24,2], [24,36], [8,36], [8,16], [3,16] }
237 shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
238 shape "LFSH" { primary = { [22,19] }, { [3,2], [19,16] } };
239 shape "RTSH" { primary = { [51,19] }, { [3,2], [49,16] } };
240 shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
241 shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
242 shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
249 section "Alpha" { top = 80;
252 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
253 <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
258 keys { { <TAB>, "TABK" },
259 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
260 <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
266 keys { { <CAPS>, "CAPS" },
267 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
268 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <AC12>
272 keys { { <LFSH>, "LFSH" },
273 <BKSL>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
274 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
290 xkb_geometry "pcxaj" {
291 include "digital_vndr/pc(common)"
293 shape.cornerRadius = 1;
294 shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
295 shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
296 shape "RTRN" { primary = { [22,19] }, { [3,2], [19,16] } };
297 shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
298 shape "LFSH" { primary = { [41,19] }, { [3,2], [38,16] } };
299 shape "RTSH" { primary = { [32,19] }, { [3,2], [29,16] } };
300 shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
301 shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
302 shape "SPCE" { primary = { [114,19]}, { [3,2], [111,16]} };
309 section "Alpha" { top = 80;
312 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
313 <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
318 keys { { <TAB>, "TABK" },
319 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
320 <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
325 keys { { <CAPS>, "CAPS" },
326 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
327 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <AC12>,
332 keys { { <LFSH>, "LFSH" },
333 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>,
334 <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
340 keys { <LCTL>, <LALT>,