2 //Copyright 1996, 1998 The Open Group
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
10 //The above copyright notice and this permission notice shall be
11 //included in all copies or substantial portions of the Software.
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.
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.
27 default xkb_geometry "pc101" {
29 description= "Generic 101";
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] } };
47 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
48 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
56 indicator.onColor= "green";
57 indicator.offColor= "green30";
59 indicator.shape= "LED";
60 indicator "Num Lock" { left= 382; };
61 indicator "Caps Lock" { left= 407; };
62 indicator "Scroll Lock" { left= 433; };
65 text "NumLockLabel" { left= 378; text="Num\nLock"; };
66 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
67 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
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>
84 }; // End of "Function" section
90 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
91 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
92 <AE10>, <AE11>, <AE12>,
93 { <BKSP>, "BKSP", color="grey20" }
98 keys { { <TAB>, "TABK", color="grey20" },
99 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
100 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
101 <AD11>, <AD12>, { <BKSL>, "BKSL" }
106 keys { { <CAPS>, "CAPS", color="grey20" },
107 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
108 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
109 <AC11>, { <RTRN>, "RTRN", color="grey20" }
114 keys { { <LFSH>, "LFSH", color="grey20" },
115 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
116 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
117 { <RTSH>, "RTSH", color="grey20" }
124 keys { <LCTL>, { <LALT>, 21 },
125 { <SPCE>, "SPCE", color="white" },
126 <RALT>, { <RCTL>, 21 }
129 }; // End of "Alpha" section
137 keys { <INS>, <HOME>, <PGUP> };
141 keys { <DELE>, <END>, <PGDN> };
150 keys { <LEFT>, <DOWN>, <RGHT> };
152 }; // End of "Editing" section
160 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
164 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
168 keys { <KP4>, <KP5>, <KP6> };
172 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
176 keys { { <KP0>, "KP0" }, <KPDL> };
178 }; // End of "Keypad" section
180 alias <AC00> = <CAPS>;
181 alias <AA00> = <LCTL>;
183 }; // End of "default" geometry
185 xkb_geometry "pc102" {
187 description= "Generic 102";
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] } };
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] } };
207 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
208 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
216 indicator.onColor= "green";
217 indicator.offColor= "green30";
219 indicator.shape= "LED";
220 indicator "Num Lock" { left= 382; };
221 indicator "Caps Lock" { left= 407; };
222 indicator "Scroll Lock" { left= 433; };
225 text "NumLockLabel" { left= 378; text="Num\nLock"; };
226 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
227 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
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>
244 }; // End of "Function" section
250 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
251 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
252 <AE10>, <AE11>, <AE12>,
253 { <BKSP>, "BKSP", color="grey20" }
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" }
266 keys { { <CAPS>, "CAPS", color="grey20" },
267 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
268 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
274 keys { { <LFSH>, "LFSH", color="grey20" },
275 <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
276 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
277 { <RTSH>, "RTSH", color="grey20" }
284 keys { <LCTL>, { <LALT>, 20 },
285 { <SPCE>, "SPCE", color="white" },
286 <RALT>, { <RCTL>, 21 }
289 }; // End of "Alpha" section
297 keys { <INS>, <HOME>, <PGUP> };
301 keys { <DELE>, <END>, <PGDN> };
310 keys { <LEFT>, <DOWN>, <RGHT> };
312 }; // End of "Editing" section
320 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
324 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
328 keys { <KP4>, <KP5>, <KP6> };
332 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
336 keys { { <KP0>, "KP0" }, <KPDL> };
338 }; // End of "Keypad" section
340 alias <AC00> = <CAPS>;
341 alias <AA00> = <LCTL>;
343 }; // End of "pc102" geometry
345 xkb_geometry "pc104" {
347 description= "Generic 104";
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] } };
366 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
367 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
375 indicator.onColor= "green";
376 indicator.offColor= "green30";
378 indicator.shape= "LED";
379 indicator "Num Lock" { left= 382; };
380 indicator "Caps Lock" { left= 407; };
381 indicator "Scroll Lock" { left= 433; };
384 text "NumLockLabel" { left= 378; text="Num\nLock"; };
385 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
386 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
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>
403 }; // End of "Function" section
409 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
410 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
411 <AE10>, <AE11>, <AE12>,
412 { <BKSP>, "BKSP", color="grey20" }
417 keys { { <TAB>, "TABK", color="grey20" },
418 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
419 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
420 <AD11>, <AD12>, { <BKSL>, "BKSL" }
425 keys { { <CAPS>, "CAPS", color="grey20" },
426 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
427 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
428 <AC11>, { <RTRN>, "RTRN", color="grey20" }
433 keys { { <LFSH>, "LFSH", color="grey20" },
434 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
435 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
436 { <RTSH>, "RTSH", color="grey20" }
443 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
444 { <SPCE>, "SPCE", color="white" },
445 <RALT>, <RWIN>, <MENU>, <RCTL>
448 }; // End of "Alpha" section
456 keys { <INS>, <HOME>, <PGUP> };
460 keys { <DELE>, <END>, <PGDN> };
469 keys { <LEFT>, <DOWN>, <RGHT> };
471 }; // End of "Editing" section
479 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
483 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
487 keys { <KP4>, <KP5>, <KP6> };
491 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
495 keys { { <KP0>, "KP0" }, <KPDL> };
497 }; // End of "Keypad" section
499 alias <AC00> = <CAPS>;
500 alias <AA00> = <LCTL>;
502 }; // End of "pc104" geometry
504 xkb_geometry "pc105" {
506 description= "Generic 105";
510 shape.cornerRadius= 1;
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] } };
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] } };
529 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
530 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
538 indicator.onColor= "green";
539 indicator.offColor= "green30";
541 indicator.shape= "LED";
542 indicator "Num Lock" { left= 382; };
543 indicator "Caps Lock" { left= 407; };
544 indicator "Scroll Lock" { left= 433; };
547 text "NumLockLabel" { left= 378; text="Num\nLock"; };
548 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
549 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
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>
566 }; // End of "Function" section
572 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
573 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
574 <AE10>, <AE11>, <AE12>,
575 { <BKSP>, "BKSP", color="grey20" }
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" }
588 keys { { <CAPS>, "CAPS", color="grey20" },
589 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
590 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
596 keys { { <LFSH>, "LFSH", color="grey20" },
597 <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
598 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
599 { <RTSH>, "RTSH", color="grey20" }
606 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
607 { <SPCE>, "SPCE", color="white" },
608 <RALT>, <RWIN>, <MENU>, <RCTL>
611 }; // End of "Alpha" section
619 keys { <INS>, <HOME>, <PGUP> };
623 keys { <DELE>, <END>, <PGDN> };
632 keys { <LEFT>, <DOWN>, <RGHT> };
634 }; // End of "Editing" section
642 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
646 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
650 keys { <KP4>, <KP5>, <KP6> };
654 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
658 keys { { <KP0>, "KP0" }, <KPDL> };
660 }; // End of "Keypad" section
662 alias <AC00> = <CAPS>;
663 alias <AA00> = <LCTL>;
665 }; // End of "pc105" geometry
668 // Added for japanese 106 keyboard
669 // by tsuka@kawalab.dnj.ynu.ac.jp .
670 xkb_geometry "jp106" {
672 description= "Japanese 106";
676 shape.cornerRadius= 1;
677 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
678 shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
679 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
680 shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } };
682 { [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } ,
683 { [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } };
684 shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
685 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
686 shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } };
687 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
688 shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } };
689 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
690 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
692 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
693 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
701 indicator.onColor= "green";
702 indicator.offColor= "green30";
704 indicator.shape= "LED";
705 indicator "Num Lock" { left= 379; };
706 indicator "Caps Lock" { left= 404; };
707 indicator "Scroll Lock" { left= 429; };
710 text "NumLockLabel" { left= 378; text="Num\nLock"; };
711 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
712 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
722 keys { { <ESC>, color="grey20" },
723 { <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
724 { <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"},
725 { <FK07>, color="grey20"}, {<FK08>,color="grey20"},
726 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
727 { <PRSC>, 8 }, <SCLK>, <PAUS>
730 }; // End of "Function" section
736 keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>,
737 <AE03>, <AE04>, <AE05>, <AE06>, <AE07>,
738 <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
739 <AE13>, { <BKSP>, "BKSP", color="grey20" }
744 keys { { <TAB>, "TABK", color="grey20" },
745 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
746 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
747 <AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" }
752 keys { { <CAPS>, "CAPS", color="grey20" },
753 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
754 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
760 keys { { <LFSH>, "LFSH", color="grey20" },
761 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
762 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
763 <AB11>, { <RTSH>, "RTSH", color="grey20" }
770 keys { <LCTL>, { <LALT>, 20 },<NFER>,
771 { <SPCE>, "SPCE", color="white" },
772 <XFER>,<HKTG>,<RALT>, { <RCTL>, 17 }
775 }; // End of "Alpha" section
783 keys { <INS>, <HOME>, <PGUP> };
787 keys { <DELE>, <END>, <PGDN> };
796 keys { <LEFT>, <DOWN>, <RGHT> };
798 }; // End of "Editing" section
806 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
810 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
814 keys { <KP4>, <KP5>, <KP6> };
818 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
822 keys { { <KP0>, "KP0" }, <KPDL> };
824 }; // End of "Keypad" section
826 alias <AC00> = <CAPS>;
827 alias <AA00> = <LCTL>;
829 }; // End of "jp106" geometry
831 // Added for brazilian ABNT2 by Ricardo Y. Igarashi(iga@that.com.br)
832 xkb_geometry "abnt2" {
835 description= "Brazilian ABNT2";
838 { [0,0],[ 28,0],[28,37],[4,37],[4,18],[0,18] } ,
839 { [2,1],[ 26,1],[26,36],[5,36],[5,18],[2,18] } };
840 shape "RTSH" { { [ 31,18] }, { [2,1], [ 29,16] } };
850 keys { { <TAB>, "TABK", color="grey20" },
851 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
852 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
853 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
858 keys { { <CAPS>, "CAPS", color="grey20" },
859 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
860 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
866 keys { { <LFSH>, "LFSH", color="grey20" },
867 <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
868 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
869 { <RTSH>, "RTSH", color="grey20" }
872 }; // End of "Alpha" section
879 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, color="grey20" } };
883 keys { <KP4>, <KP5>, <KP6>, { <KPPT>, color="grey20" } };
885 }; // End of "Keypad" section
887 }; // End of "abnt2" geometry
890 // Created by Alexander Pohoyda <alexander.pohoyda@gmx.net>
892 xkb_geometry "pc86" {
893 description = "Noname keyboard with 86 keys, DE";
896 baseColor = "grey20";
898 shape "EDGE" { cornerRadius = 2, { [287, 143] } };
899 shape "LED" { cornerRadius = 2, { [3, 3] } };
900 shape "LEDS" { cornerRadius = 0, { [75, 5] } };
901 shape "KEYS" { cornerRadius = 0, { [271, 109] } };
924 indicator.onColor = "green";
925 indicator.offColor = "green30";
927 indicator.shape = "LED";
928 indicator "Num Lock" { left = 212 + 7; };
929 indicator "Caps Lock" { left = 212 + 23; };
930 indicator "Scroll Lock" { left = 212 + 39; };
933 text.color = "white";
934 text "NumLockLabel" { left = 212 + 7 + 5; text = "Num\nLock"; };
935 text "CapsLockLabel" { left = 212 + 23 + 5; text = "Caps\nLock"; };
936 text "ScrollLockLabel" { left = 212 + 39 + 5; text = "Scroll\nLock"; };
938 shape.cornerRadius = 1;
939 shape "SMALL" { { [15, 12] }, { [1.5, 0], [13.5, 10] } };
940 shape "NARR" { { [13, 18] }, { [1.5, 0], [11.5, 14] } };
941 shape "NORM" { { [18, 18] }, { [3, 0], [15, 14] } };
942 shape "NORM_1" { { [22, 18] }, { [4, 0], [22, 18] },
943 { [7, 0], [19, 14] } };
944 shape "WIDER" { { [23, 18] }, { [3, 0], [20, 14] } };
945 shape "WIDEST" { { [27, 18] }, { [3, 0], [24, 14] } };
946 shape "SPCE" { { [75, 18] }, { [3, 0], [72, 14] } };
951 key.color = "grey30";
957 <FK01>, <FK02>, <FK03>, <FK04>,
958 <FK05>, <FK06>, <FK07>, <FK08>,
959 <FK09>, <FK10>, <FK11>, <FK12>,
960 <NMLK>, <PRSC>, <SCLK>, <PAUS>
963 }; // End of "Function" section
968 key.color = "grey30";
973 keys { <LCTL>, <FN>, <LALT>,
974 { <SPCE>, shape="SPCE", 39 }, <RALT>,
978 }; // End of "Control" section
983 key.color = "grey30";
989 keys { <HOME>, <PGUP>, <PGDN>, <END> };
991 }; // End of "Editing" section
993 section "Navigation" {
996 key.color = "grey30";
1006 keys { <LEFT>, <DOWN>, <RGHT> };
1008 }; // End of "Navigation" section
1013 key.color = "grey10";
1018 keys { { <AE01>, shape="NORM_1" }, <AE02>, <AE03>, <AE04>,
1019 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
1020 <AE10>, <AE11>, <AE12>,
1021 { <BKSP>, shape="WIDER", color="grey30" }
1026 keys { { <TAB>, shape="NARR", color="grey30" },
1027 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1028 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
1029 <AD11>, <AD12>, { <AD13>, shape="NARR" }
1034 keys { { <CAPS>, color="grey30" },
1035 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1036 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
1037 <AC11>, { <RTRN>, shape="WIDEST", color="grey30" }
1042 keys { { <LFSH>, shape="WIDEST", color="grey30" },
1043 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
1044 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
1045 { <RTSH>, shape="WIDER", color="grey30" }
1051 keys { <AE00>, <LSGT> };
1053 }; // End of "Alpha" section
1055 alias <AC00> = <CAPS>;
1056 alias <AA00> = <LCTL>;
1057 }; // End of "pc86" geometry
1059 xkb_geometry "kr106" {
1061 description= "Korean 106";
1065 shape.cornerRadius= 1;
1066 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
1067 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
1068 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
1069 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
1070 shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
1071 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
1072 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
1073 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
1074 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
1075 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
1076 shape "SPCE" { { [ 75,18] }, { [2,1], [ 73,16] } };
1077 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
1078 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
1080 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
1081 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
1089 indicator.onColor= "green";
1090 indicator.offColor= "green30";
1092 indicator.shape= "LED";
1093 indicator "Num Lock" { left= 382; };
1094 indicator "Caps Lock" { left= 407; };
1095 indicator "Scroll Lock" { left= 433; };
1097 text.color= "black";
1098 text "NumLockLabel" { left= 378; text="Num\nLock"; };
1099 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
1100 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
1106 section "Function" {
1110 keys { { <ESC>, color="grey20" },
1111 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
1112 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
1113 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
1114 { <PRSC>, 8 }, <SCLK>, <PAUS>
1117 }; // End of "Function" section
1123 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
1124 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
1125 <AE10>, <AE11>, <AE12>,
1126 { <BKSP>, "BKSP", color="grey20" }
1131 keys { { <TAB>, "TABK", color="grey20" },
1132 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1133 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
1134 <AD11>, <AD12>, { <BKSL>, "BKSL" }
1139 keys { { <CAPS>, "CAPS", color="grey20" },
1140 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1141 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
1142 <AC11>, { <RTRN>, "RTRN", color="grey20" }
1147 keys { { <LFSH>, "LFSH", color="grey20" },
1148 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
1149 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
1150 { <RTSH>, "RTSH", color="grey20" }
1156 key.color= "grey20";
1157 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
1158 { <K71>, "NORM", color="white" },
1159 { <SPCE>, "SPCE", color="white" },
1160 { <K72>, "NORM", color="white" },
1161 <RALT>, <RWIN>, <MENU>, <RCTL>
1164 }; // End of "Alpha" section
1169 key.color= "grey20";
1172 keys { <INS>, <HOME>, <PGUP> };
1176 keys { <DELE>, <END>, <PGDN> };
1185 keys { <LEFT>, <DOWN>, <RGHT> };
1187 }; // End of "Editing" section
1194 key.color= "grey20";
1195 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
1199 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
1203 keys { <KP4>, <KP5>, <KP6> };
1207 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
1211 keys { { <KP0>, "KP0" }, <KPDL> };
1213 }; // End of "Keypad" section
1215 alias <AC00> = <CAPS>;
1216 alias <AA00> = <LCTL>;
1218 }; // End of "kr106" geometry
1220 // Based on the pc(pc105) layout. The keypad, sysreq/ScrLk/Break, and multimedia
1221 // keys are not shown because they are shared with other keys via the <FN> key.
1222 // This should not be a problem if the normal symbols are used, as the keys will
1223 // show through normally, they just won't show from xkbprint. For the record,
1224 // <FN>+<PGUP> = AudioRaise,
1225 // <FN>+<PGDN> = AudioLower,
1226 // <FN>+<END> = AudioMute,
1227 // <FN>+<PRSC> = Sysreq,
1228 // <FN>+<NMLK> = ScrollLock,
1229 // <FN>+<BREAK> = <PAUS>,
1245 // The other FN combinations aren't passed to X, but are handled by BIOS.
1246 // <FN> and all keys with <FN> level mappings are marked in grey20.
1248 // David Cameron Staples <staples@cs.mu.oz.au> 2006-05-12
1250 xkb_geometry "latitude" {
1252 description= "Dell Latitude";
1256 shape.cornerRadius= 1;
1257 shape "NORM" { { [ 18 ,18] }, { [2,1 ], [ 16,16] } };
1258 shape "FUNC" { { [ 16.2,12] }, { [2,0.5], [ 14,10] } };
1259 shape "ESC" { { [ 18 ,12] }, { [2,0.5], [ 16,10] } };
1260 shape "BKSP" { { [ 38 ,18] }, { [2,1 ], [ 36,16] } };
1261 shape "TABK" { { [ 28 ,18] }, { [2,1 ], [ 26,16] } };
1262 shape "BKSL" { { [ 28 ,18] }, { [2,1 ], [ 26,16] } };
1263 shape "RTRN" { { [ 42 ,18] }, { [2,1 ], [ 40,16] } };
1264 shape "CAPS" { { [ 33 ,18] }, { [2,1 ], [ 26,16] } };
1265 shape "LFSH" { { [ 42 ,18] }, { [2,1 ], [ 40,16] } };
1266 shape "RTSH" { { [ 52 ,18] }, { [2,1 ], [ 50,16] } };
1267 shape "SPCE" { { [ 95 ,18] }, { [2,1 ], [ 93,16] } };
1268 shape "LCTL" { { [ 28 ,14] }, { [2,1 ], [ 26,12] } };
1269 shape "LALT" { { [ 22 ,14] }, { [2,1 ], [ 20,12] } };
1270 shape "WIN" { { [ 18 ,14] }, { [2,1 ], [ 16,12] } };
1272 shape "LED" { cornerRadius= 0.5, { [ 1, 3 ] } };
1274 indicator.onColor= "green";
1275 indicator.offColor= "green30";
1277 indicator.shape= "LED";
1278 indicator "Num Lock" { left= 138; };
1279 indicator "Caps Lock" { left= 150; };
1280 indicator "Scroll Lock" { left= 162; };
1282 text.color= "black";
1283 text "NumLockLabel" { left= 140; text="Num\nLock"; };
1284 text "CapsLockLabel" { left= 152; text="Caps\nLock"; };
1285 text "ScrollLockLabel" { left= 164; text="Scroll\nLock"; };
1287 text "LATITUDE" { left= 19; text="L A T I T U D E"; };
1293 section "Function" {
1296 key.color= "grey20";
1300 keys { { <MENU>, color="white" }, <PRSC>, <NMLK>, <PAUS>,
1301 { <INS>, 3, color="white" },
1302 { <HOME>, color="white"}, <PGUP>
1307 keys { { <ESC>, "ESC" },
1309 { <FK02>, color="white" }, <FK03>,
1310 { <FK04>, color="white" },
1312 { <FK06>, color="white" }, <FK07>, <FK08>,
1313 { <FK09>, 3, color="white" }, <FK10>,
1314 { <FK11>, color="white" },
1315 { <FK12>, color="white" },
1316 { <DELE>, 3, color="white" }, <END>, <PGDN>
1319 }; // End of "Function" section
1325 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
1327 { <AE07>, color="grey20" },
1328 { <AE08>, color="grey20" },
1329 { <AE09>, color="grey20" },
1330 { <AE10>, color="grey20" }, <AE11>, <AE12>,
1336 keys { { <TAB>, "TABK" },
1337 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1339 { <AD07>, color="grey20" },
1340 { <AD08>, color="grey20" },
1341 { <AD09>, color="grey20" },
1342 { <AD10>, color="grey20" },
1343 <AD11>, <AD12>, { <BKSL>, "BKSL" }
1348 keys { { <CAPS>, "CAPS" },
1349 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1351 { <AC07>, color="grey20" },
1352 { <AC08>, color="grey20" },
1353 { <AC09>, color="grey20" },
1354 { <AC10>, color="grey20" },
1355 <AC11>, { <RTRN>, "RTRN" }
1360 keys { { <LFSH>, "LFSH" },
1361 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
1363 { <AB07>, color="grey20" }, <AB08>,
1364 { <AB09>, color="grey20" },
1365 { <AB10>, color="grey20" },
1372 keys { { <LCTL>, "LCTL" },
1373 { <FN>, color="grey20" },
1381 }; // End of "Alpha" section
1387 key.color= "grey20";
1395 keys { <LEFT>, <DOWN>, <RGHT> };
1397 }; // End of "Editing" section
1399 alias <AC00> = <CAPS>;
1400 alias <AA00> = <LCTL>;
1402 }; // End of "latitude" geometry
1404 xkb_geometry "pc104alt" {
1406 description= "Generic 104 with L-shaped Enter and small Backspace with Backslash left to it";
1410 shape.cornerRadius= 1;
1411 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
1412 shape "BKSP" { { [ 19,18] }, { [2,1], [ 17,16] } };
1413 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
1414 // shape "RTRN" { { [ 0,19 ], [ 0,37 ], [ 42,37 ], [ 42,0 ], [ 14,0 ], [ 14,19 ] },
1415 // { [ 2,20 ], [ 2,35 ], [ 40,35 ], [ 40,1 ], [ 16,1 ], [ 16,20 ] },
1416 // approx = { [ 17,21 ], [ 39,34 ] }
1418 shape "RTRN" { { [ -14,19 ], [ -14,37 ], [ 28,37 ], [ 28,0 ], [ 0,0 ], [ 0,19 ] },
1419 { [ -12,20 ], [ -12,35 ], [ 26,35 ], [ 26,1 ], [ 2,1 ], [ 2,20 ] },
1420 approx = { [ 3,21 ], [ 25,34 ] }
1422 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
1423 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
1424 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
1425 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
1426 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
1427 shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
1428 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
1429 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
1431 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
1432 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
1440 indicator.onColor= "green";
1441 indicator.offColor= "green30";
1443 indicator.shape= "LED";
1444 indicator "Num Lock" { left= 382; };
1445 indicator "Caps Lock" { left= 407; };
1446 indicator "Scroll Lock" { left= 433; };
1448 text.color= "black";
1449 text "NumLockLabel" { left= 378; text="Num\nLock"; };
1450 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
1451 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
1457 section "Function" {
1461 keys { { <ESC>, color="grey20" },
1462 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
1463 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
1464 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
1465 { <PRSC>, 8 }, <SCLK>, <PAUS>
1468 }; // End of "Function" section
1474 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
1475 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
1476 <AE10>, <AE11>, <AE12>, <BKSL>,
1477 { <BKSP>, "BKSP", color="grey20" }
1482 keys { { <TAB>, "TABK", color="grey20" },
1483 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1484 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
1485 // <AD11>, <AD12>, { <RTRN>, -13, "RTRN", color="grey20" }
1486 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
1491 keys { { <CAPS>, "CAPS", color="grey20" },
1492 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1493 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
1499 keys { { <LFSH>, "LFSH", color="grey20" },
1500 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
1501 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
1502 { <RTSH>, "RTSH", color="grey20" }
1508 key.color= "grey20";
1509 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
1510 { <SPCE>, "SPCE", color="white" },
1511 <RALT>, <RWIN>, <MENU>, <RCTL>
1514 }; // End of "Alpha" section
1519 key.color= "grey20";
1522 keys { <INS>, <HOME>, <PGUP> };
1526 keys { <DELE>, <END>, <PGDN> };
1535 keys { <LEFT>, <DOWN>, <RGHT> };
1537 }; // End of "Editing" section
1544 key.color= "grey20";
1545 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
1549 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
1553 keys { <KP4>, <KP5>, <KP6> };
1557 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
1561 keys { { <KP0>, "KP0" }, <KPDL> };
1563 }; // End of "Keypad" section
1565 alias <AC00> = <CAPS>;
1566 alias <AA00> = <LCTL>;
1568 }; // End of "pc104" geometry