first feed-in of the layouts. The revolution is coming
[xorg/xkeyboard-config] / geometry / kinesis
1 // $Xorg: kinesis,v 1.3 2000/08/17 19:54:35 cpqbld Exp $
2 //
3 // $XFree86$
4 //
5 default xkb_geometry "model100" {
6
7     // This is an approximate layout for a Kinesis Ergonomic keyboard
8     // Generated completely by eye.  I didn't actually *measure* a real 
9     // keyboard.
10
11     description= "Kinesis Ergonomic Keyboard";
12     width= 421;
13     height= 185;
14
15     shape.cornerRadius= 1;
16     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
17     shape "WIDE" { { [ 21,18] }, { [2,1], [19,17] } };
18     shape "TALL" { { [ 18,37] }, { [2,1], [16,36] } };
19     shape "FKEY" { cornerRadius=0, { [ 10,13] } };
20     shape "LED"  { cornerRadius= 1.5, { [ 3,  3] } };
21     shape "LOGO" { { [ 40, 10 ] } };
22     shape "EDGE" { cornerRadius=5, { [ 421, 185 ] } };
23
24     outline "Edges" {
25         top= 0;
26         left= 0;
27         shape= "EDGE";
28     };
29
30     section "LeftFunction" {
31         left= 15;
32         top=  11;
33         key.shape= "FKEY";
34         key.gap= 3;
35         row {
36             left= 1;
37             top= 1;
38             keys { 
39                 <ESC>,  <FK01>, <FK02>, <FK03>, <FK04>,
40                 <FK05>, <FK06>, <FK07>, <FK08>
41             };
42         };
43     }; // End of "LeftFunction" section
44
45     section "RightFunction" {
46         left= 290;
47         top=  11;
48         key.shape= "FKEY";
49         key.gap= 3;
50         row {
51             left= 1;
52             top= 0.2;
53             keys {
54                 <FK09>, <FK10>, <FK11>, <FK12>, <PRSC>, 
55                 <SCLK>, <PAUS>, <FK16>, <FK17>
56             };
57         };
58     }; // End of "RightFunction" section
59
60     row.vertical= True;
61     row.top= 1;
62     key.gap= 0.5;
63
64     logo "KinesisLogoImage"     { 
65         top= 25;
66         left= 240;
67         name= "Kinesis"; 
68         shape= "LOGO"; 
69     };
70
71     indicator.shape= "LED";
72     indicator.top= 30;
73     indicator.onColor= "green";
74     indicator.offColor= "green30";
75     indicator "Caps Lock" { left= 23; };
76
77     section "LeftAlpha" {
78         top=  34;
79         left= 15;
80         row {
81             left= 2;
82             key.shape= "WIDE";
83             keys { <AE12>, <TAB>, <CAPS>, <LFSH> };
84         };
85         row {
86             top= 4;
87             left= 24;
88             keys { <AE01>, <AD01>, { <AC01>, color="grey20" }, <AB01>, <TLDE> };
89         };
90         row {
91             left= 43;
92             keys { <AE02>, <AD02>, { <AC02>, color="grey20" }, <AB02>, <INS> };
93         };
94         row {
95             left= 62;
96             keys { <AE03>, <AD03>, { <AC03>, color="grey20" }, <AB03>, <LEFT> };
97         };
98         row {
99             left= 81;
100             keys { <AE04>, <AD04>, { <AC04>, color="grey20" }, <AB04>, <RGHT> };
101         };
102         row {
103             left= 100;
104             keys { <AE05>, <AD05>, <AC05>, <AB05> };
105         };
106     }; // End of "LeftAlpha" section
107
108     indicator "NumLock"  { left= 318; };
109     indicator "Overlay"  { left= 387; };
110     section "RightAlpha" {
111         top= 34;
112         left= 290;
113         row {
114             left= 2;
115             keys { <AE06>, <AD06>, <AC06>, <AB06> };
116         };
117         row {
118             left= 21;
119             keys { <AE07>, <AD07>, { <AC07>, color="grey20" }, <AB07>, <UP> };
120         };
121         row {
122             left= 40;
123             keys { <AE08>, <AD08>, { <AC08>, color="grey20" }, <AB08>, <DOWN> };
124         };
125         row {
126             left= 59;
127             keys { <AE09>, <AD09>, { <AC09>, color="grey20" }, <AB09>, <AD11> };
128         };
129         row {
130             top= 4;
131             left= 78;
132             keys { <AE10>, <AD10>, { <AC10>, color="grey20" }, <AB10>, <AD12> };
133         };
134         row {
135             left= 97;
136             key.shape= "WIDE";
137             keys { <AE11>, <BKSL>, <AC11>, <RTSH> };
138         };
139         overlay "KPAD" {
140             <AE07>=<NMLK>, <AE08>=<KPEQ>, <AE09>=<KPSL>, <AE10>=<KPMU>,
141             <AD07>=<KP7>,  <AD08>=<KP8>,  <AD09>=<KP9>,  <AD10>=<KPSU>,
142             <AC07>=<KP4>,  <AC08>=<KP5>, <AC09>=<KP6>,  <AC10>=<KPAD>,
143             <AB07>=<KP1>,  <AB08>=<KP2>, <AB09>=<KP3>,  <AB10>=<KPEN>,
144             <AE10>=<KPDL>, <AE11>=<KPEN>
145         };
146     }; // End of "RightAlpha" section
147
148     section "LeftEdit" {
149         top= 109;
150         left= 123;
151         angle= 20;
152         row.top= -18;
153         row {
154             top=  1;
155             left= 1;
156             keys { { <BKSP>, "TALL" } };
157         };
158         row {
159             left= 20;
160             keys { <LCTL>, { <DELE>, "TALL" } };
161         };
162         row {
163             left= 39;
164             keys { <LALT>, <HOME>, <END> };
165         };
166     }; // End of "RightEdit" section
167
168     section "RightEdit" {
169         top= 109;
170         left= 302;
171         angle= -20;
172         row.top= -18;
173         row {
174             left= -57;
175             keys { <RALT>, <PGUP>, <PGDN> };
176         };
177         row {
178             left= -38;
179             keys { <RCTL>, { <RTRN>, "TALL" } };
180         };
181         row {
182             top=  1;
183             left= -19;
184             keys { { <SPCE>, "TALL" } };
185         };
186         overlay "KPAD" {
187             <SPCE>= <KP0>
188         };
189     }; // End of "Keypad" section
190
191     alias <AC00> = <CAPS>;
192     alias <AA00> = <LCTL>;
193 };