1 // $Xorg: pc,v 1.3 2000/08/17 19:54:36 cpqbld Exp $
3 //Copyright (c) 1996 Digital Equipment Corporation
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:
13 //The above copyright notice and this permission notice shall be included
14 //in all copies or substantial portions of the Software.
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.
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.
31 // Revision 1.2 1996/06/18 09:12:50 erik
32 // use flags correctly, assorted cleanups and consortium fixes
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]
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]
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]
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]
52 // @(#)RCSfile: pc,v Revision: 1.2 (DEC) Date: 1996/02/02 14:40:25
54 partial xkb_geometry "common" {
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] };
71 section "Function" { top = 40;
74 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
75 { <FK05>, 10 }, <FK06>, <FK07>, <FK08>,
76 { <FK09>, 10 }, <FK10>, <FK11>, <FK12>
81 section "Editing" { top = 40; left = 308;
83 keys { <PRSC>, <SCLK>, <PAUS> };
86 keys { <INS>, <HOME>, <PGUP> };
89 keys { <DELE>, <END>, <PGDN> };
91 row { top = 101; left = 20;
95 keys { <LEFT>, <DOWN>, <RGHT> };
99 section "Keypad" { top = 80; left = 374;
101 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
104 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
107 keys { <KP4>, <KP5>, <KP6> };
110 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
113 keys { { <KP0>, "KP0" }, <KPDL> };
118 partial xkb_geometry "leds_on_keys" {
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; };
132 section "LogoPanel" {
133 solid "logo_panel" { top = 0; left = 0;
137 text "Logo" {left = 28; top = 10; text="digital\n"; };
141 partial xkb_geometry "leds_alone" {
144 section "Indicators" {
145 solid "led_panel" { top = 0; left = 0;
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"; };
158 section "IndicatorLabels" {
160 text "NumLockLabel" {left = 10; text="Num\nLock"; };
161 text "CapsLockLabel" {left = 33; text="Caps\nLock"; };
162 text "ScrollLockLabel" {left = 58; text="Scroll\nLock"; };
166 xkb_geometry "pc101" {
167 include "digital/pc(common)"
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]} };
185 section "Alpha" { top = 80;
188 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
189 <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
194 keys { { <TAB>, "TABK" },
195 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
196 <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
202 keys { { <CAPS>, "CAPS" },
203 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
204 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
209 keys { { <LFSH>, "LFSH" },
210 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>,
211 <AB07>, <AB08>, <AB09>, <AB10>,
227 xkb_geometry "pc102" {
228 include "digital/pc(common)"
230 shape.cornerRadius = 1;
231 shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
232 shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
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] }
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]} };
250 section "Alpha" { top = 80;
253 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
254 <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
259 keys { { <TAB>, "TABK" },
260 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
261 <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
267 keys { { <CAPS>, "CAPS" },
268 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
269 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <AC12>
273 keys { { <LFSH>, "LFSH" },
274 <BKSL>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
275 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
291 xkb_geometry "pcxaj" {
292 include "digital/pc(common)"
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]} };
310 section "Alpha" { top = 80;
313 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
314 <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
319 keys { { <TAB>, "TABK" },
320 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
321 <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
326 keys { { <CAPS>, "CAPS" },
327 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
328 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <AC12>,
333 keys { { <LFSH>, "LFSH" },
334 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>,
335 <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
341 keys { <LCTL>, <LALT>,