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= "HP PC101";
33 shape.cornerRadius= 1;
34 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
35 shape "BKSP" { { [ 37,18] }, { [2,1], [ 35,17] } };
36 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
37 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,17] } };
38 shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,17] } };
39 shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
40 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
41 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,17] } };
42 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
43 shape "SPCE" { { [132,18] }, { [2,1], [130,17] } };
44 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
45 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
55 keys { { <ESC>, color="grey20" },
56 { <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
57 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
58 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
59 { <PRSC>, 8 }, <SCLK>, <PAUS>
62 }; // End of "Function" section
68 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
69 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
70 <AE10>, <AE11>, <AE12>,
71 { <BKSP>, "BKSP", color="grey20" }
76 keys { { <TAB>, "TABK", color="grey20" },
77 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
78 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
79 <AD11>, <AD12>, { <BKSL>, "BKSL" }
84 keys { { <CAPS>, "CAPS", color="grey20" },
85 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
86 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
87 <AC11>, { <RTRN>, "RTRN", color="grey20" }
92 keys { { <LFSH>, "LFSH", color="grey20" },
93 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
94 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
95 { <RTSH>, "RTSH", color="grey20" }
102 keys { <LCTL>, { <LALT>, 20 },
103 { <SPCE>, "SPCE", color="white" },
104 <RALT>, { <RCTL>, 20 }
107 }; // End of "Alpha" section
115 keys { <INS>, <HOME>, <PGUP> };
119 keys { <DELE>, <END>, <PGDN> };
128 keys { <LEFT>, <DOWN>, <RGHT> };
130 }; // End of "Editing" section
138 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
142 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
146 keys { <KP4>, <KP5>, <KP6> };
150 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
154 keys { { <KP0>, "KP0" }, <KPDL> };
156 }; // End of "Keypad" section
158 alias <AC00> = <CAPS>;
159 alias <AA00> = <LCTL>;
161 }; // End of "default" geometry
165 description= "HP hil";
169 shape.cornerRadius= 1;
170 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
171 shape "BKSP" { { [ 32,18] }, { [2,1], [ 30,17] } };
172 shape "TABK" { { [ 32,18] }, { [2,1], [ 30,17] } };
173 shape "BKSL" { { [ 24,18] }, { [2,1], [ 22,17] } };
174 shape "RTRN" { { [ 38,18] }, { [2,1], [ 36,17] } };
175 shape "LFSH" { { [ 28,18] }, { [2,1], [ 26,17] } };
176 shape "RTSH" { { [ 28,18] }, { [2,1], [ 26,17] } };
177 shape "SPCE" { { [151,18] }, { [2,1], [150,17] } };
178 shape "KP0" { { [ 38,18] }, { [2,1], [ 36,17] } };
179 shape "KPTB" { { [ 18,38] }, { [2,1], [ 16,37] } };
180 shape "TLDE" { { [ 24,18] }, { [2,1], [ 22,17] } };
181 shape "FKT1" { { [ 17,14] }, { [2,1], [ 15,13] } };
182 shape "FKT2" { { [ 23,14] }, { [2,1], [ 21,13] } };
192 keys { { <BRK>, "FKT1" }, { <STOP>, "FKT1" } ,
193 { <FK01>, "FKT2", 10 }, { <FK02>, "FKT2" },
194 { <FK03>, "FKT2" }, { <FK04>, "FKT2" },
195 { <MENU>, "FKT1" }, { <SYST>, "FKT1" },
196 { <FK05>, "FKT2" }, { <FK06>, "FKT2" },
197 { <FK07>, "FKT2" }, { <FK08>, "FKT2" },
198 { <CLRL>, "FKT1", 10 }, { <CLR>, "FKT1" },
199 { <FK09>, "FKT1", 19 }, { <FK10>, "FKT1" },
200 { <FK11>, "FKT1" }, { <FK12>, "FKT1" }
203 }; // End of "Function" section
209 keys { { <TLDE>, "TLDE" }, <AE01>, <AE02>, <AE03>, <AE04>,
210 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
211 <AE10>, <AE11>, <AE12>,
212 { <BKSP>, "BKSP" }, <INSL>, <DELL>
217 keys { { <TAB>, "TABK" },
218 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
219 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
220 <AD11>, <AD12>, { <BKSL>, "BKSL" },
226 keys { <CAPS>, <LCTL>,
227 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
228 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
229 <AC11>, { <RTRN>, "RTRN" },
235 keys { <ESC>, { <LFSH>, "LFSH" },
236 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
237 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
238 { <RTSH>, "RTSH" }, <SELE>,
244 keys { <PRSC>, { <LALT>, 30 },
246 <RALT>, { <LEFT>, 30 }, <DOWN>, <RGHT>
249 }; // End of "Alpha" section
256 keys { <KPMU>, <KPDV>, <KPAD>, <KPSU> };
260 keys { <KP7>, <KP8>, <KP9>, <KPEN> };
264 keys { <KP4>, <KP5>, <KP6>, <KPSP> };
268 keys { <KP1>, <KP2>, <KP3>, { <KPTB>, "KPTB" } };
272 keys { { <KP0>, "KP0" }, <KPDL> };
274 }; // End of "Keypad" section
276 }; // End of "default" geometry
279 // Created by Alexander Pohoyda <alexander.pohoyda@gmx.net>
280 // Geometry specification for HP Omnibook keyboards.
281 // Compatible Models: 6100, 6000.
283 xkb_geometry "omnibook" {
286 baseColor = "grey80";
287 labelColor = "white";
289 shape "FN0" { cornerRadius = 1, { [15.5, 12] }, { [1, 0], [14.5, 11] } };
290 shape "NORM" { cornerRadius = 1, { [18, 16] }, { [2, 0], [16, 14] } };
291 shape "BKSP" { cornerRadius = 1, { [31, 16] }, { [2, 0], [29, 14] } };
292 shape "TABK" { cornerRadius = 1, { [27, 16] }, { [2, 0], [25, 14] } };
293 shape "CAPS" { cornerRadius = 1, { [32, 16] }, { [2, 0], [30, 14] } };
294 shape "RTSH" { cornerRadius = 1, { [45, 16] }, { [2, 0], [43, 14] } };
295 shape "MODK" { cornerRadius = 1, { [28, 16] }, { [2, 0], [26, 14] } };
296 shape "SPCE" { cornerRadius = 1, { [90, 16] }, { [2, 0], [88, 14] } };
297 shape "ARRS" { cornerRadius = 1, { [17, 12] }, { [2, 0], [15, 11] } };
299 shape "LED" { cornerRadius = 1, { [2, 4] } };
301 shape "KEYS" { cornerRadius = 1,
304 [280, 0], [280, 125],
305 [224, 125], [224, 112],
316 shape "NULL1" { cornerRadius = 1, { [54, 16] } };
325 shape "NULL2" { cornerRadius = 1, { [19, 14] } };
334 indicator.onColor = "green";
335 indicator.offColor = "grey10";
337 indicator.shape = "LED";
338 indicator "Caps Lock" { left = 45; };
339 indicator "Num Lock" { left = 60; };
340 indicator "Scroll Lock" { left = 75; };
341 indicator "HDDActivity" { onColor = "red"; left = 90; };
343 key.color = "grey60";
353 keys { <PRSC>, <PAUS>, <INS>, <HOME>, <PGUP> };
358 <FK01>, <FK02>, <FK03>, <FK04>,
359 <FK05>, <FK06>, <FK07>, <FK08>,
360 <FK09>, <FK10>, <FK11>, <FK12>,
361 <SCLK>, <DELE>, <END>, <PGDN>
364 }; // End of "Function" section
373 keys { <LCTL>, <FN>, <LWIN>, <LALT>,
374 { <SPCE>, "SPCE" }, <RALT>, <MENU>, <RCTL>
377 }; // End of "Control" section
379 section "Navigation" {
391 keys { <LEFT>, <DOWN>, <RGHT> };
393 }; // End of "Navigation" section
395 shape "STIK" { cornerRadius = 4, { [7, 7] } };
407 xkb_geometry "omnibook_intl" {
408 include "hp(omnibook)"
409 description = "HP Omnibook 6000/6100, Intl";
411 shape "RTRN" { cornerRadius = 1,
412 { [22, 0], [22, 33], [5, 33], [5, 16], [0, 16], [0, 0] },
413 { [20, 0], [20, 31], [7, 31], [7, 14], [2, 14], [2, 0] } };
414 shape "LFSH" { cornerRadius = 1, { [23, 16] }, { [2, 0], [21, 14] } };
418 key.color = "grey60";
424 keys { <AE00>, <AE01>, <AE02>, <AE03>, <AE04>,
425 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
426 <AE10>, <AE11>, <AE12>, { <BKSP>, "BKSP" }
431 keys { { <TAB>, "TABK" },
432 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
433 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
434 <AD11>, <AD12>, { <RTRN>, "RTRN" }
439 keys { { <CAPS>, "CAPS" },
440 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
441 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
447 keys { { <LFSH>, "LFSH" }, <LSGT>,
448 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
449 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
453 }; // End of "Alpha" section
456 xkb_geometry "mini110" {
458 description= "HP Mini 110";
462 shape.cornerRadius = 0;
463 shape "FN0" { { [ 14, 10 ] } , { [ 14, 10 ] } };
464 shape "NORM" { { [ 16.7, 16 ] } , { [ 16.7, 16 ] } };
465 shape "TLDE" { { [ 12, 16 ] } , { [ 12, 16 ] } };
466 shape "ONE" { { [ 14, 16 ] } , { [ 14, 16 ] } };
467 shape "BKSP" { { [ 31.3, 16 ] } , { [ 31.3, 16 ] } };
468 shape "BKSL" { { [ 23.9, 16 ] } , { [ 23.9, 16 ] } };
469 shape "CAPS" { { [ 22, 16 ] } , { [ 22, 16 ] } };
470 shape "RTRN" { { [ 36.3, 16 ] } , { [ 36.3, 16 ] } };
471 shape "LFSH" { { [ 31, 16 ] } , { [ 31, 16 ] } };
472 shape "RTSH" { { [ 45, 16 ] } , { [ 45, 16 ] } };
473 shape "CTLS" { { [ 16.5, 19 ] } , { [ 16.5, 19 ] } };
474 shape "SPCE" { { [ 78.4, 19 ] } , { [ 78.4, 19 ] } };
475 shape "ARRW" { { [ 16.7, 9 ] } , { [ 16.7, 9 ] } };
485 <ESC>, <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
486 <FK06>, <FK07>, <FK08>, <FK09>, <FK10>, <FK11>,
487 <FK12>, <PAUS>, <SCLK>, <INS>, <DELE>
498 keys { { <TLDE>, "TLDE" } , { <AE01>, "ONE" }, <AE02>, <AE03>, <AE04>,
499 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
500 <AE10>, <AE11>, <AE12>,
506 keys { <TAB>, <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
507 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
508 <AD11>, <AD12>, { <BKSL>, "BKSL" }
513 keys { { <CAPS>, "CAPS" } ,
514 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
515 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
516 <AC11>, { <RTRN>, "RTRN" }
521 keys { { <LFSH>, "LFSH" },
522 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
523 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
536 <LCTL>, <FN>, <LWIN>, <LALT>, { <SPCE>, "SPCE" }, <RALT>, <MENU>, <RCTL>
554 <LEFT>, <DOWN>, <RGHT>
566 description = "HP Pavilion dv5";
568 shape.cornerRadius = 1;
570 shape "ESC" { { [20.0, 12.5] }, { [2.2, 1], [17.8, 10.5] } };
571 shape "FN0" { { [15.9, 12.5] }, { [2.2, 1], [13.7, 10.5] } };
572 shape "DELE" { { [19.4, 12.5] }, { [2.2, 1], [17.2, 10.5] } };
574 shape "NORM" { { [17.9, 18.3] }, { [2.2, 1], [15.7, 16.3] } };
576 shape "BKSP" { { [36.1, 18.3] }, { [2.4, 1], [33.7, 16.3] } };
578 shape "TABK" { { [26.8, 18.3] }, { [2.4, 1], [24.4, 16.3] } };
579 shape "BKSL" { { [27.1, 18.3] }, { [2.4, 1], [24.7, 16.3] } };
581 shape "CAPS" { { [31.6, 18.3] }, { [2.4, 1], [29.2, 16.3] } };
582 shape "RTRN" { { [41.2, 18.3] }, { [2.4, 1], [39.3, 16.3] } };
584 shape "LFSH" { { [41.5, 18.3] }, { [2.4, 1], [38.8, 16.3] } };
585 shape "RTSH" { { [31.5, 18.3] }, { [2.4, 1], [29.1, 16.3] } };
587 shape "LCTL" { { [22.4, 18.3] }, { [2.2, 1], [20.2, 16.3] } };
588 shape "RCTL" { { [22.6, 18.3] }, { [2.2, 1], [20.4, 16.3] } };
589 shape "CTLS" { { [17.9, 18.3] }, { [2.2, 1], [15.7, 16.3] } };
590 shape "SPCE" { { [94.3, 18.3] }, { [2.5, 1], [91.8, 16.3] } };
592 shape "ARRW" { { [17.9, 18.3] }, { [2.2, 1], [15.7, 16.3] } };
594 shape "EDIT" { { [16.6, 18.3] }, { [2.2, 1], [14.4, 16.3] } };
605 {2.9, <FK01>}, <FK02>, <FK03>, <FK04>,
606 {2.9, <FK05>}, <FK06>, <FK07>, <FK08>,
607 {2.9, <FK09>}, <FK10>, <FK11>, <FK12>,
608 {2.9, <NMLK>}, <PAUS>, <INS>, {<DELE>, "DELE"}
620 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
621 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
622 <AE10>, <AE11>, <AE12>, { <BKSP>, "BKSP" }
627 keys { { <TAB>, "TABK" },
628 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
629 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
630 <AD11>, <AD12>, { <BKSL>, "BKSL" }
635 keys { { <CAPS>, "CAPS" },
636 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
637 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
638 <AC11>, { <RTRN>, "RTRN" }
643 keys { { <LFSH>, "LFSH" },
644 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
645 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
649 }; // End of "Alpha" section
658 keys { {<LCTL>, "LCTL"}, <FN>, <LWIN>, <LALT>, {<SPCE>, "SPCE"},
659 <RALT>, <MENU>, {<RCTL>, "RCTL"}
673 <HOME>, <PGUP>, <PGDN>, <END>
693 <LEFT>, <DOWN>, <RGHT>