1154daed1Smrg//
2154daed1Smrg//Copyright 1996, 1998  The Open Group
3154daed1Smrg//
4154daed1Smrg//Permission to use, copy, modify, distribute, and sell this software and its
5154daed1Smrg//documentation for any purpose is hereby granted without fee, provided that
6154daed1Smrg//the above copyright notice appear in all copies and that both that
7154daed1Smrg//copyright notice and this permission notice appear in supporting
8154daed1Smrg//documentation.
9154daed1Smrg//
10154daed1Smrg//The above copyright notice and this permission notice shall be
11154daed1Smrg//included in all copies or substantial portions of the Software.
12154daed1Smrg//
13154daed1Smrg//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
14154daed1Smrg//EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
15154daed1Smrg//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
16154daed1Smrg//IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
17154daed1Smrg//OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
18154daed1Smrg//ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
19154daed1Smrg//OTHER DEALINGS IN THE SOFTWARE.
20154daed1Smrg//
21154daed1Smrg//Except as contained in this notice, the name of The Open Group shall
22154daed1Smrg//not be used in advertising or otherwise to promote the sale, use or
23154daed1Smrg//other dealings in this Software without prior written authorization
24154daed1Smrg//from The Open Group.
25154daed1Smrg//
26154daed1Smrgdefault xkb_geometry "dell101" {
27154daed1Smrg
28154daed1Smrg    description= "Dell 101";
29154daed1Smrg    width= 470;
30154daed1Smrg    height= 210;
31154daed1Smrg
32154daed1Smrg    shape.cornerRadius= 1;
33154daed1Smrg    shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
34154daed1Smrg    shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
35154daed1Smrg    shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
36154daed1Smrg    shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
37154daed1Smrg    shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
38154daed1Smrg    shape "CAPS" { { [ 33,18] }, { [ 28,18] }, { [2,1], [ 26,16] } };
39154daed1Smrg    shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
40154daed1Smrg    shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
41154daed1Smrg    shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
42154daed1Smrg    shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
43154daed1Smrg    shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
44154daed1Smrg    shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
45154daed1Smrg
46154daed1Smrg    shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
47154daed1Smrg    shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
48154daed1Smrg    solid "LedPanel" {
49154daed1Smrg	shape= "LEDS";
50154daed1Smrg	top=  52;
51154daed1Smrg	left= 377;
52154daed1Smrg	color= "grey10";
53154daed1Smrg    };
54154daed1Smrg
55154daed1Smrg    indicator.onColor= "green";
56154daed1Smrg    indicator.offColor= "green30";
57154daed1Smrg    indicator.top= 67;
58154daed1Smrg    indicator.shape= "LED";
59154daed1Smrg    indicator "Num Lock"     { left= 382; };
60154daed1Smrg    indicator "Caps Lock"    { left= 407; };
61154daed1Smrg    indicator "Scroll Lock"  { left= 433; };
62154daed1Smrg    text.top= 55;
63154daed1Smrg    text.color= "black";
64154daed1Smrg    text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
65154daed1Smrg    text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
66154daed1Smrg    text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
67154daed1Smrg
68154daed1Smrg    section.left= 19;
69154daed1Smrg    row.left= 1;
70154daed1Smrg    key.shape= "NORM";
71154daed1Smrg    key.gap=  1;
72154daed1Smrg    section "Function" {
73154daed1Smrg	top= 52;
74154daed1Smrg	row {
75154daed1Smrg	    top= 1;
76154daed1Smrg	    keys {  { <ESC>, color="grey20" },
77154daed1Smrg		    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
78154daed1Smrg		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
79154daed1Smrg		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
80154daed1Smrg		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
81154daed1Smrg	    };
82154daed1Smrg	};
83154daed1Smrg    }; // End of "Function" section
84154daed1Smrg
85154daed1Smrg    section "Alpha" {
86154daed1Smrg	top= 91;
87154daed1Smrg	row {
88154daed1Smrg	    top= 1;
89154daed1Smrg	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
90154daed1Smrg		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
91154daed1Smrg		   <AE10>, <AE11>, <AE12>,
92154daed1Smrg		   { <BKSP>, "BKSP", color="grey20" }
93154daed1Smrg	    };
94154daed1Smrg	};
95154daed1Smrg	row {
96154daed1Smrg	    top= 20;
97154daed1Smrg	    keys { { <TAB>, "TABK", color="grey20" },
98154daed1Smrg		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
99154daed1Smrg		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
100154daed1Smrg		   <AD11>, <AD12>, { <BKSL>, "BKSL" }
101154daed1Smrg	    };
102154daed1Smrg	};
103154daed1Smrg	row {
104154daed1Smrg	    top= 39;
105154daed1Smrg	    keys { { <CAPS>, "CAPS", color="grey20" },
106154daed1Smrg		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
107154daed1Smrg		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
108154daed1Smrg		   <AC11>, { <RTRN>, "RTRN", color="grey20" }
109154daed1Smrg	    };
110154daed1Smrg	};
111154daed1Smrg	row {
112154daed1Smrg	    top= 58;
113154daed1Smrg	    keys { { <LFSH>, "LFSH", color="grey20" },
114154daed1Smrg		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
115154daed1Smrg		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
116154daed1Smrg		    { <RTSH>, "RTSH", color="grey20" }
117154daed1Smrg	    };
118154daed1Smrg	};
119154daed1Smrg	row {
120154daed1Smrg	    top= 77;
121154daed1Smrg	    key.shape= "MODK";
122154daed1Smrg	    key.color= "grey20";
123154daed1Smrg	    keys { <LCTL>, { <LALT>, 21 },
124154daed1Smrg		   { <SPCE>, "SPCE", color="white" },
125154daed1Smrg		   <RALT>, { <RCTL>, 21 }
126154daed1Smrg	    };
127154daed1Smrg	};
128154daed1Smrg    }; // End of "Alpha" section
129154daed1Smrg
130154daed1Smrg    section "Editing" {
131154daed1Smrg	top= 91;
132154daed1Smrg	left= 312;
133154daed1Smrg	key.color= "grey20";
134154daed1Smrg	row {
135154daed1Smrg	    top= 1;
136154daed1Smrg	    keys { <INS>, <HOME>, <PGUP> };
137154daed1Smrg	};
138154daed1Smrg        row {
139154daed1Smrg	    top= 20;
140154daed1Smrg	    keys { <DELE>, <END>, <PGDN> };
141154daed1Smrg	};
142154daed1Smrg	row {
143154daed1Smrg	    top= 58;
144154daed1Smrg	    left= 20;
145154daed1Smrg	    keys { <UP> };
146154daed1Smrg	};
147154daed1Smrg	row {
148154daed1Smrg	    top= 77;
149154daed1Smrg	    keys { <LEFT>, <DOWN>, <RGHT> };
150154daed1Smrg	};
151154daed1Smrg    }; // End of "Editing" section
152154daed1Smrg
153154daed1Smrg    section "Keypad" {
154154daed1Smrg	top= 91;
155154daed1Smrg	left= 376;
156154daed1Smrg	row {
157154daed1Smrg	    top= 1;
158154daed1Smrg	    key.color= "grey20";
159154daed1Smrg	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
160154daed1Smrg	};
161154daed1Smrg	row {
162154daed1Smrg	    top= 20;
163154daed1Smrg	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
164154daed1Smrg	};
165154daed1Smrg	row {
166154daed1Smrg	    top= 39;
167154daed1Smrg	    keys { <KP4>, <KP5>, <KP6> };
168154daed1Smrg	};
169154daed1Smrg	row {
170154daed1Smrg	    top= 58;
171154daed1Smrg	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
172154daed1Smrg	};
173154daed1Smrg	row {
174154daed1Smrg	    top= 77;
175154daed1Smrg	    keys { { <KP0>, "KP0" }, <KPDL> };
176154daed1Smrg	};
177154daed1Smrg    }; // End of "Keypad" section
178154daed1Smrg
179154daed1Smrg    alias <AC00> = <CAPS>;
180154daed1Smrg    alias <AA00> = <LCTL>;
181154daed1Smrg
182154daed1Smrg}; // End of "default" geometry
183154daed1Smrg
184154daed1Smrg
185154daed1Smrgxkb_geometry "dell65" {
186154daed1Smrg};
187154daed1Smrg
188154daed1Smrgxkb_geometry "dell65x" {
189154daed1Smrg
190154daed1Smrg    description= "Dell 101";
191154daed1Smrg    width= 470;
192154daed1Smrg    height= 210;
193154daed1Smrg    color="grey10";
194154daed1Smrg
195154daed1Smrg    shape.cornerRadius= 1;
196154daed1Smrg    shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
197154daed1Smrg    shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
198154daed1Smrg    shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
199154daed1Smrg    shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
200154daed1Smrg    shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
201154daed1Smrg    shape "CAPS" { { [ 33,18] }, { [ 28,18] }, { [2,1], [ 26,16] } };
202154daed1Smrg    shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
203154daed1Smrg    shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
204154daed1Smrg    shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
205154daed1Smrg    shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
206154daed1Smrg    shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
207154daed1Smrg    shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
208154daed1Smrg
209154daed1Smrg    shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
210154daed1Smrg    shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
211154daed1Smrg    solid "LedPanel" {
212154daed1Smrg	shape= "LEDS";
213154daed1Smrg	top=  52;
214154daed1Smrg	left= 377;
215154daed1Smrg	color= "grey10";
216154daed1Smrg    };
217154daed1Smrg
218154daed1Smrg    shape "BACKGROUND"  { cornerRadius=5, { [  470,  210 ] } };
219154daed1Smrg    solid "Background" {
220154daed1Smrg	shape= "BACKGROUND";
221154daed1Smrg	top=  0;
222154daed1Smrg	left= 0;
223154daed1Smrg	color= "grey10";
224154daed1Smrg    };
225154daed1Smrg
226154daed1Smrg    indicator.onColor= "green";
227154daed1Smrg    indicator.offColor= "green30";
228154daed1Smrg    indicator.top= 67;
229154daed1Smrg    indicator.shape= "LED";
230154daed1Smrg    indicator "Num Lock"     { left= 382; };
231154daed1Smrg    indicator "Caps Lock"    { left= 407; };
232154daed1Smrg    indicator "Scroll Lock"  { left= 433; };
233154daed1Smrg    text.top= 55;
234154daed1Smrg    text.color= "black";
235154daed1Smrg    text "NumLockLabel"		{ left= 378; text="Num\nLock"; };
236154daed1Smrg    text "CapsLockLabel"	{ left= 403; text="Caps\nLock"; };
237154daed1Smrg    text "ScrollLockLabel"	{ left= 428; text="Scroll\nLock"; };
238154daed1Smrg
239154daed1Smrg    section.left= 19;
240154daed1Smrg    row.left= 1;
241154daed1Smrg    key.shape= "NORM";
242154daed1Smrg    key.gap=  1;
243154daed1Smrg    section "Function" {
244154daed1Smrg	top= 52;
245154daed1Smrg	row {
246154daed1Smrg	    top= 1;
247154daed1Smrg	    keys {  { <ESC>, color="grey20" },
248154daed1Smrg		    { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
249154daed1Smrg		    { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
250154daed1Smrg		    { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
251154daed1Smrg		    { <PRSC>, 8 }, <SCLK>, <PAUS> 
252154daed1Smrg	    };
253154daed1Smrg	};
254154daed1Smrg    }; // End of "Function" section
255154daed1Smrg
256154daed1Smrg    section "Alpha" {
257154daed1Smrg	top= 91;
258154daed1Smrg	row {
259154daed1Smrg	    top= 1;
260154daed1Smrg	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
261154daed1Smrg		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
262154daed1Smrg		   <AE10>, <AE11>, <AE12>,
263154daed1Smrg		   { <BKSP>, "BKSP", color="grey20" }
264154daed1Smrg	    };
265154daed1Smrg	};
266154daed1Smrg	row {
267154daed1Smrg	    top= 20;
268154daed1Smrg	    keys { { <TAB>, "TABK", color="grey20" },
269154daed1Smrg		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
270154daed1Smrg		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
271154daed1Smrg		   <AD11>, <AD12>, { <BKSL>, "BKSL" }
272154daed1Smrg	    };
273154daed1Smrg	};
274154daed1Smrg	row {
275154daed1Smrg	    top= 39;
276154daed1Smrg	    keys { { <CAPS>, "CAPS", color="grey20" },
277154daed1Smrg		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
278154daed1Smrg		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
279154daed1Smrg		   <AC11>, { <RTRN>, "RTRN", color="grey20" }
280154daed1Smrg	    };
281154daed1Smrg	};
282154daed1Smrg	row {
283154daed1Smrg	    top= 58;
284154daed1Smrg	    keys { { <LFSH>, "LFSH", color="grey20" },
285154daed1Smrg		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
286154daed1Smrg		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
287154daed1Smrg		    { <RTSH>, "RTSH", color="grey20" }
288154daed1Smrg	    };
289154daed1Smrg	};
290154daed1Smrg	row {
291154daed1Smrg	    top= 77;
292154daed1Smrg	    key.shape= "MODK";
293154daed1Smrg	    key.color= "grey20";
294154daed1Smrg	    keys { <LCTL>, { <LALT>, 21 },
295154daed1Smrg		   { <SPCE>, "SPCE", color="white" },
296154daed1Smrg		   <RALT>, { <RCTL>, 21 }
297154daed1Smrg	    };
298154daed1Smrg	};
299154daed1Smrg    }; // End of "Alpha" section
300154daed1Smrg
301154daed1Smrg    section "Editing" {
302154daed1Smrg	top= 91;
303154daed1Smrg	left= 312;
304154daed1Smrg	key.color= "grey20";
305154daed1Smrg	row {
306154daed1Smrg	    top= 1;
307154daed1Smrg	    keys { <INS>, <HOME>, <PGUP> };
308154daed1Smrg	};
309154daed1Smrg        row {
310154daed1Smrg	    top= 20;
311154daed1Smrg	    keys { <DELE>, <END>, <PGDN> };
312154daed1Smrg	};
313154daed1Smrg	row {
314154daed1Smrg	    top= 58;
315154daed1Smrg	    left= 20;
316154daed1Smrg	    keys { <UP> };
317154daed1Smrg	};
318154daed1Smrg	row {
319154daed1Smrg	    top= 77;
320154daed1Smrg	    keys { <LEFT>, <DOWN>, <RGHT> };
321154daed1Smrg	};
322154daed1Smrg    }; // End of "Editing" section
323154daed1Smrg
324154daed1Smrg    section "Keypad" {
325154daed1Smrg	top= 91;
326154daed1Smrg	left= 376;
327154daed1Smrg	row {
328154daed1Smrg	    top= 1;
329154daed1Smrg	    key.color= "grey20";
330154daed1Smrg	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
331154daed1Smrg	};
332154daed1Smrg	row {
333154daed1Smrg	    top= 20;
334154daed1Smrg	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
335154daed1Smrg	};
336154daed1Smrg	row {
337154daed1Smrg	    top= 39;
338154daed1Smrg	    keys { <KP4>, <KP5>, <KP6> };
339154daed1Smrg	};
340154daed1Smrg	row {
341154daed1Smrg	    top= 58;
342154daed1Smrg	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
343154daed1Smrg	};
344154daed1Smrg	row {
345154daed1Smrg	    top= 77;
346154daed1Smrg	    keys { { <KP0>, "KP0" }, <KPDL> };
347154daed1Smrg	};
348154daed1Smrg    }; // End of "Keypad" section
349154daed1Smrg
350154daed1Smrg    alias <AC00> = <CAPS>;
351154daed1Smrg    alias <AA00> = <LCTL>;
352154daed1Smrg
353154daed1Smrg};
354154daed1Smrg
355154daed1Smrg
356154daed1Smrg//
3579184b9c8Smrg// Dell Precision M65 laptop
358154daed1Smrg//
359154daed1Smrg
360154daed1Smrgxkb_geometry "dellm65" {
361154daed1Smrg
3629184b9c8Smrg    description= "Dell Precision M65 laptop";
363154daed1Smrg    width= 308;
364154daed1Smrg    height= 152;
365154daed1Smrg    baseColor = "grey20";
366154daed1Smrg    labelColor = "white";
367154daed1Smrg
368154daed1Smrg    shape "BACKGROUND"  { cornerRadius = 3, { [  308,  152 ] } };
369154daed1Smrg    shape "BACKGROUND2" { cornerRadius = 2, { [  7, 22 ], 
370154daed1Smrg                                              [ 171, 22 ],
371154daed1Smrg                                              [ 171, 10 ],
372154daed1Smrg                                              [ 301, 10 ],
373154daed1Smrg                                              [ 301, 148 ],
374154daed1Smrg                                              [ 244, 148 ],
375154daed1Smrg                                              [ 244, 132 ],
376154daed1Smrg                                              [   7, 132] } }; 
377154daed1Smrg    solid "Background" {
378154daed1Smrg	shape = "BACKGROUND";
379154daed1Smrg	top = 0;
380154daed1Smrg	left = 0;
381154daed1Smrg	color = "grey20";
382154daed1Smrg    };
383154daed1Smrg    solid "Background2" {
384154daed1Smrg	shape = "BACKGROUND2";
385154daed1Smrg	top = 0;
386154daed1Smrg	left = 0;
387154daed1Smrg	color = "black";
388154daed1Smrg    };
389154daed1Smrg
390154daed1Smrg    shape "LEDS" { cornerRadius = 4, { [ 26, 8 ] } };
391154daed1Smrg    shape "LED" { cornerRadius = 0, { [ 4, 4 ] } };
392154daed1Smrg    solid "LedPanel" {
393154daed1Smrg	shape = "LEDS";
394154daed1Smrg	top = 8;
395154daed1Smrg	left = 69;
396154daed1Smrg	color = "grey20";
397154daed1Smrg    };
398154daed1Smrg
399154daed1Smrg    indicator.onColor= "green";
400154daed1Smrg    indicator.offColor= "gray20";
401154daed1Smrg    indicator.top= 10;
402154daed1Smrg    indicator.shape= "LED";
403154daed1Smrg    indicator "Num Lock"     { left= 72; };
404154daed1Smrg    indicator "Caps Lock"    { left= 80; };
405154daed1Smrg    indicator "Scroll Lock"  { left= 88; };
406154daed1Smrg
407154daed1Smrg    shape "MEDIA" { cornerRadius = 5, { [ 2, 2], [ 12, 12 ] } };
408154daed1Smrg    shape "POWER" { cornerRadius = 7, { [ 14, 14 ] } };
409154daed1Smrg
410154daed1Smrg    section "Media" {
411154daed1Smrg        top = 5;
412154daed1Smrg        left = 102;
413154daed1Smrg        width = 60;
414154daed1Smrg        height = 14;
415154daed1Smrg        key.color="grey30";
416154daed1Smrg        key.shape = "MEDIA";
417154daed1Smrg        row {
418154daed1Smrg           top = 0;
419154daed1Smrg           keys {
420154daed1Smrg             <I2E>, <I30>, <I20>, { <I04>, shape = "POWER", gap = 3 }
421154daed1Smrg           };
422154daed1Smrg        };
423154daed1Smrg    };
424154daed1Smrg
425154daed1Smrg
426154daed1Smrg    shape "FKEY" { cornerRadius = 1, { [ 18, 12 ] }, { [ 1, 1 ], [ 17, 10 ] } };
427154daed1Smrg
428154daed1Smrg    section "Function" {
429154daed1Smrg       top = 12;
430154daed1Smrg       left = 8;
431154daed1Smrg       width = 290;
432154daed1Smrg       height = 24;
433154daed1Smrg       key.color = "grey80";
434154daed1Smrg       key.shape = "FKEY";
435154daed1Smrg       key.gap = 0;
436154daed1Smrg       row {
437154daed1Smrg	    top = 0;
438154daed1Smrg            keys {      { <MENU>, 165 }, <PRSC>, <NMLK>, <PAUS>, 
439154daed1Smrg                        { <INS>, 1 },  <HOME>, <PGUP> };
440154daed1Smrg       };
441154daed1Smrg       row {
442154daed1Smrg	    top = 12;
443154daed1Smrg            keys { <ESC>, { <FK01>, 1 }, <FK02>, <FK03>, <FK04>, 
444154daed1Smrg                          { <FK05>, 1 }, <FK06>, <FK07>, <FK08>,
445154daed1Smrg                          { <FK09>, 1 }, <FK10>, <FK11>, <FK12>,
446154daed1Smrg                          { <DELE>,  1 }, <END>, <PGDN> };
447154daed1Smrg       };
448154daed1Smrg   };
449154daed1Smrg
450154daed1Smrg   shape "AKEY" { cornerRadius = 1, { [ 19, 19 ] }, { [ 2, 1 ], [ 17, 15 ] } };
451154daed1Smrg   shape "BKSP" { cornerRadius = 1, { [ 44, 19 ] }, { [ 2, 1 ], [ 42, 15 ] } };
452154daed1Smrg   shape "TABK" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } };
453154daed1Smrg   shape "BKSL" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } };
454154daed1Smrg   shape "CAPS" { cornerRadius = 1, { [ 34, 19 ] }, { [ 2, 1 ], [ 32, 15 ] } };
455154daed1Smrg   shape "RTRN" { cornerRadius = 1, { [ 47, 19 ] }, { [ 2, 1 ], [ 45, 15 ] } };
456154daed1Smrg   shape "LFSH" { cornerRadius = 1, { [ 44, 19 ] }, { [ 2, 1 ], [ 42, 15 ] } };
457154daed1Smrg   shape "RTSH" { cornerRadius = 1, { [ 56, 19 ] }, { [ 2, 1 ], [ 54, 15 ] } };
458154daed1Smrg   shape "LCTL" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } };
459154daed1Smrg   shape "LALT" { cornerRadius = 1, { [ 25, 19 ] }, { [ 2, 1 ], [ 23, 15 ] } };
460154daed1Smrg   shape "RCTL" { cornerRadius = 1, { [ 25, 19 ] }, { [ 2, 1 ], [ 23, 15 ] } };
461154daed1Smrg   shape "SPCE" { cornerRadius = 1, { [ 96, 19 ] }, { [ 2, 1 ], [ 94, 15 ] } };
462154daed1Smrg   
463154daed1Smrg
464154daed1Smrg   section "Alpha" {
465154daed1Smrg       top = 36;
466154daed1Smrg       left = 8;
467154daed1Smrg       width = 290;
468154daed1Smrg       height = 21;
469154daed1Smrg       key.color = "grey80";
470154daed1Smrg       key.shape = "AKEY";
471154daed1Smrg       key.gap = 0;
472154daed1Smrg       row {
473154daed1Smrg	    top = 1;
474154daed1Smrg            keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
475154daed1Smrg		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
476154daed1Smrg		   <AE10>, <AE11>, <AE12>, { <BKSP>, 1, "BKSP" } };
477154daed1Smrg	};
478154daed1Smrg       row {
479154daed1Smrg	    top = 20;
480154daed1Smrg            keys { { <TAB>, "TABK" },
481154daed1Smrg		   { <AD01>, 1 }, <AD02>, <AD03>, <AD04>, <AD05>, 
482154daed1Smrg		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
483154daed1Smrg		   <AD11>, <AD12>, { <BKSL>, 1, "BKSL" } };
484154daed1Smrg	};
485154daed1Smrg       row {
486154daed1Smrg	    top = 39;
487154daed1Smrg            keys { { <CAPS>, "CAPS" },
488154daed1Smrg		   { <AC01>, 1 }, <AC02>, <AC03>, <AC04>, <AC05>, 
489154daed1Smrg		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
490154daed1Smrg		   <AC11>, { <RTRN>, 1, "RTRN" } };
491154daed1Smrg	};
492154daed1Smrg       row {
493154daed1Smrg	    top = 58;
494154daed1Smrg            keys { { <LFSH>, "LFSH" },
495154daed1Smrg		   { <AB01>, 1 }, <AB02>, <AB03>, <AB04>, <AB05>, 
496154daed1Smrg		   <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
497154daed1Smrg		   { <RTSH>, 1, "RTSH" } };
498154daed1Smrg	};
499154daed1Smrg       row {
500154daed1Smrg           top = 77;
501154daed1Smrg           keys { { <LCTL>, "LCTL" }, { <LWIN>, 20 }, { <LALT>, "LALT" }, 
502154daed1Smrg                  { <SPCE>, "SPCE" }, <RALT>, { <RCTL>, "RCTL" } };
503154daed1Smrg	};
504154daed1Smrg   };
505154daed1Smrg
506154daed1Smrg   shape "SKEY" { cornerRadius = 1, { [ 18, 17 ] }, { [ 2, 1 ], [ 16, 13 ] } };
507154daed1Smrg   section "Arrows" {
508154daed1Smrg        top = 113;
509154daed1Smrg        left = 243;
510154daed1Smrg        width = 54;
511154daed1Smrg        height = 36;
512154daed1Smrg        
513154daed1Smrg       key.color = "grey80";
514154daed1Smrg        key.shape = "SKEY";
515154daed1Smrg        row {
516154daed1Smrg           top = 0;
517154daed1Smrg           left = 20;
518154daed1Smrg
519154daed1Smrg           keys { <UP> };
520154daed1Smrg        };
521154daed1Smrg  
522154daed1Smrg        row {
523154daed1Smrg            top = 17;
524154daed1Smrg            left = 2;
525154daed1Smrg
526154daed1Smrg            keys { <LEFT>, <DOWN>, <RGHT> };
527154daed1Smrg        };
528154daed1Smrg   };
529154daed1Smrg
530154daed1Smrg  shape "STIK" { cornerRadius = 4, { [ 7, 7 ] } };
531154daed1Smrg
532154daed1Smrg  solid "STIK" {
533154daed1Smrg      priority = 255;
534154daed1Smrg      color = "blue";
535154daed1Smrg      shape = "STIK";
536154daed1Smrg      top = 90; 
537154daed1Smrg      left = 135;
538154daed1Smrg  };
539154daed1Smrg};
540154daed1Smrg 
541c067fea9Sghenxkb_geometry "latitude" {
542c067fea9Sghen	description="Dell Latitude";
543c067fea9Sghen	width=304.2; height=219.1;
544c067fea9Sghen
545c067fea9Sghen	baseColor="grey"; labelColor="white";
546c067fea9Sghen
547c067fea9Sghen	alias <AC00> =<CAPS>;
548c067fea9Sghen	alias <AA00> =<LCTL>;
549c067fea9Sghen
550c067fea9Sghen	shape "EXTERNAL" {corner=3,
551c067fea9Sghen		{[0,0], [302,0], [302,154], [174,154], [174,198], [166,216], [107,216], [100,198], [100,154], [0,154]}};
552c067fea9Sghen	solid "external" {shape="EXTERNAL"; top=1.1; left=1.1; color="grey10"; priority=10;};
553c067fea9Sghen
554c067fea9Sghen	shape "INTERNAL" {corner=3,
555c067fea9Sghen		{[0,13], [162.2,13], [162.2,0], [286,0], [286,138], [230,138], [230,124], [163,124], [163,138], [96,138], [96,124], [0,124]}};
556c067fea9Sghen	solid "internal" {shape="INTERNAL"; top=7; left=8.5; color="black"; priority=20;};
557c067fea9Sghen
558c067fea9Sghen	shape "TOUCHPAD" {corner=2, {[68,40]}};
559c067fea9Sghen	solid "touchpad" {shape="TOUCHPAD"; top=153; left=104; color="grey20"; priority=20;};
560c067fea9Sghen
561c067fea9Sghen	shape "TOUCHPADBUTTONS" {corner=1,
562c067fea9Sghen		{[0,0], [33.5,0], [33.5,16], [6,16]},
563c067fea9Sghen		{[34.5,0], [68,0], [61, 16], [34.5,16]}};
564c067fea9Sghen	solid "touchleft" {shape="TOUCHPADBUTTONS"; top=198; left=104; color="grey20"; priority=20;};
565c067fea9Sghen
566c067fea9Sghen	shape "NIPPLE" {corner=3, {[7.5,7.5]}};
567c067fea9Sghen	solid "nipple" {shape="NIPPLE"; top=87; left=134; color="blue"; priority=200;};
568c067fea9Sghen	shape "NIPPLEBUTTONS" {corner=2, {[32.5,13]}, {[33.5,0],[66,13]}};
569c067fea9Sghen	solid "nipplebuttons" {shape="NIPPLEBUTTONS"; top=131; left=105; color="grey20"; priority=20;};
570c067fea9Sghen
571c067fea9Sghen	shape "FILLINGS" {corner=1.5, {[19,15]}, {[38,0],[55,15]}};
572c067fea9Sghen	solid "fillings" {shape="FILLINGS"; top=112; left=238; color="grey"; priority=200;};
573c067fea9Sghen
574c067fea9Sghen	shape "FUNC" {corner=1.5, {[16.3,12]}, {[2,0.5], [14,10]}};
575c067fea9Sghen	shape "ESC" {corner=1.5, {[18,12]}, {[2,0.5], [16,10]}};
576c067fea9Sghen	shape "BKSP" {corner=1.5, {[36.5,18]}, {[3,0.5], [33.5,14]}};
577c067fea9Sghen
578c067fea9Sghen	section "Function" {key.color="grey"; priority=100; top=9; left=10; width=290; height=28;
579c067fea9Sghen	row {top=0; left=161.1; keys {{<MENU>,"FUNC",1.1}, {<PRSC>,"FUNC",1.1}, {<NMLK>,"FUNC",1.1},
580c067fea9Sghen		{<PAUS>,"FUNC",1.1}, {<INS>,"FUNC",2.5}, {<HOME>,"FUNC",1.1}, {<PGUP>,"FUNC",1.1}};};
581c067fea9Sghen	row {top=12.5; left=0; keys {{<ESC>,"ESC",0},
582c067fea9Sghen		{<FK01>,"FUNC",2.7}, {<FK02>,"FUNC",1.1}, {<FK03>,"FUNC",1.1}, {<FK04>,"FUNC",1.1},
583c067fea9Sghen		{<FK05>,"FUNC",2.5}, {<FK06>,"FUNC",1.1}, {<FK07>,"FUNC",1.1}, {<FK08>,"FUNC",1.1},
584c067fea9Sghen		{<FK09>,"FUNC",2.5}, {<FK10>,"FUNC",1.1}, {<FK11>,"FUNC",1.1}, {<FK12>,"FUNC",1.1},
585c067fea9Sghen		{<DELE>,"FUNC",2.5}, {<END>, "FUNC",1.1}, {<PGDN>,"FUNC",1.1}};};
586c067fea9Sghen	}; // End of "Function" section
587c067fea9Sghen
588c067fea9Sghen	shape "NORM" {corner=1.5, {[18,18]}, {[3,0.5], [14.8,14]}};
589c067fea9Sghen	shape "TABK" {corner=1.5, {[28,18]}, {[3,0.5], [25,14]}};
590c067fea9Sghen	shape "CAPS" {corner=1.5, {[32,18]}, {[3,0.5], [22,14]}};
591c067fea9Sghen	shape "LFSH" {corner=1.5, {[23,18]}, {[3,0.5], [20,14]}};
592c067fea9Sghen	shape "RTSH" {corner=1.5, {[50,18]}, {[3,1], [47,14]}};
593c067fea9Sghen	shape "RTRN" {corner=1.5, {[0,0],[26.5,0],[26.5,37],[4,37],[4,18],[0,18]},
594c067fea9Sghen		{[3,0.5], [23.5,0.5], [23.5,33], [7,33], [7,14], [3,14]}};
595c067fea9Sghen	shape "SPCE" {corner=1.5,{[95,18]}, {[3,0.5],[92,14]}};
596c067fea9Sghen	shape "LCTL" {corner=1.5, {[27,18]}, {[3,0.5],[24,14]}};
597c067fea9Sghen	shape "LALT" {corner=1.5, {[22,18]}, {[3,0.5],[19,14]}};
598c067fea9Sghen	shape "WIN" {corner=1.5, {[18,18]}, {[3,0.5],[15,14]}};
599c067fea9Sghen
600c067fea9Sghen	section "Alpha" {key.color="grey"; priority=100; top=36; left=10; width=290; height=18;
601c067fea9Sghen	row {top=0; left=0; keys {{<TLDE>, "NORM", 0}, {<AE01>, "NORM", 1}, {<AE02>, "NORM", 1}, {<AE03>, "NORM", 1},
602c067fea9Sghen		{<AE04>, "NORM", 1}, {<AE05>, "NORM", 1}, {<AE06>, "NORM", 1}, {<AE07>, "NORM", 1}, {<AE08>, "NORM", 1},
603c067fea9Sghen		{<AE09>, "NORM", 1}, {<AE10>, "NORM", 1}, {<AE11>, "NORM", 1}, {<AE12>, "NORM", 1}, {<BKSP>, "BKSP", 1}};};
604c067fea9Sghen	row {top=19; left=0; keys {{<TAB>, "TABK", 0}, {<AD01>, "NORM", 1}, {<AD02>, "NORM", 1}, {<AD03>, "NORM", 1},
605c067fea9Sghen		{<AD04>, "NORM", 1}, {<AD05>, "NORM", 1}, {<AD06>, "NORM", 1}, {<AD07>, "NORM", 1}, {<AD08>, "NORM", 1},
606c067fea9Sghen		{<AD09>, "NORM", 1}, {<AD10>, "NORM", 1}, {<AD11>, "NORM", 1}, {<AD12>, "NORM", 1}, {<RTRN>, "RTRN", 1}};};
607c067fea9Sghen	row {top=38; left=0; keys {{<CAPS>, "CAPS", 0}, {<AC01>, "NORM", 1}, {<AC02>, "NORM", 1}, {<AC03>, "NORM", 1},
608c067fea9Sghen		{<AC04>, "NORM", 1}, {<AC05>, "NORM", 1}, {<AC06>, "NORM", 1}, {<AC07>, "NORM", 1}, {<AC08>, "NORM", 1}, 
609c067fea9Sghen		{<AC09>, "NORM", 1}, {<AC10>, "NORM", 1}, {<AC11>, "NORM", 1}, {<AC12>, "NORM", 1}};};
610c067fea9Sghen	// TODO There's a weird <> key here, check it out:
611c067fea9Sghen	row {top=57; left=0; keys {{<LFSH>, "LFSH", 0}, {<AB01>, "NORM", 1}, {<AB02>, "NORM", 1}, {<AB03>, "NORM", 1},
612c067fea9Sghen		{<AB04>, "NORM", 1}, {<AB05>, "NORM", 1}, {<AB06>, "NORM", 1}, {<AB07>, "NORM", 1}, {<AB08>, "NORM", 1},
613c067fea9Sghen		{<AB09>, "NORM", 1}, {<AB10>, "NORM", 1}, {<AB11>, "NORM", 1}, {<RTSH>, "RTSH", 1}};};
614c067fea9Sghen	row {top=76; left=0; keys {{<LCTL>, "LCTL", 0}, {<FN>, "WIN", 1},{<LWIN>, "WIN", 1}, {<LALT>, "LALT", 1},
615c067fea9Sghen		{<SPCE>, "SPCE", 1}, {<RALT>, "WIN", 1},{<RCTL>, "LALT", 1}};};
616c067fea9Sghen	}; // End of "Alpha" section
617c067fea9Sghen
618c067fea9Sghen	shape "ARROW" {corner=1.5, {[17,15]}, {[2,0.5],[15,13]}};
619c067fea9Sghen	section "Arrows" {key.color="grey"; priority=110; top=112; left=240; width=43; height=31;
620c067fea9Sghen		row {top=0; left=18; keys {{<UP>, "ARROW", 0}};};	
621c067fea9Sghen		row {top=16; left=0; keys {{<LEFT>, "ARROW", 0}, {<DOWN>, "ARROW", 1}, {<RGHT>, "ARROW", 1}};};
622797b363dSmrg	}; // End of "Arrows" section
623c067fea9Sghen
624c067fea9Sghen	shape "LEDS" {corner=3, {[25,7]}};
625c067fea9Sghen	solid "leds" {shape="LEDS"; top=5.7; left=69; color="grey"; priority=10;};
626c067fea9Sghen	shape "LED" {corner=0, {[0,1.5], [3,4.5]}, {[0.5,1.5], [1,0] , [2,0], [2.5,1.5]}};
627c067fea9Sghen	indicator.onColor="green";
628c067fea9Sghen	indicator.offColor="grey";
629c067fea9Sghen	indicator.top=7;
630c067fea9Sghen	indicator.shape="LED"; 
631c067fea9Sghen	indicator.priority=200;
632c067fea9Sghen	indicator "Num Lock" {left=72;};
633c067fea9Sghen	indicator "Caps Lock" {left=80;};
634c067fea9Sghen	indicator "Scroll Lock" {left=88;};
635c067fea9Sghen
636c067fea9Sghen	text "LATITUDE" {left=10; top=7; text="L A T I T U D E | D620";};
637c067fea9Sghen
638c067fea9Sghen	shape "ROUND" {corner=5, {[10,10]}};
639c067fea9Sghen	shape "POWER" {corner=7, {[15,15]}};
640c067fea9Sghen	section "Topbuttons" {key.color="grey"; priority=110; top=2; left=100;
641c067fea9Sghen		row {top=2; left=0; keys {{<VLUP>, "ROUND", 0}, {<VLDN>, "ROUND", 3}, {<MUTE>, "ROUND", 3}};};	
642c067fea9Sghen		row {top=0; left=45; keys {{<POWR>, "POWER", 0}};};
643797b363dSmrg	}; // End of "TopButtons" section
644c067fea9Sghen};
645