1 // $Xorg: dell,v 1.4 2001/02/09 02:05:49 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 default xkb_geometry "dell101" {
29 description= "Dell 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] }, { [ 28,18] }, { [2,1], [ 26,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
186 xkb_geometry "dell65" {
189 xkb_geometry "dell65x" {
191 description= "Dell 101";
196 shape.cornerRadius= 1;
197 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
198 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
199 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
200 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
201 shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
202 shape "CAPS" { { [ 33,18] }, { [ 28,18] }, { [2,1], [ 26,16] } };
203 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
204 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
205 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
206 shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
207 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
208 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
210 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
211 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
219 shape "BACKGROUND" { cornerRadius=5, { [ 470, 210 ] } };
227 indicator.onColor= "green";
228 indicator.offColor= "green30";
230 indicator.shape= "LED";
231 indicator "Num Lock" { left= 382; };
232 indicator "Caps Lock" { left= 407; };
233 indicator "Scroll Lock" { left= 433; };
236 text "NumLockLabel" { left= 378; text="Num\nLock"; };
237 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
238 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
248 keys { { <ESC>, color="grey20" },
249 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
250 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
251 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
252 { <PRSC>, 8 }, <SCLK>, <PAUS>
255 }; // End of "Function" section
261 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
262 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
263 <AE10>, <AE11>, <AE12>,
264 { <BKSP>, "BKSP", color="grey20" }
269 keys { { <TAB>, "TABK", color="grey20" },
270 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
271 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
272 <AD11>, <AD12>, { <BKSL>, "BKSL" }
277 keys { { <CAPS>, "CAPS", color="grey20" },
278 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
279 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
280 <AC11>, { <RTRN>, "RTRN", color="grey20" }
285 keys { { <LFSH>, "LFSH", color="grey20" },
286 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
287 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
288 { <RTSH>, "RTSH", color="grey20" }
295 keys { <LCTL>, { <LALT>, 21 },
296 { <SPCE>, "SPCE", color="white" },
297 <RALT>, { <RCTL>, 21 }
300 }; // End of "Alpha" section
308 keys { <INS>, <HOME>, <PGUP> };
312 keys { <DELE>, <END>, <PGDN> };
321 keys { <LEFT>, <DOWN>, <RGHT> };
323 }; // End of "Editing" section
331 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
335 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
339 keys { <KP4>, <KP5>, <KP6> };
343 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
347 keys { { <KP0>, "KP0" }, <KPDL> };
349 }; // End of "Keypad" section
351 alias <AC00> = <CAPS>;
352 alias <AA00> = <LCTL>;
358 // Dell Precision M65
361 xkb_geometry "dellm65" {
363 description= "Dell Precision M65";
366 baseColor = "grey20";
367 labelColor = "white";
369 shape "BACKGROUND" { cornerRadius = 3, { [ 308, 152 ] } };
370 shape "BACKGROUND2" { cornerRadius = 2, { [ 7, 22 ],
379 shape = "BACKGROUND";
384 solid "Background2" {
385 shape = "BACKGROUND2";
391 shape "LEDS" { cornerRadius = 4, { [ 26, 8 ] } };
392 shape "LED" { cornerRadius = 0, { [ 4, 4 ] } };
400 indicator.onColor= "green";
401 indicator.offColor= "gray20";
403 indicator.shape= "LED";
404 indicator "Num Lock" { left= 72; };
405 indicator "Caps Lock" { left= 80; };
406 indicator "Scroll Lock" { left= 88; };
408 shape "MEDIA" { cornerRadius = 5, { [ 2, 2], [ 12, 12 ] } };
409 shape "POWER" { cornerRadius = 7, { [ 14, 14 ] } };
421 <I2E>, <I30>, <I20>, { <I04>, shape = "POWER", gap = 3 }
427 shape "FKEY" { cornerRadius = 1, { [ 18, 12 ] }, { [ 1, 1 ], [ 17, 10 ] } };
434 key.color = "grey80";
439 keys { { <MENU>, 165 }, <PRSC>, <NMLK>, <PAUS>,
440 { <INS>, 1 }, <HOME>, <PGUP> };
444 keys { <ESC>, { <FK01>, 1 }, <FK02>, <FK03>, <FK04>,
445 { <FK05>, 1 }, <FK06>, <FK07>, <FK08>,
446 { <FK09>, 1 }, <FK10>, <FK11>, <FK12>,
447 { <DELE>, 1 }, <END>, <PGDN> };
451 shape "AKEY" { cornerRadius = 1, { [ 19, 19 ] }, { [ 2, 1 ], [ 17, 15 ] } };
452 shape "BKSP" { cornerRadius = 1, { [ 44, 19 ] }, { [ 2, 1 ], [ 42, 15 ] } };
453 shape "TABK" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } };
454 shape "BKSL" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } };
455 shape "CAPS" { cornerRadius = 1, { [ 34, 19 ] }, { [ 2, 1 ], [ 32, 15 ] } };
456 shape "RTRN" { cornerRadius = 1, { [ 47, 19 ] }, { [ 2, 1 ], [ 45, 15 ] } };
457 shape "LFSH" { cornerRadius = 1, { [ 44, 19 ] }, { [ 2, 1 ], [ 42, 15 ] } };
458 shape "RTSH" { cornerRadius = 1, { [ 56, 19 ] }, { [ 2, 1 ], [ 54, 15 ] } };
459 shape "LCTL" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } };
460 shape "LALT" { cornerRadius = 1, { [ 25, 19 ] }, { [ 2, 1 ], [ 23, 15 ] } };
461 shape "RCTL" { cornerRadius = 1, { [ 25, 19 ] }, { [ 2, 1 ], [ 23, 15 ] } };
462 shape "SPCE" { cornerRadius = 1, { [ 96, 19 ] }, { [ 2, 1 ], [ 94, 15 ] } };
470 key.color = "grey80";
475 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
476 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
477 <AE10>, <AE11>, <AE12>, { <BKSP>, 1, "BKSP" } };
481 keys { { <TAB>, "TABK" },
482 { <AD01>, 1 }, <AD02>, <AD03>, <AD04>, <AD05>,
483 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
484 <AD11>, <AD12>, { <BKSL>, 1, "BKSL" } };
488 keys { { <CAPS>, "CAPS" },
489 { <AC01>, 1 }, <AC02>, <AC03>, <AC04>, <AC05>,
490 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
491 <AC11>, { <RTRN>, 1, "RTRN" } };
495 keys { { <LFSH>, "LFSH" },
496 { <AB01>, 1 }, <AB02>, <AB03>, <AB04>, <AB05>,
497 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
498 { <RTSH>, 1, "RTSH" } };
502 keys { { <LCTL>, "LCTL" }, { <LWIN>, 20 }, { <LALT>, "LALT" },
503 { <SPCE>, "SPCE" }, <RALT>, { <RCTL>, "RCTL" } };
507 shape "SKEY" { cornerRadius = 1, { [ 18, 17 ] }, { [ 2, 1 ], [ 16, 13 ] } };
514 key.color = "grey80";
527 keys { <LEFT>, <DOWN>, <RGHT> };
531 shape "STIK" { cornerRadius = 4, { [ 7, 7 ] } };
542 xkb_geometry "latitude" {
543 description="Dell Latitude";
544 width=304.2; height=219.1;
546 baseColor="grey"; labelColor="white";
548 alias <AC00> =<CAPS>;
549 alias <AA00> =<LCTL>;
551 shape "EXTERNAL" {corner=3,
552 {[0,0], [302,0], [302,154], [174,154], [174,198], [166,216], [107,216], [100,198], [100,154], [0,154]}};
553 solid "external" {shape="EXTERNAL"; top=1.1; left=1.1; color="grey10"; priority=10;};
555 shape "INTERNAL" {corner=3,
556 {[0,13], [162.2,13], [162.2,0], [286,0], [286,138], [230,138], [230,124], [163,124], [163,138], [96,138], [96,124], [0,124]}};
557 solid "internal" {shape="INTERNAL"; top=7; left=8.5; color="black"; priority=20;};
559 shape "TOUCHPAD" {corner=2, {[68,40]}};
560 solid "touchpad" {shape="TOUCHPAD"; top=153; left=104; color="grey20"; priority=20;};
562 shape "TOUCHPADBUTTONS" {corner=1,
563 {[0,0], [33.5,0], [33.5,16], [6,16]},
564 {[34.5,0], [68,0], [61, 16], [34.5,16]}};
565 solid "touchleft" {shape="TOUCHPADBUTTONS"; top=198; left=104; color="grey20"; priority=20;};
567 shape "NIPPLE" {corner=3, {[7.5,7.5]}};
568 solid "nipple" {shape="NIPPLE"; top=87; left=134; color="blue"; priority=200;};
569 shape "NIPPLEBUTTONS" {corner=2, {[32.5,13]}, {[33.5,0],[66,13]}};
570 solid "nipplebuttons" {shape="NIPPLEBUTTONS"; top=131; left=105; color="grey20"; priority=20;};
572 shape "FILLINGS" {corner=1.5, {[19,15]}, {[38,0],[55,15]}};
573 solid "fillings" {shape="FILLINGS"; top=112; left=238; color="grey"; priority=200;};
575 shape "FUNC" {corner=1.5, {[16.3,12]}, {[2,0.5], [14,10]}};
576 shape "ESC" {corner=1.5, {[18,12]}, {[2,0.5], [16,10]}};
577 shape "BKSP" {corner=1.5, {[36.5,18]}, {[3,0.5], [33.5,14]}};
579 section "Function" {key.color="grey"; priority=100; top=9; left=10; width=290; height=28;
580 row {top=0; left=161.1; keys {{<MENU>,"FUNC",1.1}, {<PRSC>,"FUNC",1.1}, {<NMLK>,"FUNC",1.1},
581 {<PAUS>,"FUNC",1.1}, {<INS>,"FUNC",2.5}, {<HOME>,"FUNC",1.1}, {<PGUP>,"FUNC",1.1}};};
582 row {top=12.5; left=0; keys {{<ESC>,"ESC",0},
583 {<FK01>,"FUNC",2.7}, {<FK02>,"FUNC",1.1}, {<FK03>,"FUNC",1.1}, {<FK04>,"FUNC",1.1},
584 {<FK05>,"FUNC",2.5}, {<FK06>,"FUNC",1.1}, {<FK07>,"FUNC",1.1}, {<FK08>,"FUNC",1.1},
585 {<FK09>,"FUNC",2.5}, {<FK10>,"FUNC",1.1}, {<FK11>,"FUNC",1.1}, {<FK12>,"FUNC",1.1},
586 {<DELE>,"FUNC",2.5}, {<END>, "FUNC",1.1}, {<PGDN>,"FUNC",1.1}};};
587 }; // End of "Function" section
589 shape "NORM" {corner=1.5, {[18,18]}, {[3,0.5], [14.8,14]}};
590 shape "TABK" {corner=1.5, {[28,18]}, {[3,0.5], [25,14]}};
591 shape "CAPS" {corner=1.5, {[32,18]}, {[3,0.5], [22,14]}};
592 shape "LFSH" {corner=1.5, {[23,18]}, {[3,0.5], [20,14]}};
593 shape "RTSH" {corner=1.5, {[50,18]}, {[3,1], [47,14]}};
594 shape "RTRN" {corner=1.5, {[0,0],[26.5,0],[26.5,37],[4,37],[4,18],[0,18]},
595 {[3,0.5], [23.5,0.5], [23.5,33], [7,33], [7,14], [3,14]}};
596 shape "SPCE" {corner=1.5,{[95,18]}, {[3,0.5],[92,14]}};
597 shape "LCTL" {corner=1.5, {[27,18]}, {[3,0.5],[24,14]}};
598 shape "LALT" {corner=1.5, {[22,18]}, {[3,0.5],[19,14]}};
599 shape "WIN" {corner=1.5, {[18,18]}, {[3,0.5],[15,14]}};
601 section "Alpha" {key.color="grey"; priority=100; top=36; left=10; width=290; height=18;
602 row {top=0; left=0; keys {{<TLDE>, "NORM", 0}, {<AE01>, "NORM", 1}, {<AE02>, "NORM", 1}, {<AE03>, "NORM", 1},
603 {<AE04>, "NORM", 1}, {<AE05>, "NORM", 1}, {<AE06>, "NORM", 1}, {<AE07>, "NORM", 1}, {<AE08>, "NORM", 1},
604 {<AE09>, "NORM", 1}, {<AE10>, "NORM", 1}, {<AE11>, "NORM", 1}, {<AE12>, "NORM", 1}, {<BKSP>, "BKSP", 1}};};
605 row {top=19; left=0; keys {{<TAB>, "TABK", 0}, {<AD01>, "NORM", 1}, {<AD02>, "NORM", 1}, {<AD03>, "NORM", 1},
606 {<AD04>, "NORM", 1}, {<AD05>, "NORM", 1}, {<AD06>, "NORM", 1}, {<AD07>, "NORM", 1}, {<AD08>, "NORM", 1},
607 {<AD09>, "NORM", 1}, {<AD10>, "NORM", 1}, {<AD11>, "NORM", 1}, {<AD12>, "NORM", 1}, {<RTRN>, "RTRN", 1}};};
608 row {top=38; left=0; keys {{<CAPS>, "CAPS", 0}, {<AC01>, "NORM", 1}, {<AC02>, "NORM", 1}, {<AC03>, "NORM", 1},
609 {<AC04>, "NORM", 1}, {<AC05>, "NORM", 1}, {<AC06>, "NORM", 1}, {<AC07>, "NORM", 1}, {<AC08>, "NORM", 1},
610 {<AC09>, "NORM", 1}, {<AC10>, "NORM", 1}, {<AC11>, "NORM", 1}, {<AC12>, "NORM", 1}};};
611 // TODO There's a weird <> key here, check it out:
612 row {top=57; left=0; keys {{<LFSH>, "LFSH", 0}, {<AB01>, "NORM", 1}, {<AB02>, "NORM", 1}, {<AB03>, "NORM", 1},
613 {<AB04>, "NORM", 1}, {<AB05>, "NORM", 1}, {<AB06>, "NORM", 1}, {<AB07>, "NORM", 1}, {<AB08>, "NORM", 1},
614 {<AB09>, "NORM", 1}, {<AB10>, "NORM", 1}, {<AB11>, "NORM", 1}, {<RTSH>, "RTSH", 1}};};
615 row {top=76; left=0; keys {{<LCTL>, "LCTL", 0}, {<FN>, "WIN", 1},{<LWIN>, "WIN", 1}, {<LALT>, "LALT", 1},
616 {<SPCE>, "SPCE", 1}, {<RALT>, "WIN", 1},{<RCTL>, "LALT", 1}};};
617 }; // End of "Alpha" section
619 shape "ARROW" {corner=1.5, {[17,15]}, {[2,0.5],[15,13]}};
620 section "Arrows" {key.color="grey"; priority=110; top=112; left=240; width=43; height=31;
621 row {top=0; left=18; keys {{<UP>, "ARROW", 0}};};
622 row {top=16; left=0; keys {{<LEFT>, "ARROW", 0}, {<DOWN>, "ARROW", 1}, {<RGHT>, "ARROW", 1}};};
623 }; // End of "Arrows" section
625 shape "LEDS" {corner=3, {[25,7]}};
626 solid "leds" {shape="LEDS"; top=5.7; left=69; color="grey"; priority=10;};
627 shape "LED" {corner=0, {[0,1.5], [3,4.5]}, {[0.5,1.5], [1,0] , [2,0], [2.5,1.5]}};
628 indicator.onColor="green";
629 indicator.offColor="grey";
631 indicator.shape="LED";
632 indicator.priority=200;
633 indicator "Num Lock" {left=72;};
634 indicator "Caps Lock" {left=80;};
635 indicator "Scroll Lock" {left=88;};
637 text "LATITUDE" {left=10; top=7; text="L A T I T U D E | D620";};
639 shape "ROUND" {corner=5, {[10,10]}};
640 shape "POWER" {corner=7, {[15,15]}};
641 section "Topbuttons" {key.color="grey"; priority=110; top=2; left=100;
642 row {top=2; left=0; keys {{<VLUP>, "ROUND", 0}, {<VLDN>, "ROUND", 3}, {<MUTE>, "ROUND", 3}};};
643 row {top=0; left=45; keys {{<POWR>, "POWER", 0}};};
644 }; // End of "TopButtons" section