pc revision 1.1.1.8 1 //
2 //Copyright 1996, 1998 The Open Group
3 //
4 //Permission to use, copy, modify, distribute, and sell this software and its
5 //documentation for any purpose is hereby granted without fee, provided that
6 //the above copyright notice appear in all copies and that both that
7 //copyright notice and this permission notice appear in supporting
8 //documentation.
9 //
10 //The above copyright notice and this permission notice shall be
11 //included in all copies or substantial portions of the Software.
12 //
13 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
14 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
15 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
16 //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
17 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
18 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
19 //OTHER DEALINGS IN THE SOFTWARE.
20 //
21 //Except as contained in this notice, the name of The Open Group shall
22 //not be used in advertising or otherwise to promote the sale, use or
23 //other dealings in this Software without prior written authorization
24 //from The Open Group.
25 //
26
27 default xkb_geometry "pc101" {
28
29 description= "Generic 101";
30 width= 470;
31 height= 180;
32
33 shape.cornerRadius= 1;
34 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
35 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
36 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
37 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
38 shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
39 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
40 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
41 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
42 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
43 shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
44 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
45 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
46
47 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
48 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
49 solid "LedPanel" {
50 shape= "LEDS";
51 top= 22;
52 left= 377;
53 color= "grey10";
54 };
55
56 indicator.onColor= "green";
57 indicator.offColor= "green30";
58 indicator.top= 37;
59 indicator.shape= "LED";
60 indicator "Num Lock" { left= 382; };
61 indicator "Caps Lock" { left= 407; };
62 indicator "Scroll Lock" { left= 433; };
63 text.top= 25;
64 text.color= "black";
65 text "NumLockLabel" { left= 378; text="Num\nLock"; };
66 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
67 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
68
69 section.left= 19;
70 row.left= 1;
71 key.shape= "NORM";
72 key.gap= 1;
73 section "Function" {
74 top= 22;
75 row {
76 top= 1;
77 keys { { <ESC>, color="grey20" },
78 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
79 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
80 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
81 { <PRSC>, 8 }, <SCLK>, <PAUS>
82 };
83 };
84 }; // End of "Function" section
85
86 section "Alpha" {
87 top= 61;
88 row {
89 top= 1;
90 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
91 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
92 <AE10>, <AE11>, <AE12>,
93 { <BKSP>, "BKSP", color="grey20" }
94 };
95 };
96 row {
97 top= 20;
98 keys { { <TAB>, "TABK", color="grey20" },
99 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
100 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
101 <AD11>, <AD12>, { <BKSL>, "BKSL" }
102 };
103 };
104 row {
105 top= 39;
106 keys { { <CAPS>, "CAPS", color="grey20" },
107 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
108 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
109 <AC11>, { <RTRN>, "RTRN", color="grey20" }
110 };
111 };
112 row {
113 top= 58;
114 keys { { <LFSH>, "LFSH", color="grey20" },
115 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
116 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
117 { <RTSH>, "RTSH", color="grey20" }
118 };
119 };
120 row {
121 top= 77;
122 key.shape= "MODK";
123 key.color= "grey20";
124 keys { <LCTL>, { <LALT>, 21 },
125 { <SPCE>, "SPCE", color="white" },
126 <RALT>, { <RCTL>, 21 }
127 };
128 };
129 }; // End of "Alpha" section
130
131 section "Editing" {
132 top= 61;
133 left= 312;
134 key.color= "grey20";
135 row {
136 top= 1;
137 keys { <INS>, <HOME>, <PGUP> };
138 };
139 row {
140 top= 20;
141 keys { <DELE>, <END>, <PGDN> };
142 };
143 row {
144 top= 58;
145 left= 20;
146 keys { <UP> };
147 };
148 row {
149 top= 77;
150 keys { <LEFT>, <DOWN>, <RGHT> };
151 };
152 }; // End of "Editing" section
153
154 section "Keypad" {
155 top= 61;
156 left= 376;
157 row {
158 top= 1;
159 key.color= "grey20";
160 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
161 };
162 row {
163 top= 20;
164 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
165 };
166 row {
167 top= 39;
168 keys { <KP4>, <KP5>, <KP6> };
169 };
170 row {
171 top= 58;
172 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
173 };
174 row {
175 top= 77;
176 keys { { <KP0>, "KP0" }, <KPDL> };
177 };
178 }; // End of "Keypad" section
179
180 alias <AC00> = <CAPS>;
181 alias <AA00> = <LCTL>;
182
183 }; // End of "default" geometry
184
185 xkb_geometry "pc102" {
186
187 description= "Generic 102";
188 width= 470;
189 height= 180;
190
191 shape.cornerRadius= 1;
192 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
193 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
194 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
195 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
196 shape "RTRN" {
197 { [0,0], [28,0], [28,37], [5,37], [5,18], [0,18] },
198 { [2,1], [26,1], [26,35], [7,35], [7,16], [2,16] } };
199 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
200 shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } };
201 shape "RTSH" { { [ 50,18] }, { [2,1], [ 48,16] } };
202 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
203 shape "SPCE" { { [134,18] }, { [2,1], [132,16] } };
204 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
205 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
206
207 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
208 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
209 solid "LedPanel" {
210 shape= "LEDS";
211 top= 22;
212 left= 377;
213 color= "grey10";
214 };
215
216 indicator.onColor= "green";
217 indicator.offColor= "green30";
218 indicator.top= 37;
219 indicator.shape= "LED";
220 indicator "Num Lock" { left= 382; };
221 indicator "Caps Lock" { left= 407; };
222 indicator "Scroll Lock" { left= 433; };
223 text.top= 25;
224 text.color= "black";
225 text "NumLockLabel" { left= 378; text="Num\nLock"; };
226 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
227 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
228
229 section.left= 19;
230 row.left= 1;
231 key.shape= "NORM";
232 key.gap= 1;
233 section "Function" {
234 top= 22;
235 row {
236 top= 1;
237 keys { { <ESC>, "TABK", color="grey20" },
238 { <FK01>, 10 }, <FK02>, <FK03>, <FK04>,
239 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
240 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
241 { <PRSC>, 8 }, <SCLK>, <PAUS>
242 };
243 };
244 }; // End of "Function" section
245
246 section "Alpha" {
247 top= 61;
248 row {
249 top= 1;
250 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
251 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
252 <AE10>, <AE11>, <AE12>,
253 { <BKSP>, "BKSP", color="grey20" }
254 };
255 };
256 row {
257 top= 20;
258 keys { { <TAB>, "TABK", color="grey20" },
259 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
260 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
261 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
262 };
263 };
264 row {
265 top= 39;
266 keys { { <CAPS>, "CAPS", color="grey20" },
267 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
268 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
269 <AC11>, <BKSL>
270 };
271 };
272 row {
273 top= 58;
274 keys { { <LFSH>, "LFSH", color="grey20" },
275 <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
276 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
277 { <RTSH>, "RTSH", color="grey20" }
278 };
279 };
280 row {
281 top= 77;
282 key.shape= "MODK";
283 key.color= "grey20";
284 keys { <LCTL>, { <LALT>, 20 },
285 { <SPCE>, "SPCE", color="white" },
286 <RALT>, { <RCTL>, 21 }
287 };
288 };
289 }; // End of "Alpha" section
290
291 section "Editing" {
292 top= 61;
293 left= 312;
294 key.color= "grey20";
295 row {
296 top= 1;
297 keys { <INS>, <HOME>, <PGUP> };
298 };
299 row {
300 top= 20;
301 keys { <DELE>, <END>, <PGDN> };
302 };
303 row {
304 top= 58;
305 left= 20;
306 keys { <UP> };
307 };
308 row {
309 top= 77;
310 keys { <LEFT>, <DOWN>, <RGHT> };
311 };
312 }; // End of "Editing" section
313
314 section "Keypad" {
315 top= 61;
316 left= 376;
317 row {
318 top= 1;
319 key.color= "grey20";
320 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
321 };
322 row {
323 top= 20;
324 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
325 };
326 row {
327 top= 39;
328 keys { <KP4>, <KP5>, <KP6> };
329 };
330 row {
331 top= 58;
332 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
333 };
334 row {
335 top= 77;
336 keys { { <KP0>, "KP0" }, <KPDL> };
337 };
338 }; // End of "Keypad" section
339
340 alias <AC00> = <CAPS>;
341 alias <AA00> = <LCTL>;
342
343 }; // End of "pc102" geometry
344
345 xkb_geometry "pc104" {
346
347 description= "Generic 104";
348 width= 470;
349 height= 180;
350
351 shape.cornerRadius= 1;
352 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
353 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
354 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
355 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
356 shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
357 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
358 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
359 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
360 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
361 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
362 shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
363 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
364 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
365
366 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
367 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
368 solid "LedPanel" {
369 shape= "LEDS";
370 top= 22;
371 left= 377;
372 color= "grey10";
373 };
374
375 indicator.onColor= "green";
376 indicator.offColor= "green30";
377 indicator.top= 37;
378 indicator.shape= "LED";
379 indicator "Num Lock" { left= 382; };
380 indicator "Caps Lock" { left= 407; };
381 indicator "Scroll Lock" { left= 433; };
382 text.top= 25;
383 text.color= "black";
384 text "NumLockLabel" { left= 378; text="Num\nLock"; };
385 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
386 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
387
388 section.left= 19;
389 row.left= 1;
390 key.shape= "NORM";
391 key.gap= 1;
392 section "Function" {
393 top= 22;
394 row {
395 top= 1;
396 keys { { <ESC>, color="grey20" },
397 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
398 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
399 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
400 { <PRSC>, 8 }, <SCLK>, <PAUS>
401 };
402 };
403 }; // End of "Function" section
404
405 section "Alpha" {
406 top= 61;
407 row {
408 top= 1;
409 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
410 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
411 <AE10>, <AE11>, <AE12>,
412 { <BKSP>, "BKSP", color="grey20" }
413 };
414 };
415 row {
416 top= 20;
417 keys { { <TAB>, "TABK", color="grey20" },
418 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
419 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
420 <AD11>, <AD12>, { <BKSL>, "BKSL" }
421 };
422 };
423 row {
424 top= 39;
425 keys { { <CAPS>, "CAPS", color="grey20" },
426 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
427 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
428 <AC11>, { <RTRN>, "RTRN", color="grey20" }
429 };
430 };
431 row {
432 top= 58;
433 keys { { <LFSH>, "LFSH", color="grey20" },
434 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
435 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
436 { <RTSH>, "RTSH", color="grey20" }
437 };
438 };
439 row {
440 top= 77;
441 key.shape= "SMOD";
442 key.color= "grey20";
443 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
444 { <SPCE>, "SPCE", color="white" },
445 <RALT>, <RWIN>, <MENU>, <RCTL>
446 };
447 };
448 }; // End of "Alpha" section
449
450 section "Editing" {
451 top= 61;
452 left= 312;
453 key.color= "grey20";
454 row {
455 top= 1;
456 keys { <INS>, <HOME>, <PGUP> };
457 };
458 row {
459 top= 20;
460 keys { <DELE>, <END>, <PGDN> };
461 };
462 row {
463 top= 58;
464 left= 20;
465 keys { <UP> };
466 };
467 row {
468 top= 77;
469 keys { <LEFT>, <DOWN>, <RGHT> };
470 };
471 }; // End of "Editing" section
472
473 section "Keypad" {
474 top= 61;
475 left= 376;
476 row {
477 top= 1;
478 key.color= "grey20";
479 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
480 };
481 row {
482 top= 20;
483 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
484 };
485 row {
486 top= 39;
487 keys { <KP4>, <KP5>, <KP6> };
488 };
489 row {
490 top= 58;
491 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
492 };
493 row {
494 top= 77;
495 keys { { <KP0>, "KP0" }, <KPDL> };
496 };
497 }; // End of "Keypad" section
498
499 alias <AC00> = <CAPS>;
500 alias <AA00> = <LCTL>;
501
502 }; // End of "pc104" geometry
503
504 xkb_geometry "pc105" {
505
506 description= "Generic 105";
507 width= 470;
508 height= 180;
509
510 shape.cornerRadius= 1;
511
512 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
513 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
514 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
515 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
516 shape "RTRN" {
517 { [0,0], [28,0], [28,37], [5,37], [5,18], [0,18] } ,
518 { [2,1], [26,1], [26,35], [7,35], [7,16], [2,16] } ,
519 approx = { [5,0], [28,37] } };
520 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
521 shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } };
522 shape "RTSH" { { [ 50,18] }, { [2,1], [ 48,16] } };
523 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
524 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
525 shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
526 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
527 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
528
529 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
530 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
531 solid "LedPanel" {
532 shape= "LEDS";
533 top= 22;
534 left= 377;
535 color= "grey10";
536 };
537
538 indicator.onColor= "green";
539 indicator.offColor= "green30";
540 indicator.top= 37;
541 indicator.shape= "LED";
542 indicator "Num Lock" { left= 382; };
543 indicator "Caps Lock" { left= 407; };
544 indicator "Scroll Lock" { left= 433; };
545 text.top= 25;
546 text.color= "black";
547 text "NumLockLabel" { left= 378; text="Num\nLock"; };
548 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
549 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
550
551 section.left= 19;
552 row.left= 1;
553 key.shape= "NORM";
554 key.gap= 1;
555 section "Function" {
556 top= 22;
557 row {
558 top= 1;
559 keys { { <ESC>, color="grey20" },
560 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
561 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
562 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
563 { <PRSC>, 8 }, <SCLK>, <PAUS>
564 };
565 };
566 }; // End of "Function" section
567
568 section "Alpha" {
569 top= 61;
570 row {
571 top= 1;
572 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
573 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
574 <AE10>, <AE11>, <AE12>,
575 { <BKSP>, "BKSP", color="grey20" }
576 };
577 };
578 row {
579 top= 20;
580 keys { { <TAB>, "TABK", color="grey20" },
581 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
582 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
583 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
584 };
585 };
586 row {
587 top= 39;
588 keys { { <CAPS>, "CAPS", color="grey20" },
589 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
590 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
591 <AC11>, <BKSL>
592 };
593 };
594 row {
595 top= 58;
596 keys { { <LFSH>, "LFSH", color="grey20" },
597 <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
598 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
599 { <RTSH>, "RTSH", color="grey20" }
600 };
601 };
602 row {
603 top= 77;
604 key.shape= "SMOD";
605 key.color= "grey20";
606 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
607 { <SPCE>, "SPCE", color="white" },
608 <RALT>, <RWIN>, <MENU>, <RCTL>
609 };
610 };
611 }; // End of "Alpha" section
612
613 section "Editing" {
614 top= 61;
615 left= 312;
616 key.color= "grey20";
617 row {
618 top= 1;
619 keys { <INS>, <HOME>, <PGUP> };
620 };
621 row {
622 top= 20;
623 keys { <DELE>, <END>, <PGDN> };
624 };
625 row {
626 top= 58;
627 left= 20;
628 keys { <UP> };
629 };
630 row {
631 top= 77;
632 keys { <LEFT>, <DOWN>, <RGHT> };
633 };
634 }; // End of "Editing" section
635
636 section "Keypad" {
637 top= 61;
638 left= 376;
639 row {
640 top= 1;
641 key.color= "grey20";
642 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
643 };
644 row {
645 top= 20;
646 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
647 };
648 row {
649 top= 39;
650 keys { <KP4>, <KP5>, <KP6> };
651 };
652 row {
653 top= 58;
654 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
655 };
656 row {
657 top= 77;
658 keys { { <KP0>, "KP0" }, <KPDL> };
659 };
660 }; // End of "Keypad" section
661
662 alias <AC00> = <CAPS>;
663 alias <AA00> = <LCTL>;
664
665 }; // End of "pc105" geometry
666
667
668 // Added for Japanese 106 keyboard by <tsuka(at)kawalab.dnj.ynu.ac.jp>.
669 xkb_geometry "jp106" {
670
671 description= "Japanese 106";
672 width= 470;
673 height= 180;
674
675 shape.cornerRadius= 1;
676 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
677 shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
678 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
679 shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } };
680 shape "RTRN" {
681 { [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } ,
682 { [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } };
683 shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
684 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
685 shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } };
686 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
687 shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } };
688 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
689 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
690
691 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
692 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
693 solid "LedPanel" {
694 shape= "LEDS";
695 top= 25;
696 left= 375;
697 color= "grey10";
698 };
699
700 indicator.onColor= "green";
701 indicator.offColor= "green30";
702 indicator.top= 40;
703 indicator.shape= "LED";
704 indicator "Num Lock" { left= 379; };
705 indicator "Caps Lock" { left= 404; };
706 indicator "Scroll Lock" { left= 429; };
707 text.top= 28;
708 text.color= "black";
709 text "NumLockLabel" { left= 378; text="Num\nLock"; };
710 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
711 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
712
713 section.left= 19;
714 row.left= 1;
715 key.shape= "NORM";
716 key.gap= 1;
717 section "Function" {
718 top= 25;
719 row {
720 top= 1;
721 keys { { <ESC>, color="grey20" },
722 { <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
723 { <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"},
724 { <FK07>, color="grey20"}, {<FK08>,color="grey20"},
725 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
726 { <PRSC>, 8 }, <SCLK>, <PAUS>
727 };
728 };
729 }; // End of "Function" section
730
731 section "Alpha" {
732 top= 61;
733 row {
734 top= 1;
735 keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>,
736 <AE03>, <AE04>, <AE05>, <AE06>, <AE07>,
737 <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
738 <AE13>, { <BKSP>, "BKSP", color="grey20" }
739 };
740 };
741 row {
742 top= 20;
743 keys { { <TAB>, "TABK", color="grey20" },
744 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
745 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
746 <AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" }
747 };
748 };
749 row {
750 top= 39;
751 keys { { <CAPS>, "CAPS", color="grey20" },
752 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
753 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
754 <AC11>, <AC12>
755 };
756 };
757 row {
758 top= 58;
759 keys { { <LFSH>, "LFSH", color="grey20" },
760 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
761 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
762 <AB11>, { <RTSH>, "RTSH", color="grey20" }
763 };
764 };
765 row {
766 top= 77;
767 key.shape= "MODK";
768 key.color= "grey20";
769 keys { <LCTL>, { <LALT>, 20 },<NFER>,
770 { <SPCE>, "SPCE", color="white" },
771 <XFER>,<HKTG>,<RALT>, { <RCTL>, 17 }
772 };
773 };
774 }; // End of "Alpha" section
775
776 section "Editing" {
777 top= 61;
778 left= 310;
779 key.color= "grey20";
780 row {
781 top= 1;
782 keys { <INS>, <HOME>, <PGUP> };
783 };
784 row {
785 top= 20;
786 keys { <DELE>, <END>, <PGDN> };
787 };
788 row {
789 top= 58;
790 left= 20;
791 keys { <UP> };
792 };
793 row {
794 top= 77;
795 keys { <LEFT>, <DOWN>, <RGHT> };
796 };
797 }; // End of "Editing" section
798
799 section "Keypad" {
800 top= 61;
801 left= 375;
802 row {
803 top= 1;
804 key.color= "grey20";
805 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
806 };
807 row {
808 top= 20;
809 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
810 };
811 row {
812 top= 39;
813 keys { <KP4>, <KP5>, <KP6> };
814 };
815 row {
816 top= 58;
817 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
818 };
819 row {
820 top= 77;
821 keys { { <KP0>, "KP0" }, <KPDL> };
822 };
823 }; // End of "Keypad" section
824
825 alias <AC00> = <CAPS>;
826 alias <AA00> = <LCTL>;
827
828 }; // End of "jp106" geometry
829
830 // Added for Brazilian ABNT2 by Ricardo Y. Igarashi <iga(at)that.com.br>.
831 xkb_geometry "abnt2" {
832 include "pc(pc105)"
833
834 description= "Brazilian ABNT2";
835
836 shape "RTRN" {
837 { [0,0],[ 28,0],[28,37],[4,37],[4,18],[0,18] } ,
838 { [2,1],[ 26,1],[26,36],[5,36],[5,18],[2,18] } };
839 shape "RTSH" { { [ 31,18] }, { [2,1], [ 29,16] } };
840
841 section.left= 19;
842 row.left= 1;
843 key.shape= "NORM";
844 key.gap= 1;
845 section "Alpha" {
846 top= 61;
847 row {
848 top= 20;
849 keys { { <TAB>, "TABK", color="grey20" },
850 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
851 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
852 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
853 };
854 };
855 row {
856 top= 39;
857 keys { { <CAPS>, "CAPS", color="grey20" },
858 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
859 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
860 <AC11>, <BKSL>
861 };
862 };
863 row {
864 top= 58;
865 keys { { <LFSH>, "LFSH", color="grey20" },
866 <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
867 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
868 { <RTSH>, "RTSH", color="grey20" }
869 };
870 };
871 }; // End of "Alpha" section
872
873 section "Keypad" {
874 top= 61;
875 left= 376;
876 row {
877 top= 20;
878 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, color="grey20" } };
879 };
880 row {
881 top= 39;
882 keys { <KP4>, <KP5>, <KP6>, { <KPPT>, color="grey20" } };
883 };
884 }; // End of "Keypad" section
885
886 }; // End of "abnt2" geometry
887
888
889 // Created by Alexander Pohoyda <alexander.pohoyda (a] gmx.net>
890
891 xkb_geometry "pc86" {
892 description = "Noname keyboard with 86 keys, DE";
893 width = 287;
894 height = 143;
895 baseColor = "grey20";
896
897 shape "EDGE" { cornerRadius = 2, { [287, 143] } };
898 shape "LED" { cornerRadius = 2, { [3, 3] } };
899 shape "LEDS" { cornerRadius = 0, { [75, 5] } };
900 shape "KEYS" { cornerRadius = 0, { [271, 109] } };
901
902 outline "Edges" {
903 top = 0;
904 left = 0;
905 shape = "EDGE";
906 color = "black";
907 };
908
909 solid "KeyPanel" {
910 shape = "KEYS";
911 left = 8;
912 top = 22;
913 color = "grey70";
914 };
915
916 solid "LedPanel" {
917 shape = "LEDS";
918 left = 212;
919 top = 10;
920 color = "black";
921 };
922
923 indicator.onColor = "green";
924 indicator.offColor = "green30";
925 indicator.top = 11;
926 indicator.shape = "LED";
927 indicator "Num Lock" { left = 212 + 7; };
928 indicator "Caps Lock" { left = 212 + 23; };
929 indicator "Scroll Lock" { left = 212 + 39; };
930 text.fontSize = 6;
931 text.top = 10;
932 text.color = "white";
933 text "NumLockLabel" { left = 212 + 7 + 5; text = "Num\nLock"; };
934 text "CapsLockLabel" { left = 212 + 23 + 5; text = "Caps\nLock"; };
935 text "ScrollLockLabel" { left = 212 + 39 + 5; text = "Scroll\nLock"; };
936
937 shape.cornerRadius = 1;
938 shape "SMALL" { { [15, 12] }, { [1.5, 0], [13.5, 10] } };
939 shape "NARR" { { [13, 18] }, { [1.5, 0], [11.5, 14] } };
940 shape "NORM" { { [18, 18] }, { [3, 0], [15, 14] } };
941 shape "NORM_1" { { [22, 18] }, { [4, 0], [22, 18] },
942 { [7, 0], [19, 14] } };
943 shape "WIDER" { { [23, 18] }, { [3, 0], [20, 14] } };
944 shape "WIDEST" { { [27, 18] }, { [3, 0], [24, 14] } };
945 shape "SPCE" { { [75, 18] }, { [3, 0], [72, 14] } };
946
947 section "Function" {
948 key.shape = "SMALL";
949 key.gap = 0.99;
950 key.color = "grey30";
951 left = 8;
952 top = 22;
953 row {
954 top = 1;
955 keys { <ESC>,
956 <FK01>, <FK02>, <FK03>, <FK04>,
957 <FK05>, <FK06>, <FK07>, <FK08>,
958 <FK09>, <FK10>, <FK11>, <FK12>,
959 <NMLK>, <PRSC>, <SCLK>, <PAUS>
960 };
961 };
962 }; // End of "Function" section
963
964 section "Control" {
965 key.shape = "NORM";
966 key.gap = 1;
967 key.color = "grey30";
968 left = 8;
969 top = 111;
970 row {
971 top = 1;
972 keys { <LCTL>, <FN>, <LALT>,
973 { <SPCE>, shape="SPCE", 39 }, <RALT>,
974 <INS>, <DELE>
975 };
976 };
977 }; // End of "Control" section
978
979 section "Editing" {
980 key.shape = "NARR";
981 key.gap = 1;
982 key.color = "grey30";
983 left = 265;
984 top = 34;
985 row.vertical = True;
986 row {
987 top = 1;
988 keys { <HOME>, <PGUP>, <PGDN>, <END> };
989 };
990 }; // End of "Editing" section
991
992 section "Navigation" {
993 key.gap = 1;
994 key.shape = "NARR";
995 key.color = "grey30";
996 left = 236;
997 top = 92;
998 row {
999 left = 14;
1000 top = 1;
1001 keys { <UP> };
1002 };
1003 row {
1004 top = 20;
1005 keys { <LEFT>, <DOWN>, <RGHT> };
1006 };
1007 }; // End of "Navigation" section
1008
1009 section "Alpha" {
1010 key.gap = 1;
1011 key.shape = "NORM";
1012 key.color = "grey10";
1013 left = 8;
1014 top = 35;
1015 row {
1016 top = 1;
1017 keys { { <AE01>, shape="NORM_1" }, <AE02>, <AE03>, <AE04>,
1018 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
1019 <AE10>, <AE11>, <AE12>,
1020 { <BKSP>, shape="WIDER", color="grey30" }
1021 };
1022 };
1023 row {
1024 top = 20;
1025 keys { { <TAB>, shape="NARR", color="grey30" },
1026 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1027 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
1028 <AD11>, <AD12>, { <AD13>, shape="NARR" }
1029 };
1030 };
1031 row {
1032 top = 39;
1033 keys { { <CAPS>, color="grey30" },
1034 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1035 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
1036 <AC11>, { <RTRN>, shape="WIDEST", color="grey30" }
1037 };
1038 };
1039 row {
1040 top = 58;
1041 keys { { <LFSH>, shape="WIDEST", color="grey30" },
1042 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
1043 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
1044 { <RTSH>, shape="WIDER", color="grey30" }
1045 };
1046 };
1047 row {
1048 left = 57;
1049 top = 77;
1050 keys { <AE00>, <LSGT> };
1051 };
1052 }; // End of "Alpha" section
1053
1054 alias <AC00> = <CAPS>;
1055 alias <AA00> = <LCTL>;
1056 }; // End of "pc86" geometry
1057
1058 xkb_geometry "kr106" {
1059
1060 description= "Korean 106";
1061 width= 470;
1062 height= 180;
1063
1064 shape.cornerRadius= 1;
1065 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
1066 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
1067 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
1068 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
1069 shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
1070 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
1071 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
1072 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
1073 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
1074 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
1075 shape "SPCE" { { [ 75,18] }, { [2,1], [ 73,16] } };
1076 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
1077 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
1078
1079 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
1080 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
1081 solid "LedPanel" {
1082 shape= "LEDS";
1083 top= 22;
1084 left= 377;
1085 color= "grey10";
1086 };
1087
1088 indicator.onColor= "green";
1089 indicator.offColor= "green30";
1090 indicator.top= 37;
1091 indicator.shape= "LED";
1092 indicator "Num Lock" { left= 382; };
1093 indicator "Caps Lock" { left= 407; };
1094 indicator "Scroll Lock" { left= 433; };
1095 text.top= 25;
1096 text.color= "black";
1097 text "NumLockLabel" { left= 378; text="Num\nLock"; };
1098 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
1099 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
1100
1101 section.left= 19;
1102 row.left= 1;
1103 key.shape= "NORM";
1104 key.gap= 1;
1105 section "Function" {
1106 top= 22;
1107 row {
1108 top= 1;
1109 keys { { <ESC>, color="grey20" },
1110 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
1111 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
1112 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
1113 { <PRSC>, 8 }, <SCLK>, <PAUS>
1114 };
1115 };
1116 }; // End of "Function" section
1117
1118 section "Alpha" {
1119 top= 61;
1120 row {
1121 top= 1;
1122 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
1123 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
1124 <AE10>, <AE11>, <AE12>,
1125 { <BKSP>, "BKSP", color="grey20" }
1126 };
1127 };
1128 row {
1129 top= 20;
1130 keys { { <TAB>, "TABK", color="grey20" },
1131 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1132 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
1133 <AD11>, <AD12>, { <BKSL>, "BKSL" }
1134 };
1135 };
1136 row {
1137 top= 39;
1138 keys { { <CAPS>, "CAPS", color="grey20" },
1139 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1140 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
1141 <AC11>, { <RTRN>, "RTRN", color="grey20" }
1142 };
1143 };
1144 row {
1145 top= 58;
1146 keys { { <LFSH>, "LFSH", color="grey20" },
1147 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
1148 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
1149 { <RTSH>, "RTSH", color="grey20" }
1150 };
1151 };
1152 row {
1153 top= 77;
1154 key.shape= "SMOD";
1155 key.color= "grey20";
1156 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
1157 { <K71>, "NORM", color="white" },
1158 { <SPCE>, "SPCE", color="white" },
1159 { <K72>, "NORM", color="white" },
1160 <RALT>, <RWIN>, <MENU>, <RCTL>
1161 };
1162 };
1163 }; // End of "Alpha" section
1164
1165 section "Editing" {
1166 top= 61;
1167 left= 312;
1168 key.color= "grey20";
1169 row {
1170 top= 1;
1171 keys { <INS>, <HOME>, <PGUP> };
1172 };
1173 row {
1174 top= 20;
1175 keys { <DELE>, <END>, <PGDN> };
1176 };
1177 row {
1178 top= 58;
1179 left= 20;
1180 keys { <UP> };
1181 };
1182 row {
1183 top= 77;
1184 keys { <LEFT>, <DOWN>, <RGHT> };
1185 };
1186 }; // End of "Editing" section
1187
1188 section "Keypad" {
1189 top= 61;
1190 left= 376;
1191 row {
1192 top= 1;
1193 key.color= "grey20";
1194 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
1195 };
1196 row {
1197 top= 20;
1198 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
1199 };
1200 row {
1201 top= 39;
1202 keys { <KP4>, <KP5>, <KP6> };
1203 };
1204 row {
1205 top= 58;
1206 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
1207 };
1208 row {
1209 top= 77;
1210 keys { { <KP0>, "KP0" }, <KPDL> };
1211 };
1212 }; // End of "Keypad" section
1213
1214 alias <AC00> = <CAPS>;
1215 alias <AA00> = <LCTL>;
1216
1217 }; // End of "kr106" geometry
1218
1219 // Based on the pc(pc105) layout. The keypad, sysreq/ScrLk/Break, and multimedia
1220 // keys are not shown because they are shared with other keys via the <FN> key.
1221 // This should not be a problem if the normal symbols are used, as the keys will
1222 // show through normally, they just won't show from xkbprint. For the record,
1223 // <FN>+<PGUP> = AudioRaise,
1224 // <FN>+<PGDN> = AudioLower,
1225 // <FN>+<END> = AudioMute,
1226 // <FN>+<PRSC> = Sysreq,
1227 // <FN>+<NMLK> = ScrollLock,
1228 // <FN>+<BREAK> = <PAUS>,
1229 // <FN>+7 = KP_7,
1230 // <FN>+8 = KP_8,
1231 // <FN>+9 = KP_9,
1232 // <FN>+0 = KP_MUL,
1233 // <FN>+U = KP_4,
1234 // <FN>+I = KP_5,
1235 // <FN>+O = KP_6,
1236 // <FN>+P = KP_SUB,
1237 // <FN>+J = KP_1,
1238 // <FN>+K = KP_2,
1239 // <FN>+L = KP_3,
1240 // <FN>+; = KP_ADD,
1241 // <FN>+M = KP_INS,
1242 // <FN>+. = KP_DEL,
1243 // <FN>+/ = KP_DIV.
1244 // The other FN combinations aren't passed to X, but are handled by BIOS.
1245 // <FN> and all keys with <FN> level mappings are marked in grey20.
1246 //
1247 // David Cameron Staples <staples (a] cs.mu.oz.au> 2006-05-12
1248
1249 xkb_geometry "latitude" {
1250
1251 description= "Dell Latitude";
1252 width= 330;
1253 height= 210;
1254
1255 shape.cornerRadius= 1;
1256 shape "NORM" { { [ 18 ,18] }, { [2,1 ], [ 16,16] } };
1257 shape "FUNC" { { [ 16.2,12] }, { [2,0.5], [ 14,10] } };
1258 shape "ESC" { { [ 18 ,12] }, { [2,0.5], [ 16,10] } };
1259 shape "BKSP" { { [ 38 ,18] }, { [2,1 ], [ 36,16] } };
1260 shape "TABK" { { [ 28 ,18] }, { [2,1 ], [ 26,16] } };
1261 shape "BKSL" { { [ 28 ,18] }, { [2,1 ], [ 26,16] } };
1262 shape "RTRN" { { [ 42 ,18] }, { [2,1 ], [ 40,16] } };
1263 shape "CAPS" { { [ 33 ,18] }, { [2,1 ], [ 26,16] } };
1264 shape "LFSH" { { [ 42 ,18] }, { [2,1 ], [ 40,16] } };
1265 shape "RTSH" { { [ 52 ,18] }, { [2,1 ], [ 50,16] } };
1266 shape "SPCE" { { [ 95 ,18] }, { [2,1 ], [ 93,16] } };
1267 shape "LCTL" { { [ 28 ,14] }, { [2,1 ], [ 26,12] } };
1268 shape "LALT" { { [ 22 ,14] }, { [2,1 ], [ 20,12] } };
1269 shape "WIN" { { [ 18 ,14] }, { [2,1 ], [ 16,12] } };
1270
1271 shape "LED" { cornerRadius= 0.5, { [ 1, 3 ] } };
1272
1273 indicator.onColor= "green";
1274 indicator.offColor= "green30";
1275 indicator.top= 37;
1276 indicator.shape= "LED";
1277 indicator "Num Lock" { left= 138; };
1278 indicator "Caps Lock" { left= 150; };
1279 indicator "Scroll Lock" { left= 162; };
1280 text.top= 33;
1281 text.color= "black";
1282 text "NumLockLabel" { left= 140; text="Num\nLock"; };
1283 text "CapsLockLabel" { left= 152; text="Caps\nLock"; };
1284 text "ScrollLockLabel" { left= 164; text="Scroll\nLock"; };
1285
1286 text "LATITUDE" { left= 19; text="L A T I T U D E"; };
1287
1288 section.left= 19;
1289 row.left= 1;
1290 key.shape= "NORM";
1291 key.gap= 1;
1292 section "Function" {
1293 top= 32;
1294 key.shape= "FUNC";
1295 key.color= "grey20";
1296 row {
1297 top= 1;
1298 left= 163.8;
1299 keys { { <MENU>, color="white" }, <PRSC>, <NMLK>, <PAUS>,
1300 { <INS>, 3, color="white" },
1301 { <HOME>, color="white"}, <PGUP>
1302 };
1303 };
1304 row {
1305 top= 14;
1306 keys { { <ESC>, "ESC" },
1307 { <FK01>, 3 },
1308 { <FK02>, color="white" }, <FK03>,
1309 { <FK04>, color="white" },
1310 { <FK05>, 3 },
1311 { <FK06>, color="white" }, <FK07>, <FK08>,
1312 { <FK09>, 3, color="white" }, <FK10>,
1313 { <FK11>, color="white" },
1314 { <FK12>, color="white" },
1315 { <DELE>, 3, color="white" }, <END>, <PGDN>
1316 };
1317 };
1318 }; // End of "Function" section
1319
1320 section "Alpha" {
1321 top= 60;
1322 row {
1323 top= 1;
1324 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
1325 <AE05>, <AE06>,
1326 { <AE07>, color="grey20" },
1327 { <AE08>, color="grey20" },
1328 { <AE09>, color="grey20" },
1329 { <AE10>, color="grey20" }, <AE11>, <AE12>,
1330 { <BKSP>, "BKSP" }
1331 };
1332 };
1333 row {
1334 top= 20;
1335 keys { { <TAB>, "TABK" },
1336 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1337 <AD06>,
1338 { <AD07>, color="grey20" },
1339 { <AD08>, color="grey20" },
1340 { <AD09>, color="grey20" },
1341 { <AD10>, color="grey20" },
1342 <AD11>, <AD12>, { <BKSL>, "BKSL" }
1343 };
1344 };
1345 row {
1346 top= 39;
1347 keys { { <CAPS>, "CAPS" },
1348 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1349 <AC06>,
1350 { <AC07>, color="grey20" },
1351 { <AC08>, color="grey20" },
1352 { <AC09>, color="grey20" },
1353 { <AC10>, color="grey20" },
1354 <AC11>, { <RTRN>, "RTRN" }
1355 };
1356 };
1357 row {
1358 top= 58;
1359 keys { { <LFSH>, "LFSH" },
1360 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
1361 <AB06>,
1362 { <AB07>, color="grey20" }, <AB08>,
1363 { <AB09>, color="grey20" },
1364 { <AB10>, color="grey20" },
1365 { <RTSH>, "RTSH" }
1366 };
1367 };
1368 row {
1369 top= 77;
1370 key.shape= "WIN";
1371 keys { { <LCTL>, "LCTL" },
1372 { <FN>, color="grey20" },
1373 <LWIN>,
1374 { <LALT>, "LALT" },
1375 { <SPCE>, "SPCE" },
1376 <RALT>,
1377 { <RCTL>, "LALT" }
1378 };
1379 };
1380 }; // End of "Alpha" section
1381
1382 section "Editing" {
1383 top= 136;
1384 left= 250;
1385 key.shape= "FUNC";
1386 key.color= "grey20";
1387 row {
1388 top= 1;
1389 left= 18.2;
1390 keys { <UP> };
1391 };
1392 row {
1393 top= 14;
1394 keys { <LEFT>, <DOWN>, <RGHT> };
1395 };
1396 }; // End of "Editing" section
1397
1398 alias <AC00> = <CAPS>;
1399 alias <AA00> = <LCTL>;
1400
1401 }; // End of "latitude" geometry
1402
1403 xkb_geometry "pc104alt" {
1404
1405 description= "Generic 104 with L-shaped Enter and small Backspace with Backslash left to it";
1406 width= 470;
1407 height= 210;
1408
1409 shape.cornerRadius= 1;
1410 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
1411 shape "BKSP" { { [ 19,18] }, { [2,1], [ 17,16] } };
1412 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
1413 // shape "RTRN" { { [ 0,19 ], [ 0,37 ], [ 42,37 ], [ 42,0 ], [ 14,0 ], [ 14,19 ] },
1414 // { [ 2,20 ], [ 2,35 ], [ 40,35 ], [ 40,1 ], [ 16,1 ], [ 16,20 ] },
1415 // approx = { [ 17,21 ], [ 39,34 ] }
1416 // };
1417 shape "RTRN" { { [ -14,19 ], [ -14,37 ], [ 28,37 ], [ 28,0 ], [ 0,0 ], [ 0,19 ] },
1418 { [ -12,20 ], [ -12,35 ], [ 26,35 ], [ 26,1 ], [ 2,1 ], [ 2,20 ] },
1419 approx = { [ 3,21 ], [ 25,34 ] }
1420 };
1421 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
1422 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
1423 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
1424 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
1425 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
1426 shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
1427 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
1428 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
1429
1430 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
1431 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
1432 solid "LedPanel" {
1433 shape= "LEDS";
1434 top= 52;
1435 left= 377;
1436 color= "grey10";
1437 };
1438
1439 indicator.onColor= "green";
1440 indicator.offColor= "green30";
1441 indicator.top= 67;
1442 indicator.shape= "LED";
1443 indicator "Num Lock" { left= 382; };
1444 indicator "Caps Lock" { left= 407; };
1445 indicator "Scroll Lock" { left= 433; };
1446 text.top= 55;
1447 text.color= "black";
1448 text "NumLockLabel" { left= 378; text="Num\nLock"; };
1449 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
1450 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
1451
1452 section.left= 19;
1453 row.left= 1;
1454 key.shape= "NORM";
1455 key.gap= 1;
1456 section "Function" {
1457 top= 52;
1458 row {
1459 top= 1;
1460 keys { { <ESC>, color="grey20" },
1461 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
1462 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
1463 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
1464 { <PRSC>, 8 }, <SCLK>, <PAUS>
1465 };
1466 };
1467 }; // End of "Function" section
1468
1469 section "Alpha" {
1470 top= 91;
1471 row {
1472 top= 1;
1473 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
1474 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
1475 <AE10>, <AE11>, <AE12>, <BKSL>,
1476 { <BKSP>, "BKSP", color="grey20" }
1477 };
1478 };
1479 row {
1480 top= 20;
1481 keys { { <TAB>, "TABK", color="grey20" },
1482 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1483 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
1484 // <AD11>, <AD12>, { <RTRN>, -13, "RTRN", color="grey20" }
1485 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
1486 };
1487 };
1488 row {
1489 top= 39;
1490 keys { { <CAPS>, "CAPS", color="grey20" },
1491 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1492 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
1493 <AC11>
1494 };
1495 };
1496 row {
1497 top= 58;
1498 keys { { <LFSH>, "LFSH", color="grey20" },
1499 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
1500 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
1501 { <RTSH>, "RTSH", color="grey20" }
1502 };
1503 };
1504 row {
1505 top= 77;
1506 key.shape= "SMOD";
1507 key.color= "grey20";
1508 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
1509 { <SPCE>, "SPCE", color="white" },
1510 <RALT>, <RWIN>, <MENU>, <RCTL>
1511 };
1512 };
1513 }; // End of "Alpha" section
1514
1515 section "Editing" {
1516 top= 91;
1517 left= 312;
1518 key.color= "grey20";
1519 row {
1520 top= 1;
1521 keys { <INS>, <HOME>, <PGUP> };
1522 };
1523 row {
1524 top= 20;
1525 keys { <DELE>, <END>, <PGDN> };
1526 };
1527 row {
1528 top= 58;
1529 left= 20;
1530 keys { <UP> };
1531 };
1532 row {
1533 top= 77;
1534 keys { <LEFT>, <DOWN>, <RGHT> };
1535 };
1536 }; // End of "Editing" section
1537
1538 section "Keypad" {
1539 top= 91;
1540 left= 376;
1541 row {
1542 top= 1;
1543 key.color= "grey20";
1544 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
1545 };
1546 row {
1547 top= 20;
1548 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
1549 };
1550 row {
1551 top= 39;
1552 keys { <KP4>, <KP5>, <KP6> };
1553 };
1554 row {
1555 top= 58;
1556 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
1557 };
1558 row {
1559 top= 77;
1560 keys { { <KP0>, "KP0" }, <KPDL> };
1561 };
1562 }; // End of "Keypad" section
1563
1564 alias <AC00> = <CAPS>;
1565 alias <AA00> = <LCTL>;
1566
1567 }; // End of "pc104alt" geometry
1568