1 // $Xorg: hp,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/hp,v 1.8 2003/08/09 14:30:46 pascal Exp $
29 default xkb_geometry "pc101" {
31 description= "HP PC101";
35 shape.cornerRadius= 1;
36 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
37 shape "BKSP" { { [ 37,18] }, { [2,1], [ 35,17] } };
38 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
39 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,17] } };
40 shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,17] } };
41 shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
42 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
43 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,17] } };
44 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
45 shape "SPCE" { { [132,18] }, { [2,1], [130,17] } };
46 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
47 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
57 keys { { <ESC>, color="grey20" },
58 { <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
59 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
60 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
61 { <PRSC>, 8 }, <SCLK>, <PAUS>
64 }; // End of "Function" section
70 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
71 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
72 <AE10>, <AE11>, <AE12>,
73 { <BKSP>, "BKSP", color="grey20" }
78 keys { { <TAB>, "TABK", color="grey20" },
79 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
80 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
81 <AD11>, <AD12>, { <BKSL>, "BKSL" }
86 keys { { <CAPS>, "CAPS", color="grey20" },
87 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
88 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
89 <AC11>, { <RTRN>, "RTRN", color="grey20" }
94 keys { { <LFSH>, "LFSH", color="grey20" },
95 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
96 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
97 { <RTSH>, "RTSH", color="grey20" }
104 keys { <LCTL>, { <LALT>, 20 },
105 { <SPCE>, "SPCE", color="white" },
106 <RALT>, { <RCTL>, 20 }
109 }; // End of "Alpha" section
117 keys { <INS>, <HOME>, <PGUP> };
121 keys { <DELE>, <END>, <PGDN> };
130 keys { <LEFT>, <DOWN>, <RGHT> };
132 }; // End of "Editing" section
140 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
144 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
148 keys { <KP4>, <KP5>, <KP6> };
152 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
156 keys { { <KP0>, "KP0" }, <KPDL> };
158 }; // End of "Keypad" section
160 alias <AC00> = <CAPS>;
161 alias <AA00> = <LCTL>;
163 }; // End of "default" geometry
167 description= "HP hil";
171 shape.cornerRadius= 1;
172 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
173 shape "BKSP" { { [ 32,18] }, { [2,1], [ 30,17] } };
174 shape "TABK" { { [ 32,18] }, { [2,1], [ 30,17] } };
175 shape "BKSL" { { [ 24,18] }, { [2,1], [ 22,17] } };
176 shape "RTRN" { { [ 38,18] }, { [2,1], [ 36,17] } };
177 shape "LFSH" { { [ 28,18] }, { [2,1], [ 26,17] } };
178 shape "RTSH" { { [ 28,18] }, { [2,1], [ 26,17] } };
179 shape "SPCE" { { [151,18] }, { [2,1], [150,17] } };
180 shape "KP0" { { [ 38,18] }, { [2,1], [ 36,17] } };
181 shape "KPTB" { { [ 18,38] }, { [2,1], [ 16,37] } };
182 shape "TLDE" { { [ 24,18] }, { [2,1], [ 22,17] } };
183 shape "FKT1" { { [ 17,14] }, { [2,1], [ 15,13] } };
184 shape "FKT2" { { [ 23,14] }, { [2,1], [ 21,13] } };
194 keys { { <BRK>, "FKT1" }, { <STOP>, "FKT1" } ,
195 { <FK01>, "FKT2", 10 }, { <FK02>, "FKT2" },
196 { <FK03>, "FKT2" }, { <FK04>, "FKT2" },
197 { <MENU>, "FKT1" }, { <SYST>, "FKT1" },
198 { <FK05>, "FKT2" }, { <FK06>, "FKT2" },
199 { <FK07>, "FKT2" }, { <FK08>, "FKT2" },
200 { <CLRL>, "FKT1", 10 }, { <CLR>, "FKT1" },
201 { <FK09>, "FKT1", 19 }, { <FK10>, "FKT1" },
202 { <FK11>, "FKT1" }, { <FK12>, "FKT1" }
205 }; // End of "Function" section
211 keys { { <TLDE>, "TLDE" }, <AE01>, <AE02>, <AE03>, <AE04>,
212 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
213 <AE10>, <AE11>, <AE12>,
214 { <BKSP>, "BKSP" }, <INSL>, <DELL>
219 keys { { <TAB>, "TABK" },
220 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
221 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
222 <AD11>, <AD12>, { <BKSL>, "BKSL" },
228 keys { <CAPS>, <LCTL>,
229 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
230 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
231 <AC11>, { <RTRN>, "RTRN" },
237 keys { <ESC>, { <LFSH>, "LFSH" },
238 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
239 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
240 { <RTSH>, "RTSH" }, <SELE>,
246 keys { <PRSC>, { <LALT>, 30 },
248 <RALT>, { <LEFT>, 30 }, <DOWN>, <RGHT>
251 }; // End of "Alpha" section
258 keys { <KPMU>, <KPDV>, <KPAD>, <KPSU> };
262 keys { <KP7>, <KP8>, <KP9>, <KPEN> };
266 keys { <KP4>, <KP5>, <KP6>, <KPSP> };
270 keys { <KP1>, <KP2>, <KP3>, { <KPTB>, "KPTB" } };
274 keys { { <KP0>, "KP0" }, <KPDL> };
276 }; // End of "Keypad" section
278 }; // End of "default" geometry
281 // Created by Alexander Pohoyda <alexander.pohoyda@gmx.net>
282 // Geometry specification for HP Omnibook keyboards.
283 // Compatible Models: 6100, 6000.
285 xkb_geometry "omnibook" {
288 baseColor = "grey80";
289 labelColor = "white";
291 shape "FN0" { cornerRadius = 1, { [15.5, 12] }, { [1, 0], [14.5, 11] } };
292 shape "NORM" { cornerRadius = 1, { [18, 16] }, { [2, 0], [16, 14] } };
293 shape "BKSP" { cornerRadius = 1, { [31, 16] }, { [2, 0], [29, 14] } };
294 shape "TABK" { cornerRadius = 1, { [27, 16] }, { [2, 0], [25, 14] } };
295 shape "CAPS" { cornerRadius = 1, { [32, 16] }, { [2, 0], [30, 14] } };
296 shape "RTSH" { cornerRadius = 1, { [45, 16] }, { [2, 0], [43, 14] } };
297 shape "MODK" { cornerRadius = 1, { [28, 16] }, { [2, 0], [26, 14] } };
298 shape "SPCE" { cornerRadius = 1, { [90, 16] }, { [2, 0], [88, 14] } };
299 shape "ARRS" { cornerRadius = 1, { [17, 12] }, { [2, 0], [15, 11] } };
301 shape "LED" { cornerRadius = 1, { [2, 4] } };
303 shape "KEYS" { cornerRadius = 1,
306 [280, 0], [280, 125],
307 [224, 125], [224, 112],
318 shape "NULL1" { cornerRadius = 1, { [54, 16] } };
327 shape "NULL2" { cornerRadius = 1, { [19, 14] } };
336 indicator.onColor = "green";
337 indicator.offColor = "grey10";
339 indicator.shape = "LED";
340 indicator "Caps Lock" { left = 45; };
341 indicator "Num Lock" { left = 60; };
342 indicator "Scroll Lock" { left = 75; };
343 indicator "HDDActivity" { onColor = "red"; left = 90; };
345 key.color = "grey60";
355 keys { <PRSC>, <PAUS>, <INS>, <HOME>, <PGUP> };
360 <FK01>, <FK02>, <FK03>, <FK04>,
361 <FK05>, <FK06>, <FK07>, <FK08>,
362 <FK09>, <FK10>, <FK11>, <FK12>,
363 <SCLK>, <DELE>, <END>, <PGDN>
366 }; // End of "Function" section
375 keys { <LCTL>, <FN>, <LWIN>, <LALT>,
376 { <SPCE>, "SPCE" }, <RALT>, <MENU>, <RCTL>
379 }; // End of "Control" section
381 section "Navigation" {
393 keys { <LEFT>, <DOWN>, <RGHT> };
395 }; // End of "Navigation" section
397 shape "STIK" { cornerRadius = 4, { [7, 7] } };
409 xkb_geometry "omnibook_intl" {
410 include "hp(omnibook)"
411 description = "HP Omnibook 6000/6100, Intl";
413 shape "RTRN" { cornerRadius = 1,
414 { [22, 0], [22, 33], [5, 33], [5, 16], [0, 16], [0, 0] },
415 { [20, 0], [20, 31], [7, 31], [7, 14], [2, 14], [2, 0] } };
416 shape "LFSH" { cornerRadius = 1, { [23, 16] }, { [2, 0], [21, 14] } };
420 key.color = "grey60";
426 keys { <AE00>, <AE01>, <AE02>, <AE03>, <AE04>,
427 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
428 <AE10>, <AE11>, <AE12>, { <BKSP>, "BKSP" }
433 keys { { <TAB>, "TABK" },
434 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
435 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
436 <AD11>, <AD12>, { <RTRN>, "RTRN" }
441 keys { { <CAPS>, "CAPS" },
442 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
443 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
449 keys { { <LFSH>, "LFSH" }, <LSGT>,
450 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
451 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
455 }; // End of "Alpha" section