1154daed1Smrg//
2154daed1Smrg//Copyright (c) 1996  Digital Equipment Corporation
3154daed1Smrg//
4154daed1Smrg//Permission is hereby granted, free of charge, to any person obtaining
5154daed1Smrg//a copy of this software and associated documentation files (the
6154daed1Smrg//"Software"), to deal in the Software without restriction, including
7154daed1Smrg//without limitation the rights to use, copy, modify, merge, publish,
8154daed1Smrg//distribute, sublicense, and sell copies of the Software, and to
9154daed1Smrg//permit persons to whom the Software is furnished to do so, subject to
10154daed1Smrg//the following conditions:
11154daed1Smrg//
12154daed1Smrg//The above copyright notice and this permission notice shall be included
13154daed1Smrg//in all copies or substantial portions of the Software.
14154daed1Smrg//
15154daed1Smrg//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16154daed1Smrg//OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17154daed1Smrg//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18154daed1Smrg//IN NO EVENT SHALL DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM,
19154daed1Smrg//DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20154daed1Smrg//OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
21154daed1Smrg//THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22154daed1Smrg//
23154daed1Smrg//Except as contained in this notice, the name of the Digital Equipment 
24154daed1Smrg//Corporation shall not be used in advertising or otherwise to promote
25154daed1Smrg//the sale, use or other dealings in this Software without prior written
26154daed1Smrg//authorization from Digital Equipment Corporation.
27154daed1Smrg//
28154daed1Smrg// HISTORY
29154daed1Smrg// Log: pc,v 
30154daed1Smrg// Revision 1.2  1996/06/18  09:12:50  erik
31154daed1Smrg// use flags correctly, assorted cleanups and consortium fixes
32154daed1Smrg//
33154daed1Smrg// Revision 1.1.6.2  1995/08/18  21:15:18  William_Walker
34154daed1Smrg// 	Upgrade XKB to Protocol Rev. 0.64
35154daed1Smrg// 	[1995/08/18  20:41:49  William_Walker]
36154daed1Smrg//
37154daed1Smrg// Revision 1.1.2.4  1995/08/11  19:35:48  William_Walker
38154daed1Smrg// 	Sync up with Erik's pool.
39154daed1Smrg// 	[1995/08/11  18:36:03  William_Walker]
40154daed1Smrg// 
41154daed1Smrg// Revision 1.1.2.3  1995/06/27  12:17:29  William_Walker
42154daed1Smrg// 	Rename <TLDE> to ISO9995 compliant <AE00>.
43154daed1Smrg// 	[1995/06/26  20:23:10  William_Walker]
44154daed1Smrg// 
45154daed1Smrg// Revision 1.1.2.2  1995/06/05  19:21:19  William_Walker
46154daed1Smrg// 	New file.  I love keymaps.
47154daed1Smrg// 	[1995/06/05  18:05:51  William_Walker]
48154daed1Smrg// 
49154daed1Smrg// EndLog
50154daed1Smrg// 
51154daed1Smrg// @(#)RCSfile: pc,v  Revision: 1.2  (DEC) Date: 1996/02/02 14:40:25
52154daed1Smrg// 
53154daed1Smrgpartial xkb_geometry "common" {
54154daed1Smrg    width		= 480;
55154daed1Smrg    height		= 200;
56154daed1Smrg
57154daed1Smrg    shape.cornerRadius = 1;
58154daed1Smrg    shape "NORM" { primary = { [18,19] }, { [3,2], [15,16] } };
59154daed1Smrg    shape "KP0"  { primary = { [37,19] }, { [3,2], [34,16] } };
60154daed1Smrg    shape "KPAD" { primary = { [18,39] }, { [3,2], [15,36] } };
61154daed1Smrg    shape "LEDS" { [78,22] };
62154daed1Smrg    shape "LED"  { [5,2] };
63154daed1Smrg
64154daed1Smrg    text.color         = "black";
65154daed1Smrg    section.left       = 17;
66154daed1Smrg    row.left	       = 1;
67154daed1Smrg    key.shape	       = "NORM";
68154daed1Smrg    key.gap	       =  1;
69154daed1Smrg
70154daed1Smrg    section "Function" { top = 40;
71154daed1Smrg        row { top = 1;
72154daed1Smrg	    keys {  <ESC>,
73154daed1Smrg	    	    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
74154daed1Smrg	    	    { <FK05>, 10 }, <FK06>, <FK07>, <FK08>,
75154daed1Smrg		    { <FK09>, 10 }, <FK10>, <FK11>, <FK12>
76154daed1Smrg	    };
77154daed1Smrg        };
78154daed1Smrg    };
79154daed1Smrg
80154daed1Smrg    section "Editing" { top = 40; left = 308;
81154daed1Smrg        row { top = 1;
82154daed1Smrg    	    keys { <PRSC>, <SCLK>, <PAUS> };
83154daed1Smrg        };
84154daed1Smrg        row { top = 41;
85154daed1Smrg	    keys { <INS>, <HOME>, <PGUP> };
86154daed1Smrg        };
87154daed1Smrg        row { top = 61;
88154daed1Smrg	    keys { <DELE>, <END>, <PGDN> };
89154daed1Smrg        };
90154daed1Smrg        row { top = 101; left = 20;
91154daed1Smrg	    keys { <UP> };
92154daed1Smrg        };
93154daed1Smrg        row { top = 121;
94154daed1Smrg	    keys { <LEFT>, <DOWN>, <RGHT> };
95154daed1Smrg        };
96154daed1Smrg    };
97154daed1Smrg
98154daed1Smrg    section "Keypad" { top = 80; left = 374;
99154daed1Smrg        row { top = 1;
100154daed1Smrg	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
101154daed1Smrg        };
102154daed1Smrg        row { top = 21;
103154daed1Smrg	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
104154daed1Smrg        };
105154daed1Smrg        row { top = 41;
106154daed1Smrg	    keys { <KP4>, <KP5>, <KP6> };
107154daed1Smrg        };
108154daed1Smrg        row { top = 61;
109154daed1Smrg	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
110154daed1Smrg        };
111154daed1Smrg        row { top = 81;
112154daed1Smrg	    keys { { <KP0>, "KP0" }, <KPDL> };
113154daed1Smrg        };
114154daed1Smrg    };
115154daed1Smrg};
116154daed1Smrg
117154daed1Smrgpartial xkb_geometry "leds_on_keys" {
118154daed1Smrg    section.top  = 40;
119154daed1Smrg    section.left = 17;
120154daed1Smrg    section "LedPanel" {
121154daed1Smrg        indicator.onColor  = "#00ff00";
122154daed1Smrg        indicator.offColor = "#001000";
123154daed1Smrg        indicator.shape    = "LED";
124154daed1Smrg        indicator "Scroll Lock" { left = 317; top = 5;  };
125154daed1Smrg        indicator "Num Lock"    { left = 364; top = 45; };
126154daed1Smrg        indicator "Caps Lock"   { left = 10;   top = 85; };
127154daed1Smrg    };
128154daed1Smrg
129154daed1Smrg    section.left = 375;
130154daed1Smrg    section.top  = 40;
131154daed1Smrg    section "LogoPanel" {
132154daed1Smrg        solid "logo_panel" { top = 0; left = 0;
133154daed1Smrg            shape = "LEDS";
134154daed1Smrg	    color = "grey";
135154daed1Smrg        };
136154daed1Smrg        text "Logo" {left = 28; top = 10; text="digital\n"; };
137154daed1Smrg    };
138154daed1Smrg};
139154daed1Smrg
140154daed1Smrgpartial xkb_geometry "leds_alone" {
141154daed1Smrg    section.left = 375;
142154daed1Smrg    section.top  = 40;
143154daed1Smrg    section "Indicators" {
144154daed1Smrg        solid "led_panel" { top = 0; left = 0;
145154daed1Smrg	    shape = "LEDS";
146154daed1Smrg	    color = "grey";
147154daed1Smrg        };
148154daed1Smrg        indicator.top = 16;
149154daed1Smrg        indicator.onColor  = "#00ff00";
150154daed1Smrg        indicator.offColor = "#001000";
151154daed1Smrg        indicator.shape    = "LED";
152154daed1Smrg        indicator "Num Lock" 	{ left = 3;  };
153154daed1Smrg        indicator "Caps Lock"	{ left = 26; };
154154daed1Smrg        indicator "Scroll Lock" { left = 50; };
155154daed1Smrg        text "Logo" {left = 2; top = 3; text="digital\n"; };
156154daed1Smrg    };
157154daed1Smrg    section "IndicatorLabels" {
158154daed1Smrg	text.top = 11;
159154daed1Smrg    	text "NumLockLabel"    {left = 10; text="Num\nLock";    };
160154daed1Smrg    	text "CapsLockLabel"   {left = 33; text="Caps\nLock";   };
161154daed1Smrg    	text "ScrollLockLabel" {left = 58; text="Scroll\nLock"; };
162154daed1Smrg    };
163154daed1Smrg};
164154daed1Smrg
165154daed1Smrgxkb_geometry "pc101" {
166154daed1Smrg    include "digital_vndr/pc(common)"
167154daed1Smrg
168154daed1Smrg    shape.cornerRadius = 1;
169154daed1Smrg    shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
170154daed1Smrg    shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
171154daed1Smrg    shape "RTRN" { primary = { [41,19] }, { [3,2], [38,16] } };
172154daed1Smrg    shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
173154daed1Smrg    shape "LFSH" { primary = { [41,19] }, { [3,2], [38,16] } };
174154daed1Smrg    shape "RTSH" { primary = { [51,19] }, { [3,2], [49,16] } };
175154daed1Smrg    shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
176154daed1Smrg    shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
177154daed1Smrg    shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
178154daed1Smrg
179154daed1Smrg    section.left       = 17;
180154daed1Smrg    row.left	       = 1;
181154daed1Smrg    key.shape	       = "NORM";
182154daed1Smrg    key.gap	       =  1;
183154daed1Smrg
184154daed1Smrg    section "Alpha" { top = 80;
185154daed1Smrg        row { top = 1;
186154daed1Smrg	    keys {  <AE00>, 
187154daed1Smrg		    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
188154daed1Smrg		    <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
189154daed1Smrg		    { <BKSP>, "BKSP" }
190154daed1Smrg	    };
191154daed1Smrg        };
192154daed1Smrg        row { top = 21;
193154daed1Smrg	    keys {  { <TAB>, "TABK" },
194154daed1Smrg		    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
195154daed1Smrg		    <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
196154daed1Smrg		    { <BKSL>, "BKSL" }
197154daed1Smrg	    };
198154daed1Smrg
199154daed1Smrg        };
200154daed1Smrg        row { top = 41;
201154daed1Smrg	    keys {  { <CAPS>, "CAPS" },
202154daed1Smrg		    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
203154daed1Smrg		    <AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
204154daed1Smrg		    { <RTRN>, "RTRN" }
205154daed1Smrg	    };
206154daed1Smrg        };
207154daed1Smrg        row { top = 61;
208154daed1Smrg	    keys {  { <LFSH>, "LFSH" },
209154daed1Smrg		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>, 
210154daed1Smrg                    <AB07>, <AB08>, <AB09>, <AB10>,
211154daed1Smrg		    { <RTSH>, "RTSH" }
212154daed1Smrg	    };
213154daed1Smrg        };
214154daed1Smrg        row { top = 81;
215154daed1Smrg	    key.shape = "MODK";
216154daed1Smrg	    keys {  <LCTL>,
217154daed1Smrg		    { <LALT>, 20 },
218154daed1Smrg		    { <SPCE>, "SPCE" },
219154daed1Smrg		    <RALT>,
220154daed1Smrg		    { <RCTL>, 21 }
221154daed1Smrg	    };
222154daed1Smrg        };
223154daed1Smrg    };
224154daed1Smrg};
225154daed1Smrg
226154daed1Smrgxkb_geometry "pc102" {
227154daed1Smrg    include "digital_vndr/pc(common)"
228154daed1Smrg
229154daed1Smrg    shape.cornerRadius = 1;
230154daed1Smrg    shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
231154daed1Smrg    shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
232154daed1Smrg    shape "RTRN" { 
233154daed1Smrg        approx = { [0,0],[28,19] },
234154daed1Smrg        { [0,0], [27,0], [27,39], [5,39], [5,19], [0,19] },
235154daed1Smrg        { [3,2], [24,2], [24,36], [8,36], [8,16], [3,16] }
236154daed1Smrg    };
237154daed1Smrg    shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
238154daed1Smrg    shape "LFSH" { primary = { [22,19] }, { [3,2], [19,16] } };
239154daed1Smrg    shape "RTSH" { primary = { [51,19] }, { [3,2], [49,16] } };
240154daed1Smrg    shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
241154daed1Smrg    shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
242154daed1Smrg    shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
243154daed1Smrg
244154daed1Smrg    section.left       = 17;
245154daed1Smrg    row.left	       = 1;
246154daed1Smrg    key.shape	       = "NORM";
247154daed1Smrg    key.gap	       =  1;
248154daed1Smrg
249154daed1Smrg    section "Alpha" { top = 80;
250154daed1Smrg        row { top = 1;
251154daed1Smrg	    keys {  <AE00>, 
252154daed1Smrg		    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
253154daed1Smrg		    <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
254154daed1Smrg		    { <BKSP>, "BKSP" }
255154daed1Smrg	    };
256154daed1Smrg        };
257154daed1Smrg        row { top = 21;
258154daed1Smrg	    keys {  { <TAB>, "TABK" },
259154daed1Smrg		    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
260154daed1Smrg		    <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
261154daed1Smrg		    { <RTRN>, "RTRN" }
262154daed1Smrg	    };
263154daed1Smrg
264154daed1Smrg        };
265154daed1Smrg        row { top = 41;
266154daed1Smrg	    keys {  { <CAPS>, "CAPS" },
267154daed1Smrg		    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
268154daed1Smrg		    <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <AC12>
269154daed1Smrg	    };
270154daed1Smrg        };
271154daed1Smrg        row { top = 61;
272154daed1Smrg	    keys {  { <LFSH>, "LFSH" },
273154daed1Smrg		    <BKSL>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
274154daed1Smrg	            <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
275154daed1Smrg		    { <RTSH>, "RTSH" }
276154daed1Smrg	    };
277154daed1Smrg        };
278154daed1Smrg        row { top = 81;
279154daed1Smrg	    key.shape = "MODK";
280154daed1Smrg	    keys {  <LCTL>,
281154daed1Smrg		    { <LALT>, 20 },
282154daed1Smrg		    { <SPCE>, "SPCE" },
283154daed1Smrg		    <RALT>,
284154daed1Smrg		    { <RCTL>, 21 }
285154daed1Smrg	    };
286154daed1Smrg        };
287154daed1Smrg    };
288154daed1Smrg};
289154daed1Smrg
290154daed1Smrgxkb_geometry "pcxaj" {
291154daed1Smrg    include "digital_vndr/pc(common)"
292154daed1Smrg
293154daed1Smrg    shape.cornerRadius = 1;
294154daed1Smrg    shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
295154daed1Smrg    shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
296154daed1Smrg    shape "RTRN" { primary = { [22,19] }, { [3,2], [19,16] } };
297154daed1Smrg    shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
298154daed1Smrg    shape "LFSH" { primary = { [41,19] }, { [3,2], [38,16] } };
299154daed1Smrg    shape "RTSH" { primary = { [32,19] }, { [3,2], [29,16] } };
300154daed1Smrg    shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
301154daed1Smrg    shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
302154daed1Smrg    shape "SPCE" { primary = { [114,19]}, { [3,2], [111,16]} };
303154daed1Smrg
304154daed1Smrg    section.left       = 17;
305154daed1Smrg    row.left	       = 1;
306154daed1Smrg    key.shape	       = "NORM";
307154daed1Smrg    key.gap	       =  1;
308154daed1Smrg
309154daed1Smrg    section "Alpha" { top = 80;
310154daed1Smrg        row { top = 1;
311154daed1Smrg	    keys {  <AE00>, 
312154daed1Smrg		    <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
313154daed1Smrg		    <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
314154daed1Smrg		    { <BKSP>, "BKSP" }
315154daed1Smrg	    };
316154daed1Smrg        };
317154daed1Smrg        row { top = 21;
318154daed1Smrg	    keys {  { <TAB>, "TABK" },
319154daed1Smrg		    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
320154daed1Smrg		    <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
321154daed1Smrg		    { <BKSL>, "BKSL" }
322154daed1Smrg	    };
323154daed1Smrg        };
324154daed1Smrg        row { top = 41;
325154daed1Smrg	    keys {  { <CAPS>, "CAPS" },
326154daed1Smrg		    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
327154daed1Smrg		    <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <AC12>,
328154daed1Smrg		    { <RTRN>, "RTRN" }
329154daed1Smrg	    };
330154daed1Smrg        };
331154daed1Smrg        row { top = 61;
332154daed1Smrg	    keys {  { <LFSH>, "LFSH" },
333154daed1Smrg		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>, 
334154daed1Smrg		    <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
335154daed1Smrg		    { <RTSH>, "RTSH" }
336154daed1Smrg	    };
337154daed1Smrg        };
338154daed1Smrg        row { top = 81;
339154daed1Smrg	    key.shape = "MODK";
340154daed1Smrg	    keys {  <LCTL>, <LALT>, 
341154daed1Smrg		    { <MUHE>, "NORM" }, 
342154daed1Smrg		    { <SPCE>, "SPCE" },
343154daed1Smrg		    { <KANJ>, "NORM" },
344154daed1Smrg		    { <HIRA>, "NORM" },
345154daed1Smrg		    <RALT>, <RCTL>
346154daed1Smrg	    };
347154daed1Smrg        };
348154daed1Smrg    };
349154daed1Smrg};
350