1 // $Xorg: microsoft,v 1.3 2000/08/17 19:54:35 cpqbld Exp $
3 default xkb_geometry "natural" {
5 // Approximate layout for a Microsoft Natural Keyboard
6 description= "Microsoft Natural Keyboard";
10 shape.cornerRadius= 1;
11 shape "LDEF" { { [ 18,18] }, { [2,1], [15,15] } };
12 shape "TABK" { { [ 26,18] }, { [2,1], [23,15] } };
13 shape "CAPS" { { [ 30,18] }, { [2,1], [23,15] } };
14 shape "LFSH" { { [ 41,18] }, { [2,1], [38,15] } };
15 shape "KEY6" { { [ 22,18] }, { [2,1], [15,15] } };
16 shape "KEYT" { { [ 33,18] }, { [2,1], [15,15] } };
17 shape "KEYG" { { [ 29,18] }, { [2,1], [15,15] } };
19 approx= { [ 32, 22 ] },
20 { [ 0, 0], [ 32, 0 ], [ 32, 23 ], [ 0, 22 ] },
21 { [ 2, 1], [ 29, 1 ], [ 29, 17 ], [ 2, 15 ] }
24 approx= { [ 32, 23 ] },
25 { [ 0, 0], [ 32, 0 ], [ 32, 24 ], [ 0, 23 ] },
26 { [ 2, 1], [ 29, 1 ], [ 29, 18 ], [ 2, 17 ] }
29 approx= { [ 32, 24 ] },
30 { [ 0, 0], [ 32, 0 ], [ 32, 25 ], [ 0, 24 ] },
31 { [ 2, 1], [ 29, 1 ], [ 29, 20 ], [ 2, 19 ] }
33 shape "RDEF" { { [ 18,18] }, { [3,1], [15,15] } };
34 shape "KEY7" { { [ 28, 18 ] }, { [ 14, 1], [26, 15] } };
35 shape "KEYH" { { [ 24, 18 ] }, { [ 10, 1], [22, 15] } };
36 shape "KEYN" { { [ 32, 18 ] }, { [ 18, 1], [30, 15] } };
37 shape "BKSP" { { [ 41, 18 ] }, { [ 3, 1], [39, 15] } };
38 shape "BKSL" { { [ 24, 18 ] }, { [ 3, 1], [22, 15] } };
39 shape "RTRN" { { [ 37, 18 ] }, { [ 3, 1], [35, 15] } };
40 shape "RTSH" { { [ 43, 18 ] }, { [ 3, 1], [41, 15] } };
42 approx= { [ 27, 24 ] },
43 { [ 0, 0], [ 27, 0 ], [ 27, 24 ], [ 0, 25 ] },
44 { [ 3, 1], [ 25, 1 ], [ 25, 19 ], [ 3, 20 ] }
47 approx= { [ 27, 23 ] },
48 { [ 0, 0], [ 27, 0 ], [ 27, 23 ], [ 0, 24 ] },
49 { [ 3, 1], [ 25, 1 ], [ 25, 18 ], [ 3, 19 ] }
52 approx= { [ 27, 21 ] },
53 { [ 0, 0], [ 27, 0 ], [ 27, 21 ], [ 0, 23 ] },
54 { [ 3, 1], [ 25, 1 ], [ 25, 16 ], [ 3, 17 ] }
57 approx= { [ 27, 19 ] },
58 { [ 0, 0], [ 27, 0 ], [ 27, 19 ], [ 0, 21 ] },
59 { [ 3, 1], [ 25, 1 ], [ 25, 14 ], [ 3, 15 ] }
61 shape "KPAD" { { [ 18, 37 ] }, { [ 3, 1 ], [ 16, 34 ] } };
62 shape "KP0" { { [ 37, 18 ] }, { [ 3, 1 ], [ 35, 15 ] } };
64 { [ 4, 3], [42,10], [44, 0], [88, 0], [90,10], [130, 3],
65 [134,26], [99,30], [67,33], [33,30], [ 0,26] },
66 { [ 6, 4.5], [43,11], [45, 1], [87, 1], [89,11], [128, 4.5],
67 [131,23], [99,28], [67,32], [33,28], [ 3,23] }
72 { [ 25, 0 ], [ 177, 17 ], [ 329, 0 ], [ 542, 0 ],
73 [ 542, 150 ], [ 354, 150 ], [ 177, 185 ], [ 0, 150 ] }
84 section "LeftFunction" {
90 keys { <ESC>, { <FK01>, 12 }, <FK02>, <FK03>, <FK04>, <FK05> };
92 }; // End of "LeftFunction" section
100 keys { <AE00>, <AE01>, <AE02>, <AE03>, <AE04>,
101 <AE05>, { <AE06>, "KEY6" }
106 keys { { <TAB>, "TABK" },
107 <AD01>, <AD02>, <AD03>, <AD04>, { <AD05>, "KEYT" }
112 keys { { <CAPS>, "CAPS" },
113 <AC01>, <AC02>, <AC03>, <AC04>, { <AC05>, "KEYG" }
118 keys { { <LFSH>, "LFSH" },
119 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>
124 keys { { <LCTL>, "LCTL" }, { <LWIN>, "LWIN" }, { <LALT>, "LALT" } };
126 }; // End of "LeftAlpha" section
129 section "RightFunction" {
136 keys { <FK06>, <FK07>, <FK08>, <FK09>, <FK10>, <FK11>, <FK12> };
138 }; // End of "RightFunction" section
140 section "RightAlpha" {
147 keys { { <AE07>, "KEY7" },
148 <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
155 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
161 keys { { <AC06>, "KEYH" },
162 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
168 keys { { <AB06>, "KEYN" },
169 <AB07>, <AB08>, <AB09>, <AB10>,
176 keys { { <RALT>, "RALT" }, { <RWIN>, "RWIN" },
177 { <MENU>, "MENU" }, { <RCTL>, "RCTL" }
180 }; // End of "RightAlpha" section
186 row { keys { <SPCE> }; };
194 keys { <PRSC>, <SCLK>, <PAUS> };
198 keys { <INS>, <HOME>, <PGUP> };
202 keys { <DELE>, <END>, <PGDN> };
211 keys { <LEFT>, <DOWN>, <RGHT> };
213 }; // End of "Editing" section
219 indicator.onColor= "green";
220 indicator.offColor= "green30";
222 indicator.shape= "LED";
223 indicator "Num Lock" { top= 90; };
224 indicator "Caps Lock" { top= 107; };
225 indicator "Scroll Lock" { top= 127; };
232 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
236 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
240 keys { <KP4>, <KP5>, <KP6> };
244 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
248 keys { { <KP0>, "KP0" }, <KPDL> };
250 }; // End of "Keypad" section
252 alias <AC00> = <CAPS>;
253 alias <AA00> = <LCTL>;
256 // Approximate layout for a Microsoft Natural(R) Keyboard Elite
258 // Modified from // $Xorg: microsoft,v 1.3 2000/08/17 19:54:35 cpqbld Exp $
259 // by Pavel Kurashov <pavell@mail.ru> Mon Oct 8 22:08:20 NOVST 2007
261 // * Function, editing and navigation keys are reduced height
262 // * Navigation keys are repositioned in two column
263 // * Leds are enlarged for better look
264 // * "BKSP" alligned with "BKSL" and "RTRN"
265 // * Ouline Edges slightly modified
267 xkb_geometry "elite" {
269 // Approximate layout for a Microsoft Natural(R) Keyboard Elite
270 description= "Microsoft Natural(r) Keyboard Elite";
274 shape.cornerRadius= 1;
275 shape "LDEF" { { [ 18,18] }, { [2,1], [15,15] } };
276 shape "FKEY" { { [ 18,13] }, { [2,1], [15,10] } };
277 shape "TABK" { { [ 26,18] }, { [2,1], [23,15] } };
278 shape "CAPS" { { [ 30,18] }, { [2,1], [23,15] } };
279 shape "LFSH" { { [ 41,18] }, { [2,1], [38,15] } };
280 shape "KEY6" { { [ 22,18] }, { [2,1], [15,15] } };
281 shape "KEYT" { { [ 33,18] }, { [2,1], [15,15] } };
282 shape "KEYG" { { [ 29,18] }, { [2,1], [15,15] } };
284 approx= { [ 32, 22 ] },
285 { [ 0, 0], [ 32, 0 ], [ 32, 23 ], [ 0, 22 ] },
286 { [ 2, 1], [ 29, 1 ], [ 29, 17 ], [ 2, 15 ] }
289 approx= { [ 32, 23 ] },
290 { [ 0, 0], [ 32, 0 ], [ 32, 24 ], [ 0, 23 ] },
291 { [ 2, 1], [ 29, 1 ], [ 29, 18 ], [ 2, 17 ] }
294 approx= { [ 32, 24 ] },
295 { [ 0, 0], [ 32, 0 ], [ 32, 25 ], [ 0, 24 ] },
296 { [ 2, 1], [ 29, 1 ], [ 29, 20 ], [ 2, 19 ] }
298 shape "RDEF" { { [ 18,18 ] }, { [ 2, 1], [15, 15] } };
299 shape "KEY7" { { [ 28, 18 ] }, { [ 14, 1], [26, 15] } };
300 shape "KEYH" { { [ 24, 18 ] }, { [ 10, 1], [22, 15] } };
301 shape "KEYN" { { [ 32, 18 ] }, { [ 18, 1], [30, 15] } };
302 shape "BKSP" { { [ 32, 18 ] }, { [ 2, 1], [30, 15] } };
303 shape "BKSL" { { [ 24, 18 ] }, { [ 2, 1], [22, 15] } };
304 shape "RTRN" { { [ 37, 18 ] }, { [ 2, 1], [35, 15] } };
305 shape "RTSH" { { [ 43, 18 ] }, { [ 2, 1], [41, 15] } };
307 approx= { [ 27, 24 ] },
308 { [ 0, 0], [ 27, 0 ], [ 27, 24 ], [ 0, 25 ] },
309 { [ 3, 1], [ 25, 1 ], [ 25, 19 ], [ 3, 20 ] }
312 approx= { [ 27, 23 ] },
313 { [ 0, 0], [ 27, 0 ], [ 27, 23 ], [ 0, 24 ] },
314 { [ 3, 1], [ 25, 1 ], [ 25, 18 ], [ 3, 19 ] }
317 approx= { [ 27, 21 ] },
318 { [ 0, 0], [ 27, 0 ], [ 27, 21 ], [ 0, 23 ] },
319 { [ 3, 1], [ 25, 1 ], [ 25, 16 ], [ 3, 17 ] }
322 approx= { [ 27, 19 ] },
323 { [ 0, 0], [ 27, 0 ], [ 27, 19 ], [ 0, 21 ] },
324 { [ 3, 1], [ 25, 1 ], [ 25, 14 ], [ 3, 15 ] }
326 shape "KPAD" { { [ 18, 37 ] }, { [ 3, 1 ], [ 16, 34 ] } };
327 shape "KP0" { { [ 37, 18 ] }, { [ 3, 1 ], [ 35, 15 ] } };
329 { [ 4, 3], [42,10], [44, 0], [88, 0], [90,10], [130, 3],
330 [134,26], [99,30], [67,33], [33,30], [ 0,26] },
331 { [ 6, 4.5], [43,11], [45, 1], [87, 1], [89,11], [128, 4.5],
332 [131,23], [99,28], [67,32], [33,28], [ 3,23] }
337 { [ 32, 15 ], [140, 33],[ 220, 33 ], [ 329, 15 ], [ 493, 15 ],
338 [ 493, 150 ], [ 354, 150 ], [200, 180], [ 153, 180 ], [ 7, 150 ] }
349 section "LeftFunction" {
355 keys { <ESC>, { <FK01>, 12 }, <FK02>, <FK03>, <FK04>, <FK05> };
357 }; // End of "LeftFunction" section
360 section "LeftAlpha" {
366 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
367 <AE05>, { <AE06>, "KEY6" }
372 keys { { <TAB>, "TABK" },
373 <AD01>, <AD02>, <AD03>, <AD04>, { <AD05>, "KEYT" }
378 keys { { <CAPS>, "CAPS" },
379 <AC01>, <AC02>, <AC03>, <AC04>, { <AC05>, "KEYG" }
384 keys { { <LFSH>, "LFSH" },
385 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>
390 keys { { <LCTL>, "LCTL" }, { <LWIN>, "LWIN" }, { <LALT>, "LALT" } };
392 }; // End of "LeftAlpha" section
395 section "RightFunction" {
402 keys { <FK06>, <FK07>, <FK08>, <FK09>, <FK10>, <FK11>, <FK12> };
404 }; // End of "RightFunction" section
407 section "RightAlpha" {
414 keys { { <AE07>, "KEY7" },
415 <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
422 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
428 keys { { <AC06>, "KEYH" },
429 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
435 keys { { <AB06>, "KEYN" },
436 <AB07>, <AB08>, <AB09>, <AB10>,
443 keys { { <RALT>, "RALT" }, { <RWIN>, "RWIN" },
444 { <MENU>, "MENU" }, { <RCTL>, "RCTL" }
447 }; // End of "RightAlpha" section
453 row { keys { <SPCE> }; };
462 keys { <PRSC>, <SCLK>, <PAUS> };
467 keys { <HOME>, <PGUP> };
472 keys { <END>, <PGDN> };
477 keys { <DELE>, <INS> };
487 keys { <LEFT>, <RGHT> };
494 }; // End of "Editing" section
500 indicator.onColor= "green";
501 indicator.offColor= "green30";
503 indicator.shape= "LED";
504 indicator "Num Lock" { top= 90; };
505 indicator "Caps Lock" { top= 107; };
506 indicator "Scroll Lock" { top= 127; };
513 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
517 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
521 keys { <KP4>, <KP5>, <KP6> };
525 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
529 keys { { <KP0>, "KP0" }, <KPDL> };
531 }; // End of "Keypad" section
533 alias <AC00> = <CAPS>;
534 alias <AA00> = <LCTL>;