Ivan found dots are not good for us
[xorg/xkeyboard-config] / geometry / microsoft
1 // $Xorg: microsoft,v 1.3 2000/08/17 19:54:35 cpqbld Exp $
2 //
3 // $XFree86$
4 //
5 default xkb_geometry "natural" {
6
7     // Approximate layout for a Microsoft Natural Keyboard
8     description= "Microsoft Natural Keyboard";
9     width= 550;
10     height= 190;
11
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] } };
20     shape "LCTL" { 
21         approx= { [ 32, 22 ] },
22         { [  0, 0], [ 32, 0 ], [ 32, 23 ], [ 0, 22 ] },
23         { [  2, 1], [ 29, 1 ], [ 29, 17 ], [ 2, 15 ] } 
24     };
25     shape "LWIN" { 
26         approx= { [ 32, 23 ] },
27         { [  0, 0], [ 32, 0 ], [ 32, 24 ], [ 0, 23 ] },
28         { [  2, 1], [ 29, 1 ], [ 29, 18 ], [ 2, 17 ] } 
29     };
30     shape "LALT" { 
31         approx= { [ 32, 24 ] },
32         { [  0, 0], [ 32, 0 ], [ 32, 25 ], [ 0, 24 ] },
33         { [  2, 1], [ 29, 1 ], [ 29, 20 ], [ 2, 19 ] } 
34     };
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] } };
43     shape "RALT" { 
44         approx= { [ 27, 24 ] },
45         { [  0, 0], [ 27, 0 ], [ 27, 24 ], [ 0, 25 ] },
46         { [  3, 1], [ 25, 1 ], [ 25, 19 ], [ 3, 20 ] } 
47     };
48     shape "RWIN" { 
49         approx= { [ 27, 23 ] },
50         { [  0, 0], [ 27, 0 ], [ 27, 23 ], [ 0, 24 ] },
51         { [  3, 1], [ 25, 1 ], [ 25, 18 ], [ 3, 19 ] } 
52     };
53     shape "MENU" { 
54         approx= { [ 27, 21 ] },
55         { [  0, 0], [ 27, 0 ], [ 27, 21 ], [ 0, 23 ] },
56         { [  3, 1], [ 25, 1 ], [ 25, 16 ], [ 3, 17 ] } 
57     };
58     shape "RCTL" { 
59         approx= { [ 27, 19 ] },
60         { [  0, 0], [ 27, 0 ], [ 27, 19 ], [ 0, 21 ] },
61         { [  3, 1], [ 25, 1 ], [ 25, 14 ], [ 3, 15 ] } 
62     };
63     shape "KPAD" { { [ 18, 37 ] },      { [ 3, 1 ], [ 16, 34 ] } };
64     shape "KP0"  { { [ 37, 18 ] },      { [ 3, 1 ], [ 35, 15 ] } };
65     shape "SPCE" {
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] }
70     };
71
72     shape "EDGE" {
73         cornerRadius= 2,
74         { [  25,   0 ],  [ 177,  17 ],  [ 329,   0 ], [ 542,   0 ],
75           [ 542, 150 ],  [ 354, 150 ],  [ 177, 185 ], [   0, 150 ] }
76     };
77     outline "Edges" {
78         top= 0;
79         left= 0;
80         shape= "EDGE";
81     };
82
83     row.left= 1;
84     key.shape= "LDEF";
85     key.gap=  1;
86     section "LeftFunction" {
87         top= 10;
88         left= 40;
89         angle= 10;
90         row {
91             top= 1;
92             keys {  <ESC>, { <FK01>, 12 }, <FK02>, <FK03>, <FK04>, <FK05> };
93         };
94     }; // End of "LeftFunction" section
95
96     section "LeftAlpha" {
97         top= 47;
98         left= 30;
99         angle= 10;
100         row {
101             top= 1;
102             keys {      <AE00>, <AE01>, <AE02>, <AE03>, <AE04>,
103                         <AE05>, { <AE06>, "KEY6" }
104             };
105         };
106         row {
107             top= 20;
108             keys {      { <TAB>, "TABK" },
109                         <AD01>, <AD02>, <AD03>, <AD04>, { <AD05>, "KEYT" }
110             };
111         };
112         row {
113             top= 39;
114             keys {      { <CAPS>, "CAPS" },
115                         <AC01>, <AC02>, <AC03>, <AC04>, { <AC05>, "KEYG" }
116             };
117         };
118         row {
119             top= 58;
120             keys {      { <LFSH>, "LFSH" }, 
121                         <AB01>, <AB02>, <AB03>, <AB04>, <AB05>
122             };
123         };
124         row {
125             top= 77;
126             keys {  { <LCTL>, "LCTL" }, { <LWIN>, "LWIN" }, { <LALT>, "LALT" } };
127         };
128     }; // End of "LeftAlpha" section
129
130     key.shape= "RDEF";
131     section "RightFunction" {
132         top= 32;
133         left= 195;
134         angle= -10;
135         row {
136             top= 1;
137             left= 1;
138             keys {  <FK06>, <FK07>, <FK08>, <FK09>, <FK10>, <FK11>, <FK12> };
139         };
140     }; // End of "RightFunction" section
141
142     section "RightAlpha" {
143         top= 71;
144         left= 190;
145         angle= -10;
146         row.left= 1;
147         row {
148             top= 1;
149             keys {      { <AE07>, "KEY7" },
150                         <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
151                         { <BKSP>, "BKSP" }
152             };
153         };
154         row {
155             top= 20;
156             keys { 
157                 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
158                 { <BKSL>, "BKSL" }
159             };
160         };
161         row {
162             top= 39;
163             keys {      { <AC06>, "KEYH" },
164                         <AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
165                         { <RTRN>, "RTRN" }
166             };
167         };
168         row {
169             top= 58;
170             keys {      { <AB06>, "KEYN" },
171                         <AB07>, <AB08>, <AB09>, <AB10>,
172                         { <RTSH>, "RTSH" }
173             };
174         };
175         row {
176             top= 77;
177             left= 40;
178             keys {      { <RALT>, "RALT" }, { <RWIN>, "RWIN" }, 
179                         { <MENU>, "MENU" }, { <RCTL>, "RCTL" }
180             };
181         };
182     }; // End of "RightAlpha" section
183
184     section "SpaceBar" {
185         top= 139;
186         left= 111;
187         key.shape= "SPCE";
188         row { keys { <SPCE> }; };
189     };
190
191     section "Editing" {
192         top= 15;
193         left= 385;
194         row {
195             top= 1;
196             keys { <PRSC>, <SCLK>, <PAUS> };
197         };
198         row {
199             top= 33;
200             keys { <INS>, <HOME>, <PGUP> };
201         };
202         row {
203             top= 53;
204             keys { <DELE>, <END>, <PGDN> };
205         };
206         row {
207             top= 91;
208             left= 20;
209             keys { <UP> };
210         };
211         row {
212             top= 109;
213             keys { <LEFT>, <DOWN>, <RGHT> };
214         };
215     }; // End of "Editing" section
216
217     shape "LED"  { 
218         cornerRadius= 0,
219         { [  3,  1 ] }
220     };
221     indicator.onColor= "green";
222     indicator.offColor= "green30";
223     indicator.left= 177;
224     indicator.shape= "LED";
225     indicator "Num Lock"     { top= 90; };
226     indicator "Caps Lock"    { top= 107; };
227     indicator "Scroll Lock"  { top= 127; };
228     
229     section "Keypad" {
230         top= 47;
231         left= 456;
232         row {
233             top= 1;
234             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
235         };
236         row {
237             top= 20;
238             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
239         };
240         row {
241             top= 39;
242             keys { <KP4>, <KP5>, <KP6> };
243         };
244         row {
245             top= 58;
246             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
247         };
248         row {
249             top= 77;
250             keys { { <KP0>, "KP0" }, <KPDL> };
251         };
252     }; // End of "Keypad" section
253
254     alias <AC00> = <CAPS>;
255     alias <AA00> = <LCTL>;
256 };