1 default xkb_geometry "natural" {
3 // Approximate layout for a Microsoft Natural Keyboard
4 description= "Microsoft Natural Keyboard";
9 shape "LDEF" { { [ 18,18] }, { [2,1], [15,15] } };
10 shape "TABK" { { [ 26,18] }, { [2,1], [23,15] } };
11 shape "CAPS" { { [ 30,18] }, { [2,1], [23,15] } };
12 shape "LFSH" { { [ 41,18] }, { [2,1], [38,15] } };
13 shape "KEY6" { { [ 22,18] }, { [2,1], [15,15] } };
14 shape "KEYT" { { [ 33,18] }, { [2,1], [15,15] } };
15 shape "KEYG" { { [ 29,18] }, { [2,1], [15,15] } };
17 approx= { [ 32, 22 ] },
18 { [ 0, 0], [ 32, 0 ], [ 32, 23 ], [ 0, 22 ] },
19 { [ 2, 1], [ 29, 1 ], [ 29, 17 ], [ 2, 15 ] }
22 approx= { [ 32, 23 ] },
23 { [ 0, 0], [ 32, 0 ], [ 32, 24 ], [ 0, 23 ] },
24 { [ 2, 1], [ 29, 1 ], [ 29, 18 ], [ 2, 17 ] }
27 approx= { [ 32, 24 ] },
28 { [ 0, 0], [ 32, 0 ], [ 32, 25 ], [ 0, 24 ] },
29 { [ 2, 1], [ 29, 1 ], [ 29, 20 ], [ 2, 19 ] }
31 shape "RDEF" { { [ 18,18] }, { [3,1], [15,15] } };
32 shape "KEY7" { { [ 28, 18 ] }, { [ 14, 1], [26, 15] } };
33 shape "KEYH" { { [ 24, 18 ] }, { [ 10, 1], [22, 15] } };
34 shape "KEYN" { { [ 32, 18 ] }, { [ 18, 1], [30, 15] } };
35 shape "BKSP" { { [ 41, 18 ] }, { [ 3, 1], [39, 15] } };
36 shape "BKSL" { { [ 24, 18 ] }, { [ 3, 1], [22, 15] } };
37 shape "RTRN" { { [ 37, 18 ] }, { [ 3, 1], [35, 15] } };
38 shape "RTSH" { { [ 43, 18 ] }, { [ 3, 1], [41, 15] } };
40 approx= { [ 27, 24 ] },
41 { [ 0, 0], [ 27, 0 ], [ 27, 24 ], [ 0, 25 ] },
42 { [ 3, 1], [ 25, 1 ], [ 25, 19 ], [ 3, 20 ] }
45 approx= { [ 27, 23 ] },
46 { [ 0, 0], [ 27, 0 ], [ 27, 23 ], [ 0, 24 ] },
47 { [ 3, 1], [ 25, 1 ], [ 25, 18 ], [ 3, 19 ] }
50 approx= { [ 27, 21 ] },
51 { [ 0, 0], [ 27, 0 ], [ 27, 21 ], [ 0, 23 ] },
52 { [ 3, 1], [ 25, 1 ], [ 25, 16 ], [ 3, 17 ] }
55 approx= { [ 27, 19 ] },
56 { [ 0, 0], [ 27, 0 ], [ 27, 19 ], [ 0, 21 ] },
57 { [ 3, 1], [ 25, 1 ], [ 25, 14 ], [ 3, 15 ] }
59 shape "KPAD" { { [ 18, 37 ] }, { [ 3, 1 ], [ 16, 34 ] } };
60 shape "KP0" { { [ 37, 18 ] }, { [ 3, 1 ], [ 35, 15 ] } };
62 { [ 4, 3], [42,10], [44, 0], [88, 0], [90,10], [130, 3],
63 [134,26], [99,30], [67,33], [33,30], [ 0,26] },
64 { [ 6, 4.5], [43,11], [45, 1], [87, 1], [89,11], [128, 4.5],
65 [131,23], [99,28], [67,32], [33,28], [ 3,23] }
70 { [ 25, 0 ], [ 177, 17 ], [ 329, 0 ], [ 542, 0 ],
71 [ 542, 150 ], [ 354, 150 ], [ 177, 185 ], [ 0, 150 ] }
82 section "LeftFunction" {
88 keys { <ESC>, { <FK01>, 12 }, <FK02>, <FK03>, <FK04>, <FK05> };
90 }; // End of "LeftFunction" section
98 keys { <AE00>, <AE01>, <AE02>, <AE03>, <AE04>,
99 <AE05>, { <AE06>, "KEY6" }
104 keys { { <TAB>, "TABK" },
105 <AD01>, <AD02>, <AD03>, <AD04>, { <AD05>, "KEYT" }
110 keys { { <CAPS>, "CAPS" },
111 <AC01>, <AC02>, <AC03>, <AC04>, { <AC05>, "KEYG" }
116 keys { { <LFSH>, "LFSH" },
117 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>
122 keys { { <LCTL>, "LCTL" }, { <LWIN>, "LWIN" }, { <LALT>, "LALT" } };
124 }; // End of "LeftAlpha" section
127 section "RightFunction" {
134 keys { <FK06>, <FK07>, <FK08>, <FK09>, <FK10>, <FK11>, <FK12> };
136 }; // End of "RightFunction" section
138 section "RightAlpha" {
145 keys { { <AE07>, "KEY7" },
146 <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
153 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
159 keys { { <AC06>, "KEYH" },
160 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
166 keys { { <AB06>, "KEYN" },
167 <AB07>, <AB08>, <AB09>, <AB10>,
174 keys { { <RALT>, "RALT" }, { <RWIN>, "RWIN" },
175 { <MENU>, "MENU" }, { <RCTL>, "RCTL" }
178 }; // End of "RightAlpha" section
184 row { keys { <SPCE> }; };
192 keys { <PRSC>, <SCLK>, <PAUS> };
196 keys { <INS>, <HOME>, <PGUP> };
200 keys { <DELE>, <END>, <PGDN> };
209 keys { <LEFT>, <DOWN>, <RGHT> };
211 }; // End of "Editing" section
217 indicator.onColor= "green";
218 indicator.offColor= "green30";
220 indicator.shape= "LED";
221 indicator "Num Lock" { top= 90; };
222 indicator "Caps Lock" { top= 107; };
223 indicator "Scroll Lock" { top= 127; };
230 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
234 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
238 keys { <KP4>, <KP5>, <KP6> };
242 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
246 keys { { <KP0>, "KP0" }, <KPDL> };
248 }; // End of "Keypad" section
250 alias <AC00> = <CAPS>;
251 alias <AA00> = <LCTL>;
254 // Approximate layout for a Microsoft Natural(R) Keyboard Elite
256 // Modified by Pavel Kurashov <pavell@mail.ru> Mon Oct 8 22:08:20 NOVST 2007
258 // * Function, editing and navigation keys are reduced height
259 // * Navigation keys are repositioned in two column
260 // * Leds are enlarged for better look
261 // * "BKSP" alligned with "BKSL" and "RTRN"
262 // * Ouline Edges slightly modified
264 xkb_geometry "elite" {
266 // Approximate layout for a Microsoft Natural(R) Keyboard Elite
267 description= "Microsoft Natural(r) Keyboard Elite";
271 shape.cornerRadius= 1;
272 shape "LDEF" { { [ 18,18] }, { [2,1], [15,15] } };
273 shape "FKEY" { { [ 18,13] }, { [2,1], [15,10] } };
274 shape "TABK" { { [ 26,18] }, { [2,1], [23,15] } };
275 shape "CAPS" { { [ 30,18] }, { [2,1], [23,15] } };
276 shape "LFSH" { { [ 41,18] }, { [2,1], [38,15] } };
277 shape "KEY6" { { [ 22,18] }, { [2,1], [15,15] } };
278 shape "KEYT" { { [ 33,18] }, { [2,1], [15,15] } };
279 shape "KEYG" { { [ 29,18] }, { [2,1], [15,15] } };
281 approx= { [ 32, 22 ] },
282 { [ 0, 0], [ 32, 0 ], [ 32, 23 ], [ 0, 22 ] },
283 { [ 2, 1], [ 29, 1 ], [ 29, 17 ], [ 2, 15 ] }
286 approx= { [ 32, 23 ] },
287 { [ 0, 0], [ 32, 0 ], [ 32, 24 ], [ 0, 23 ] },
288 { [ 2, 1], [ 29, 1 ], [ 29, 18 ], [ 2, 17 ] }
291 approx= { [ 32, 24 ] },
292 { [ 0, 0], [ 32, 0 ], [ 32, 25 ], [ 0, 24 ] },
293 { [ 2, 1], [ 29, 1 ], [ 29, 20 ], [ 2, 19 ] }
295 shape "RDEF" { { [ 18,18 ] }, { [ 2, 1], [15, 15] } };
296 shape "KEY7" { { [ 28, 18 ] }, { [ 14, 1], [26, 15] } };
297 shape "KEYH" { { [ 24, 18 ] }, { [ 10, 1], [22, 15] } };
298 shape "KEYN" { { [ 32, 18 ] }, { [ 18, 1], [30, 15] } };
299 shape "BKSP" { { [ 32, 18 ] }, { [ 2, 1], [30, 15] } };
300 shape "BKSL" { { [ 24, 18 ] }, { [ 2, 1], [22, 15] } };
301 shape "RTRN" { { [ 37, 18 ] }, { [ 2, 1], [35, 15] } };
302 shape "RTSH" { { [ 43, 18 ] }, { [ 2, 1], [41, 15] } };
304 approx= { [ 27, 24 ] },
305 { [ 0, 0], [ 27, 0 ], [ 27, 24 ], [ 0, 25 ] },
306 { [ 3, 1], [ 25, 1 ], [ 25, 19 ], [ 3, 20 ] }
309 approx= { [ 27, 23 ] },
310 { [ 0, 0], [ 27, 0 ], [ 27, 23 ], [ 0, 24 ] },
311 { [ 3, 1], [ 25, 1 ], [ 25, 18 ], [ 3, 19 ] }
314 approx= { [ 27, 21 ] },
315 { [ 0, 0], [ 27, 0 ], [ 27, 21 ], [ 0, 23 ] },
316 { [ 3, 1], [ 25, 1 ], [ 25, 16 ], [ 3, 17 ] }
319 approx= { [ 27, 19 ] },
320 { [ 0, 0], [ 27, 0 ], [ 27, 19 ], [ 0, 21 ] },
321 { [ 3, 1], [ 25, 1 ], [ 25, 14 ], [ 3, 15 ] }
323 shape "KPAD" { { [ 18, 37 ] }, { [ 3, 1 ], [ 16, 34 ] } };
324 shape "KP0" { { [ 37, 18 ] }, { [ 3, 1 ], [ 35, 15 ] } };
326 { [ 4, 3], [42,10], [44, 0], [88, 0], [90,10], [130, 3],
327 [134,26], [99,30], [67,33], [33,30], [ 0,26] },
328 { [ 6, 4.5], [43,11], [45, 1], [87, 1], [89,11], [128, 4.5],
329 [131,23], [99,28], [67,32], [33,28], [ 3,23] }
334 { [ 32, 15 ], [140, 33],[ 220, 33 ], [ 329, 15 ], [ 493, 15 ],
335 [ 493, 150 ], [ 354, 150 ], [200, 180], [ 153, 180 ], [ 7, 150 ] }
346 section "LeftFunction" {
352 keys { <ESC>, { <FK01>, 12 }, <FK02>, <FK03>, <FK04>, <FK05> };
354 }; // End of "LeftFunction" section
357 section "LeftAlpha" {
363 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
364 <AE05>, { <AE06>, "KEY6" }
369 keys { { <TAB>, "TABK" },
370 <AD01>, <AD02>, <AD03>, <AD04>, { <AD05>, "KEYT" }
375 keys { { <CAPS>, "CAPS" },
376 <AC01>, <AC02>, <AC03>, <AC04>, { <AC05>, "KEYG" }
381 keys { { <LFSH>, "LFSH" },
382 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>
387 keys { { <LCTL>, "LCTL" }, { <LWIN>, "LWIN" }, { <LALT>, "LALT" } };
389 }; // End of "LeftAlpha" section
392 section "RightFunction" {
399 keys { <FK06>, <FK07>, <FK08>, <FK09>, <FK10>, <FK11>, <FK12> };
401 }; // End of "RightFunction" section
404 section "RightAlpha" {
411 keys { { <AE07>, "KEY7" },
412 <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
419 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
425 keys { { <AC06>, "KEYH" },
426 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
432 keys { { <AB06>, "KEYN" },
433 <AB07>, <AB08>, <AB09>, <AB10>,
440 keys { { <RALT>, "RALT" }, { <RWIN>, "RWIN" },
441 { <MENU>, "MENU" }, { <RCTL>, "RCTL" }
444 }; // End of "RightAlpha" section
450 row { keys { <SPCE> }; };
459 keys { <PRSC>, <SCLK>, <PAUS> };
464 keys { <HOME>, <PGUP> };
469 keys { <END>, <PGDN> };
474 keys { <DELE>, <INS> };
484 keys { <LEFT>, <RGHT> };
491 }; // End of "Editing" section
497 indicator.onColor= "green";
498 indicator.offColor= "green30";
500 indicator.shape= "LED";
501 indicator "Num Lock" { top= 90; };
502 indicator "Caps Lock" { top= 107; };
503 indicator "Scroll Lock" { top= 127; };
510 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
514 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
518 keys { <KP4>, <KP5>, <KP6> };
522 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
526 keys { { <KP0>, "KP0" }, <KPDL> };
528 }; // End of "Keypad" section
530 alias <AC00> = <CAPS>;
531 alias <AA00> = <LCTL>;