1 // $Xorg: microsoft,v 1.3 2000/08/17 19:54:35 cpqbld Exp $
5 default xkb_geometry "natural" {
7 // Approximate layout for a Microsoft Natural Keyboard
8 description= "Microsoft Natural Keyboard";
12 shape.cornerRadius= 1;
13 shape "LDEF" { { [ 18,18] }, { [2,1], [15,15] } };
14 shape "TABK" { { [ 26,18] }, { [2,1], [23,15] } };
15 shape "CAPS" { { [ 30,18] }, { [2,1], [23,15] } };
16 shape "LFSH" { { [ 41,18] }, { [2,1], [38,15] } };
17 shape "KEY6" { { [ 22,18] }, { [2,1], [15,15] } };
18 shape "KEYT" { { [ 33,18] }, { [2,1], [15,15] } };
19 shape "KEYG" { { [ 29,18] }, { [2,1], [15,15] } };
21 approx= { [ 32, 22 ] },
22 { [ 0, 0], [ 32, 0 ], [ 32, 23 ], [ 0, 22 ] },
23 { [ 2, 1], [ 29, 1 ], [ 29, 17 ], [ 2, 15 ] }
26 approx= { [ 32, 23 ] },
27 { [ 0, 0], [ 32, 0 ], [ 32, 24 ], [ 0, 23 ] },
28 { [ 2, 1], [ 29, 1 ], [ 29, 18 ], [ 2, 17 ] }
31 approx= { [ 32, 24 ] },
32 { [ 0, 0], [ 32, 0 ], [ 32, 25 ], [ 0, 24 ] },
33 { [ 2, 1], [ 29, 1 ], [ 29, 20 ], [ 2, 19 ] }
35 shape "RDEF" { { [ 18,18] }, { [3,1], [15,15] } };
36 shape "KEY7" { { [ 28, 18 ] }, { [ 14, 1], [26, 15] } };
37 shape "KEYH" { { [ 24, 18 ] }, { [ 10, 1], [22, 15] } };
38 shape "KEYN" { { [ 32, 18 ] }, { [ 18, 1], [30, 15] } };
39 shape "BKSP" { { [ 41, 18 ] }, { [ 3, 1], [39, 15] } };
40 shape "BKSL" { { [ 24, 18 ] }, { [ 3, 1], [22, 15] } };
41 shape "RTRN" { { [ 37, 18 ] }, { [ 3, 1], [35, 15] } };
42 shape "RTSH" { { [ 43, 18 ] }, { [ 3, 1], [41, 15] } };
44 approx= { [ 27, 24 ] },
45 { [ 0, 0], [ 27, 0 ], [ 27, 24 ], [ 0, 25 ] },
46 { [ 3, 1], [ 25, 1 ], [ 25, 19 ], [ 3, 20 ] }
49 approx= { [ 27, 23 ] },
50 { [ 0, 0], [ 27, 0 ], [ 27, 23 ], [ 0, 24 ] },
51 { [ 3, 1], [ 25, 1 ], [ 25, 18 ], [ 3, 19 ] }
54 approx= { [ 27, 21 ] },
55 { [ 0, 0], [ 27, 0 ], [ 27, 21 ], [ 0, 23 ] },
56 { [ 3, 1], [ 25, 1 ], [ 25, 16 ], [ 3, 17 ] }
59 approx= { [ 27, 19 ] },
60 { [ 0, 0], [ 27, 0 ], [ 27, 19 ], [ 0, 21 ] },
61 { [ 3, 1], [ 25, 1 ], [ 25, 14 ], [ 3, 15 ] }
63 shape "KPAD" { { [ 18, 37 ] }, { [ 3, 1 ], [ 16, 34 ] } };
64 shape "KP0" { { [ 37, 18 ] }, { [ 3, 1 ], [ 35, 15 ] } };
66 { [ 4, 3], [42,10], [44, 0], [88, 0], [90,10], [130, 3],
67 [134,26], [99,30], [67,33], [33,30], [ 0,26] },
68 { [ 6, 4.5], [43,11], [45, 1], [87, 1], [89,11], [128, 4.5],
69 [131,23], [99,28], [67,32], [33,28], [ 3,23] }
74 { [ 25, 0 ], [ 177, 17 ], [ 329, 0 ], [ 542, 0 ],
75 [ 542, 150 ], [ 354, 150 ], [ 177, 185 ], [ 0, 150 ] }
86 section "LeftFunction" {
92 keys { <ESC>, { <FK01>, 12 }, <FK02>, <FK03>, <FK04>, <FK05> };
94 }; // End of "LeftFunction" section
102 keys { <AE00>, <AE01>, <AE02>, <AE03>, <AE04>,
103 <AE05>, { <AE06>, "KEY6" }
108 keys { { <TAB>, "TABK" },
109 <AD01>, <AD02>, <AD03>, <AD04>, { <AD05>, "KEYT" }
114 keys { { <CAPS>, "CAPS" },
115 <AC01>, <AC02>, <AC03>, <AC04>, { <AC05>, "KEYG" }
120 keys { { <LFSH>, "LFSH" },
121 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>
126 keys { { <LCTL>, "LCTL" }, { <LWIN>, "LWIN" }, { <LALT>, "LALT" } };
128 }; // End of "LeftAlpha" section
131 section "RightFunction" {
138 keys { <FK06>, <FK07>, <FK08>, <FK09>, <FK10>, <FK11>, <FK12> };
140 }; // End of "RightFunction" section
142 section "RightAlpha" {
149 keys { { <AE07>, "KEY7" },
150 <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
157 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
163 keys { { <AC06>, "KEYH" },
164 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
170 keys { { <AB06>, "KEYN" },
171 <AB07>, <AB08>, <AB09>, <AB10>,
178 keys { { <RALT>, "RALT" }, { <RWIN>, "RWIN" },
179 { <MENU>, "MENU" }, { <RCTL>, "RCTL" }
182 }; // End of "RightAlpha" section
188 row { keys { <SPCE> }; };
196 keys { <PRSC>, <SCLK>, <PAUS> };
200 keys { <INS>, <HOME>, <PGUP> };
204 keys { <DELE>, <END>, <PGDN> };
213 keys { <LEFT>, <DOWN>, <RGHT> };
215 }; // End of "Editing" section
221 indicator.onColor= "green";
222 indicator.offColor= "green30";
224 indicator.shape= "LED";
225 indicator "Num Lock" { top= 90; };
226 indicator "Caps Lock" { top= 107; };
227 indicator "Scroll Lock" { top= 127; };
234 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
238 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
242 keys { <KP4>, <KP5>, <KP6> };
246 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
250 keys { { <KP0>, "KP0" }, <KPDL> };
252 }; // End of "Keypad" section
254 alias <AC00> = <CAPS>;
255 alias <AA00> = <LCTL>;