1 // $Xorg: pc,v 1.4 2001/02/09 02:05:50 xorgcvs Exp $
3 //Copyright 1996, 1998 The Open Group
5 //Permission to use, copy, modify, distribute, and sell this software and its
6 //documentation for any purpose is hereby granted without fee, provided that
7 //the above copyright notice appear in all copies and that both that
8 //copyright notice and this permission notice appear in supporting
11 //The above copyright notice and this permission notice shall be
12 //included in all copies or substantial portions of the Software.
14 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
18 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 //OTHER DEALINGS IN THE SOFTWARE.
22 //Except as contained in this notice, the name of The Open Group shall
23 //not be used in advertising or otherwise to promote the sale, use or
24 //other dealings in this Software without prior written authorization
25 //from The Open Group.
27 // $XFree86: xc/programs/xkbcomp/geometry/pc,v 3.14 2003/08/09 14:30:47 pascal Exp $
29 default xkb_geometry "pc101" {
31 description= "Generic 101";
35 shape.cornerRadius= 1;
36 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
37 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
38 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
39 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
40 shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
41 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
42 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
43 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
44 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
45 shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
46 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
47 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
49 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
50 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
58 indicator.onColor= "green";
59 indicator.offColor= "green30";
61 indicator.shape= "LED";
62 indicator "Num Lock" { left= 382; };
63 indicator "Caps Lock" { left= 407; };
64 indicator "Scroll Lock" { left= 433; };
67 text "NumLockLabel" { left= 378; text="Num\nLock"; };
68 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
69 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
79 keys { { <ESC>, color="grey20" },
80 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
81 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
82 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
83 { <PRSC>, 8 }, <SCLK>, <PAUS>
86 }; // End of "Function" section
92 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
93 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
94 <AE10>, <AE11>, <AE12>,
95 { <BKSP>, "BKSP", color="grey20" }
100 keys { { <TAB>, "TABK", color="grey20" },
101 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
102 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
103 <AD11>, <AD12>, { <BKSL>, "BKSL" }
108 keys { { <CAPS>, "CAPS", color="grey20" },
109 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
110 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
111 <AC11>, { <RTRN>, "RTRN", color="grey20" }
116 keys { { <LFSH>, "LFSH", color="grey20" },
117 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
118 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
119 { <RTSH>, "RTSH", color="grey20" }
126 keys { <LCTL>, { <LALT>, 21 },
127 { <SPCE>, "SPCE", color="white" },
128 <RALT>, { <RCTL>, 21 }
131 }; // End of "Alpha" section
139 keys { <INS>, <HOME>, <PGUP> };
143 keys { <DELE>, <END>, <PGDN> };
152 keys { <LEFT>, <DOWN>, <RGHT> };
154 }; // End of "Editing" section
162 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
166 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
170 keys { <KP4>, <KP5>, <KP6> };
174 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
178 keys { { <KP0>, "KP0" }, <KPDL> };
180 }; // End of "Keypad" section
182 alias <AC00> = <CAPS>;
183 alias <AA00> = <LCTL>;
185 }; // End of "default" geometry
187 xkb_geometry "pc102" {
189 description= "Generic 102";
193 shape.cornerRadius= 1;
194 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
195 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
196 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
197 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
199 { [0,0], [28,0], [28,37], [5,37], [5,18], [0,18] },
200 { [2,1], [26,1], [26,35], [7,35], [7,16], [2,16] } };
201 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
202 shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } };
203 shape "RTSH" { { [ 50,18] }, { [2,1], [ 48,16] } };
204 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
205 shape "SPCE" { { [134,18] }, { [2,1], [132,16] } };
206 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
207 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
209 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
210 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
218 indicator.onColor= "green";
219 indicator.offColor= "green30";
221 indicator.shape= "LED";
222 indicator "Num Lock" { left= 382; };
223 indicator "Caps Lock" { left= 407; };
224 indicator "Scroll Lock" { left= 433; };
227 text "NumLockLabel" { left= 378; text="Num\nLock"; };
228 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
229 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
239 keys { { <ESC>, "TABK", color="grey20" },
240 { <FK01>, 10 }, <FK02>, <FK03>, <FK04>,
241 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
242 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
243 { <PRSC>, 8 }, <SCLK>, <PAUS>
246 }; // End of "Function" section
252 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
253 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
254 <AE10>, <AE11>, <AE12>,
255 { <BKSP>, "BKSP", color="grey20" }
260 keys { { <TAB>, "TABK", color="grey20" },
261 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
262 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
263 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
268 keys { { <CAPS>, "CAPS", color="grey20" },
269 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
270 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
276 keys { { <LFSH>, "LFSH", color="grey20" },
277 <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
278 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
279 { <RTSH>, "RTSH", color="grey20" }
286 keys { <LCTL>, { <LALT>, 20 },
287 { <SPCE>, "SPCE", color="white" },
288 <RALT>, { <RCTL>, 21 }
291 }; // End of "Alpha" section
299 keys { <INS>, <HOME>, <PGUP> };
303 keys { <DELE>, <END>, <PGDN> };
312 keys { <LEFT>, <DOWN>, <RGHT> };
314 }; // End of "Editing" section
322 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
326 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
330 keys { <KP4>, <KP5>, <KP6> };
334 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
338 keys { { <KP0>, "KP0" }, <KPDL> };
340 }; // End of "Keypad" section
342 alias <AC00> = <CAPS>;
343 alias <AA00> = <LCTL>;
345 }; // End of "pc102" geometry
347 xkb_geometry "pc104" {
349 description= "Generic 104";
353 shape.cornerRadius= 1;
354 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
355 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
356 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
357 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
358 shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
359 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
360 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
361 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
362 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
363 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
364 shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
365 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
366 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
368 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
369 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
377 indicator.onColor= "green";
378 indicator.offColor= "green30";
380 indicator.shape= "LED";
381 indicator "Num Lock" { left= 382; };
382 indicator "Caps Lock" { left= 407; };
383 indicator "Scroll Lock" { left= 433; };
386 text "NumLockLabel" { left= 378; text="Num\nLock"; };
387 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
388 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
398 keys { { <ESC>, color="grey20" },
399 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
400 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
401 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
402 { <PRSC>, 8 }, <SCLK>, <PAUS>
405 }; // End of "Function" section
411 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
412 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
413 <AE10>, <AE11>, <AE12>,
414 { <BKSP>, "BKSP", color="grey20" }
419 keys { { <TAB>, "TABK", color="grey20" },
420 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
421 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
422 <AD11>, <AD12>, { <BKSL>, "BKSL" }
427 keys { { <CAPS>, "CAPS", color="grey20" },
428 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
429 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
430 <AC11>, { <RTRN>, "RTRN", color="grey20" }
435 keys { { <LFSH>, "LFSH", color="grey20" },
436 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
437 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
438 { <RTSH>, "RTSH", color="grey20" }
445 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
446 { <SPCE>, "SPCE", color="white" },
447 <RALT>, <RWIN>, <MENU>, <RCTL>
450 }; // End of "Alpha" section
458 keys { <INS>, <HOME>, <PGUP> };
462 keys { <DELE>, <END>, <PGDN> };
471 keys { <LEFT>, <DOWN>, <RGHT> };
473 }; // End of "Editing" section
481 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
485 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
489 keys { <KP4>, <KP5>, <KP6> };
493 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
497 keys { { <KP0>, "KP0" }, <KPDL> };
499 }; // End of "Keypad" section
501 alias <AC00> = <CAPS>;
502 alias <AA00> = <LCTL>;
504 }; // End of "pc104" geometry
506 xkb_geometry "pc105" {
508 description= "Generic 105";
512 shape.cornerRadius= 1;
514 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
515 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
516 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
517 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
519 { [0,0], [28,0], [28,37], [5,37], [5,18], [0,18] } ,
520 { [2,1], [26,1], [26,35], [7,35], [7,16], [2,16] } ,
521 approx = { [5,0], [28,37] } };
522 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
523 shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } };
524 shape "RTSH" { { [ 50,18] }, { [2,1], [ 48,16] } };
525 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
526 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
527 shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
528 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
529 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
531 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
532 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
540 indicator.onColor= "green";
541 indicator.offColor= "green30";
543 indicator.shape= "LED";
544 indicator "Num Lock" { left= 382; };
545 indicator "Caps Lock" { left= 407; };
546 indicator "Scroll Lock" { left= 433; };
549 text "NumLockLabel" { left= 378; text="Num\nLock"; };
550 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
551 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
561 keys { { <ESC>, color="grey20" },
562 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
563 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
564 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
565 { <PRSC>, 8 }, <SCLK>, <PAUS>
568 }; // End of "Function" section
574 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
575 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
576 <AE10>, <AE11>, <AE12>,
577 { <BKSP>, "BKSP", color="grey20" }
582 keys { { <TAB>, "TABK", color="grey20" },
583 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
584 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
585 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
590 keys { { <CAPS>, "CAPS", color="grey20" },
591 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
592 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
598 keys { { <LFSH>, "LFSH", color="grey20" },
599 <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
600 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
601 { <RTSH>, "RTSH", color="grey20" }
608 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
609 { <SPCE>, "SPCE", color="white" },
610 <RALT>, <RWIN>, <MENU>, <RCTL>
613 }; // End of "Alpha" section
621 keys { <INS>, <HOME>, <PGUP> };
625 keys { <DELE>, <END>, <PGDN> };
634 keys { <LEFT>, <DOWN>, <RGHT> };
636 }; // End of "Editing" section
644 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
648 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
652 keys { <KP4>, <KP5>, <KP6> };
656 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
660 keys { { <KP0>, "KP0" }, <KPDL> };
662 }; // End of "Keypad" section
664 alias <AC00> = <CAPS>;
665 alias <AA00> = <LCTL>;
667 }; // End of "pc105" geometry
670 // Added for japanese 106 keyboard
671 // by tsuka@kawalab.dnj.ynu.ac.jp .
672 xkb_geometry "jp106" {
674 description= "Japanese 106";
678 shape.cornerRadius= 1;
679 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
680 shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
681 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
682 shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } };
684 { [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } ,
685 { [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } };
686 shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
687 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
688 shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } };
689 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
690 shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } };
691 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
692 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
694 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
695 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
703 indicator.onColor= "green";
704 indicator.offColor= "green30";
706 indicator.shape= "LED";
707 indicator "Num Lock" { left= 379; };
708 indicator "Caps Lock" { left= 404; };
709 indicator "Scroll Lock" { left= 429; };
712 text "NumLockLabel" { left= 378; text="Num\nLock"; };
713 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
714 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
724 keys { { <ESC>, color="grey20" },
725 { <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
726 { <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"},
727 { <FK07>, color="grey20"}, {<FK08>,color="grey20"},
728 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
729 { <PRSC>, 8 }, <SCLK>, <PAUS>
732 }; // End of "Function" section
738 keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>,
739 <AE03>, <AE04>, <AE05>, <AE06>, <AE07>,
740 <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
741 <AE13>, { <BKSP>, "BKSP", color="grey20" }
746 keys { { <TAB>, "TABK", color="grey20" },
747 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
748 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
749 <AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" }
754 keys { { <CAPS>, "CAPS", color="grey20" },
755 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
756 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
762 keys { { <LFSH>, "LFSH", color="grey20" },
763 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
764 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
765 <AB11>, { <RTSH>, "RTSH", color="grey20" }
772 keys { <LCTL>, { <LALT>, 20 },<NFER>,
773 { <SPCE>, "SPCE", color="white" },
774 <XFER>,<HKTG>,<RALT>, { <RCTL>, 17 }
777 }; // End of "Alpha" section
785 keys { <INS>, <HOME>, <PGUP> };
789 keys { <DELE>, <END>, <PGDN> };
798 keys { <LEFT>, <DOWN>, <RGHT> };
800 }; // End of "Editing" section
808 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
812 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
816 keys { <KP4>, <KP5>, <KP6> };
820 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
824 keys { { <KP0>, "KP0" }, <KPDL> };
826 }; // End of "Keypad" section
828 alias <AC00> = <CAPS>;
829 alias <AA00> = <LCTL>;
831 }; // End of "jp106" geometry
833 // Added for brazilian ABNT2 by Ricardo Y. Igarashi(iga@that.com.br)
834 xkb_geometry "abnt2" {
837 description= "Brazilian ABNT2";
840 { [0,0],[ 28,0],[28,37],[4,37],[4,18],[0,18] } ,
841 { [2,1],[ 26,1],[26,36],[5,36],[5,18],[2,18] } };
842 shape "RTSH" { { [ 31,18] }, { [2,1], [ 29,16] } };
852 keys { { <TAB>, "TABK", color="grey20" },
853 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
854 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
855 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
860 keys { { <CAPS>, "CAPS", color="grey20" },
861 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
862 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
868 keys { { <LFSH>, "LFSH", color="grey20" },
869 <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
870 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
871 { <RTSH>, "RTSH", color="grey20" }
874 }; // End of "Alpha" section
881 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, color="grey20" } };
885 keys { <KP4>, <KP5>, <KP6>, { <KPPT>, color="grey20" } };
887 }; // End of "Keypad" section
889 }; // End of "abnt2" geometry
892 // Created by Alexander Pohoyda <alexander.pohoyda@gmx.net>
894 xkb_geometry "pc86" {
895 description = "Noname keyboard with 86 keys, DE";
898 baseColor = "grey20";
900 shape "EDGE" { cornerRadius = 2, { [287, 143] } };
901 shape "LED" { cornerRadius = 2, { [3, 3] } };
902 shape "LEDS" { cornerRadius = 0, { [75, 5] } };
903 shape "KEYS" { cornerRadius = 0, { [271, 109] } };
926 indicator.onColor = "green";
927 indicator.offColor = "green30";
929 indicator.shape = "LED";
930 indicator "Num Lock" { left = 212 + 7; };
931 indicator "Caps Lock" { left = 212 + 23; };
932 indicator "Scroll Lock" { left = 212 + 39; };
935 text.color = "white";
936 text "NumLockLabel" { left = 212 + 7 + 5; text = "Num\nLock"; };
937 text "CapsLockLabel" { left = 212 + 23 + 5; text = "Caps\nLock"; };
938 text "ScrollLockLabel" { left = 212 + 39 + 5; text = "Scroll\nLock"; };
940 shape.cornerRadius = 1;
941 shape "SMALL" { { [15, 12] }, { [1.5, 0], [13.5, 10] } };
942 shape "NARR" { { [13, 18] }, { [1.5, 0], [11.5, 14] } };
943 shape "NORM" { { [18, 18] }, { [3, 0], [15, 14] } };
944 shape "NORM_1" { { [22, 18] }, { [4, 0], [22, 18] },
945 { [7, 0], [19, 14] } };
946 shape "WIDER" { { [23, 18] }, { [3, 0], [20, 14] } };
947 shape "WIDEST" { { [27, 18] }, { [3, 0], [24, 14] } };
948 shape "SPCE" { { [75, 18] }, { [3, 0], [72, 14] } };
953 key.color = "grey30";
959 <FK01>, <FK02>, <FK03>, <FK04>,
960 <FK05>, <FK06>, <FK07>, <FK08>,
961 <FK09>, <FK10>, <FK11>, <FK12>,
962 <NMLK>, <PRSC>, <SCLK>, <PAUS>
965 }; // End of "Function" section
970 key.color = "grey30";
975 keys { <LCTL>, <FN>, <LALT>,
976 { <SPCE>, shape="SPCE", 39 }, <RALT>,
980 }; // End of "Control" section
985 key.color = "grey30";
991 keys { <HOME>, <PGUP>, <PGDN>, <END> };
993 }; // End of "Editing" section
995 section "Navigation" {
998 key.color = "grey30";
1008 keys { <LEFT>, <DOWN>, <RGHT> };
1010 }; // End of "Navigation" section
1015 key.color = "grey10";
1020 keys { { <AE01>, shape="NORM_1" }, <AE02>, <AE03>, <AE04>,
1021 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
1022 <AE10>, <AE11>, <AE12>,
1023 { <BKSP>, shape="WIDER", color="grey30" }
1028 keys { { <TAB>, shape="NARR", color="grey30" },
1029 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1030 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
1031 <AD11>, <AD12>, { <AD13>, shape="NARR" }
1036 keys { { <CAPS>, color="grey30" },
1037 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1038 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
1039 <AC11>, { <RTRN>, shape="WIDEST", color="grey30" }
1044 keys { { <LFSH>, shape="WIDEST", color="grey30" },
1045 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
1046 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
1047 { <RTSH>, shape="WIDER", color="grey30" }
1053 keys { <AE00>, <LSGT> };
1055 }; // End of "Alpha" section
1057 alias <AC00> = <CAPS>;
1058 alias <AA00> = <LCTL>;
1059 }; // End of "pc86" geometry
1061 xkb_geometry "kr106" {
1063 description= "Korean 106";
1067 shape.cornerRadius= 1;
1068 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
1069 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
1070 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
1071 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
1072 shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
1073 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
1074 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
1075 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
1076 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
1077 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
1078 shape "SPCE" { { [ 75,18] }, { [2,1], [ 73,16] } };
1079 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
1080 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
1082 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
1083 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
1091 indicator.onColor= "green";
1092 indicator.offColor= "green30";
1094 indicator.shape= "LED";
1095 indicator "Num Lock" { left= 382; };
1096 indicator "Caps Lock" { left= 407; };
1097 indicator "Scroll Lock" { left= 433; };
1099 text.color= "black";
1100 text "NumLockLabel" { left= 378; text="Num\nLock"; };
1101 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
1102 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
1108 section "Function" {
1112 keys { { <ESC>, color="grey20" },
1113 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
1114 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
1115 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
1116 { <PRSC>, 8 }, <SCLK>, <PAUS>
1119 }; // End of "Function" section
1125 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
1126 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
1127 <AE10>, <AE11>, <AE12>,
1128 { <BKSP>, "BKSP", color="grey20" }
1133 keys { { <TAB>, "TABK", color="grey20" },
1134 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1135 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
1136 <AD11>, <AD12>, { <BKSL>, "BKSL" }
1141 keys { { <CAPS>, "CAPS", color="grey20" },
1142 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1143 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
1144 <AC11>, { <RTRN>, "RTRN", color="grey20" }
1149 keys { { <LFSH>, "LFSH", color="grey20" },
1150 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
1151 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
1152 { <RTSH>, "RTSH", color="grey20" }
1158 key.color= "grey20";
1159 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
1160 { <K71>, "NORM", color="white" },
1161 { <SPCE>, "SPCE", color="white" },
1162 { <K72>, "NORM", color="white" },
1163 <RALT>, <RWIN>, <MENU>, <RCTL>
1166 }; // End of "Alpha" section
1171 key.color= "grey20";
1174 keys { <INS>, <HOME>, <PGUP> };
1178 keys { <DELE>, <END>, <PGDN> };
1187 keys { <LEFT>, <DOWN>, <RGHT> };
1189 }; // End of "Editing" section
1196 key.color= "grey20";
1197 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
1201 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
1205 keys { <KP4>, <KP5>, <KP6> };
1209 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
1213 keys { { <KP0>, "KP0" }, <KPDL> };
1215 }; // End of "Keypad" section
1217 alias <AC00> = <CAPS>;
1218 alias <AA00> = <LCTL>;
1220 }; // End of "kr106" geometry
1222 // Based on the pc(pc105) layout. The keypad, sysreq/ScrLk/Break, and multimedia
1223 // keys are not shown because they are shared with other keys via the <FN> key.
1224 // This should not be a problem if the normal symbols are used, as the keys will
1225 // show through normally, they just won't show from xkbprint. For the record,
1226 // <FN>+<PGUP> = AudioRaise,
1227 // <FN>+<PGDN> = AudioLower,
1228 // <FN>+<END> = AudioMute,
1229 // <FN>+<PRSC> = Sysreq,
1230 // <FN>+<NMLK> = ScrollLock,
1231 // <FN>+<BREAK> = <PAUS>,
1247 // The other FN combinations aren't passed to X, but are handled by BIOS.
1248 // <FN> and all keys with <FN> level mappings are marked in grey20.
1250 // David Cameron Staples <staples@cs.mu.oz.au> 2006-05-12
1252 xkb_geometry "latitude" {
1254 description= "Dell Latitude";
1258 shape.cornerRadius= 1;
1259 shape "NORM" { { [ 18 ,18] }, { [2,1 ], [ 16,16] } };
1260 shape "FUNC" { { [ 16.2,12] }, { [2,0.5], [ 14,10] } };
1261 shape "ESC" { { [ 18 ,12] }, { [2,0.5], [ 16,10] } };
1262 shape "BKSP" { { [ 38 ,18] }, { [2,1 ], [ 36,16] } };
1263 shape "TABK" { { [ 28 ,18] }, { [2,1 ], [ 26,16] } };
1264 shape "BKSL" { { [ 28 ,18] }, { [2,1 ], [ 26,16] } };
1265 shape "RTRN" { { [ 42 ,18] }, { [2,1 ], [ 40,16] } };
1266 shape "CAPS" { { [ 33 ,18] }, { [2,1 ], [ 26,16] } };
1267 shape "LFSH" { { [ 42 ,18] }, { [2,1 ], [ 40,16] } };
1268 shape "RTSH" { { [ 52 ,18] }, { [2,1 ], [ 50,16] } };
1269 shape "SPCE" { { [ 95 ,18] }, { [2,1 ], [ 93,16] } };
1270 shape "LCTL" { { [ 28 ,14] }, { [2,1 ], [ 26,12] } };
1271 shape "LALT" { { [ 22 ,14] }, { [2,1 ], [ 20,12] } };
1272 shape "WIN" { { [ 18 ,14] }, { [2,1 ], [ 16,12] } };
1274 shape "LED" { cornerRadius= 0.5, { [ 1, 3 ] } };
1276 indicator.onColor= "green";
1277 indicator.offColor= "green30";
1279 indicator.shape= "LED";
1280 indicator "Num Lock" { left= 138; };
1281 indicator "Caps Lock" { left= 150; };
1282 indicator "Scroll Lock" { left= 162; };
1284 text.color= "black";
1285 text "NumLockLabel" { left= 140; text="Num\nLock"; };
1286 text "CapsLockLabel" { left= 152; text="Caps\nLock"; };
1287 text "ScrollLockLabel" { left= 164; text="Scroll\nLock"; };
1289 text "LATITUDE" { left= 19; text="L A T I T U D E"; };
1295 section "Function" {
1298 key.color= "grey20";
1302 keys { { <MENU>, color="white" }, <PRSC>, <NMLK>, <PAUS>,
1303 { <INS>, 3, color="white" },
1304 { <HOME>, color="white"}, <PGUP>
1309 keys { { <ESC>, "ESC" },
1311 { <FK02>, color="white" }, <FK03>,
1312 { <FK04>, color="white" },
1314 { <FK06>, color="white" }, <FK07>, <FK08>,
1315 { <FK09>, 3, color="white" }, <FK10>,
1316 { <FK11>, color="white" },
1317 { <FK12>, color="white" },
1318 { <DELE>, 3, color="white" }, <END>, <PGDN>
1321 }; // End of "Function" section
1327 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
1329 { <AE07>, color="grey20" },
1330 { <AE08>, color="grey20" },
1331 { <AE09>, color="grey20" },
1332 { <AE10>, color="grey20" }, <AE11>, <AE12>,
1338 keys { { <TAB>, "TABK" },
1339 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1341 { <AD07>, color="grey20" },
1342 { <AD08>, color="grey20" },
1343 { <AD09>, color="grey20" },
1344 { <AD10>, color="grey20" },
1345 <AD11>, <AD12>, { <BKSL>, "BKSL" }
1350 keys { { <CAPS>, "CAPS" },
1351 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1353 { <AC07>, color="grey20" },
1354 { <AC08>, color="grey20" },
1355 { <AC09>, color="grey20" },
1356 { <AC10>, color="grey20" },
1357 <AC11>, { <RTRN>, "RTRN" }
1362 keys { { <LFSH>, "LFSH" },
1363 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
1365 { <AB07>, color="grey20" }, <AB08>,
1366 { <AB09>, color="grey20" },
1367 { <AB10>, color="grey20" },
1374 keys { { <LCTL>, "LCTL" },
1375 { <FN>, color="grey20" },
1383 }; // End of "Alpha" section
1389 key.color= "grey20";
1397 keys { <LEFT>, <DOWN>, <RGHT> };
1399 }; // End of "Editing" section
1401 alias <AC00> = <CAPS>;
1402 alias <AA00> = <LCTL>;
1404 }; // End of "latitude" geometry
1406 xkb_geometry "pc104alt" {
1408 description= "Generic 104 with L-shaped Enter and small Backspace with Backslash left to it";
1412 shape.cornerRadius= 1;
1413 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
1414 shape "BKSP" { { [ 19,18] }, { [2,1], [ 17,16] } };
1415 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
1416 // shape "RTRN" { { [ 0,19 ], [ 0,37 ], [ 42,37 ], [ 42,0 ], [ 14,0 ], [ 14,19 ] },
1417 // { [ 2,20 ], [ 2,35 ], [ 40,35 ], [ 40,1 ], [ 16,1 ], [ 16,20 ] },
1418 // approx = { [ 17,21 ], [ 39,34 ] }
1420 shape "RTRN" { { [ -14,19 ], [ -14,37 ], [ 28,37 ], [ 28,0 ], [ 0,0 ], [ 0,19 ] },
1421 { [ -12,20 ], [ -12,35 ], [ 26,35 ], [ 26,1 ], [ 2,1 ], [ 2,20 ] },
1422 approx = { [ 3,21 ], [ 25,34 ] }
1424 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
1425 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
1426 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
1427 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
1428 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
1429 shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
1430 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
1431 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
1433 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
1434 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
1442 indicator.onColor= "green";
1443 indicator.offColor= "green30";
1445 indicator.shape= "LED";
1446 indicator "Num Lock" { left= 382; };
1447 indicator "Caps Lock" { left= 407; };
1448 indicator "Scroll Lock" { left= 433; };
1450 text.color= "black";
1451 text "NumLockLabel" { left= 378; text="Num\nLock"; };
1452 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
1453 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
1459 section "Function" {
1463 keys { { <ESC>, color="grey20" },
1464 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
1465 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
1466 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
1467 { <PRSC>, 8 }, <SCLK>, <PAUS>
1470 }; // End of "Function" section
1476 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
1477 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
1478 <AE10>, <AE11>, <AE12>, <BKSL>,
1479 { <BKSP>, "BKSP", color="grey20" }
1484 keys { { <TAB>, "TABK", color="grey20" },
1485 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1486 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
1487 // <AD11>, <AD12>, { <RTRN>, -13, "RTRN", color="grey20" }
1488 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
1493 keys { { <CAPS>, "CAPS", color="grey20" },
1494 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1495 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
1501 keys { { <LFSH>, "LFSH", color="grey20" },
1502 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
1503 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
1504 { <RTSH>, "RTSH", color="grey20" }
1510 key.color= "grey20";
1511 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
1512 { <SPCE>, "SPCE", color="white" },
1513 <RALT>, <RWIN>, <MENU>, <RCTL>
1516 }; // End of "Alpha" section
1521 key.color= "grey20";
1524 keys { <INS>, <HOME>, <PGUP> };
1528 keys { <DELE>, <END>, <PGDN> };
1537 keys { <LEFT>, <DOWN>, <RGHT> };
1539 }; // End of "Editing" section
1546 key.color= "grey20";
1547 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
1551 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
1555 keys { <KP4>, <KP5>, <KP6> };
1559 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
1563 keys { { <KP0>, "KP0" }, <KPDL> };
1565 }; // End of "Keypad" section
1567 alias <AC00> = <CAPS>;
1568 alias <AA00> = <LCTL>;
1570 }; // End of "pc104" geometry