keytronic revision 1.1 1 1.1 mrg // $Xorg: keytronic,v 1.4 2001/02/09 02:05:50 xorgcvs Exp $
2 1.1 mrg //
3 1.1 mrg //Copyright 1996, 1998 The Open Group
4 1.1 mrg //
5 1.1 mrg //Permission to use, copy, modify, distribute, and sell this software and its
6 1.1 mrg //documentation for any purpose is hereby granted without fee, provided that
7 1.1 mrg //the above copyright notice appear in all copies and that both that
8 1.1 mrg //copyright notice and this permission notice appear in supporting
9 1.1 mrg //documentation.
10 1.1 mrg //
11 1.1 mrg //The above copyright notice and this permission notice shall be
12 1.1 mrg //included in all copies or substantial portions of the Software.
13 1.1 mrg //
14 1.1 mrg //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 1.1 mrg //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 1.1 mrg //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 1.1 mrg //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
18 1.1 mrg //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19 1.1 mrg //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 1.1 mrg //OTHER DEALINGS IN THE SOFTWARE.
21 1.1 mrg //
22 1.1 mrg //Except as contained in this notice, the name of The Open Group shall
23 1.1 mrg //not be used in advertising or otherwise to promote the sale, use or
24 1.1 mrg //other dealings in this Software without prior written authorization
25 1.1 mrg //from The Open Group.
26 1.1 mrg //
27 1.1 mrg default xkb_geometry "FlexPro" {
28 1.1 mrg
29 1.1 mrg // This is an approximate layout for a Key Tronic FlexPro
30 1.1 mrg // keyboard. I just took a similar layout (101 key PC keyboard)
31 1.1 mrg // and adjusted the sizes of a few keys by eye. I didn't actually
32 1.1 mrg // *measure* a real keyboard.
33 1.1 mrg
34 1.1 mrg description= "Key Tronic FlexPro keyboard";
35 1.1 mrg
36 1.1 mrg width= 515;
37 1.1 mrg height= 200;
38 1.1 mrg
39 1.1 mrg shape "EDGE" { cornerRadius= 2, { [ 515, 200 ] } };
40 1.1 mrg shape.cornerRadius= 1;
41 1.1 mrg shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
42 1.1 mrg shape "BKSP" { { [ 32,18] }, { [2,1], [30,17] } };
43 1.1 mrg shape "TABK" { { [ 32,18] }, { [2,1], [30,17] } };
44 1.1 mrg shape "BKSL" { { [ 23,18] }, { [2,1], [21,17] } };
45 1.1 mrg shape "RTRN" {
46 1.1 mrg approx = { [16, 0], [38,37] },
47 1.1 mrg { [16, 0], [38, 0], [38,37],
48 1.1 mrg [ 0,37], [ 0,19], [16,19] },
49 1.1 mrg { [18, 1], [36, 1], [36,36],
50 1.1 mrg [ 2,36], [ 2,20], [18,20] } };
51 1.1 mrg shape "CAPS" { { [36,18] }, { [2,1], [34,17] } };
52 1.1 mrg shape "SHFT" { { [46,18] }, { [2,1], [44,17] } };
53 1.1 mrg shape "LCTL" { { [32,18] }, { [2,1], [30,17] } };
54 1.1 mrg shape "RCTL" { { [38,18] }, { [2,1], [36,17] } };
55 1.1 mrg shape "LALT" { { [28,18] }, { [2,1], [26,17] } };
56 1.1 mrg shape "RALT" { { [33,18] }, { [2,1], [31,17] } };
57 1.1 mrg shape "LSPC" { { [66,22] }, { [0,0], [66,22] } };
58 1.1 mrg shape "RSPC" { { [76,22] }, { [0,0], [76,22] } };
59 1.1 mrg shape "KP0" { { [37,18] }, { [2,1], [35,17] } };
60 1.1 mrg shape "KPEN" { { [18,37] }, { [2,1], [16,36] } };
61 1.1 mrg shape "LOGO" { cornerRadius= 3, { [80,35] } };
62 1.1 mrg
63 1.1 mrg outline "Edges" {
64 1.1 mrg top= 0;
65 1.1 mrg left= 0;
66 1.1 mrg shape= "EDGE";
67 1.1 mrg };
68 1.1 mrg
69 1.1 mrg section.left= 9;
70 1.1 mrg row.left= 1;
71 1.1 mrg key.shape= "NORM";
72 1.1 mrg key.gap= 1;
73 1.1 mrg
74 1.1 mrg section "Function" {
75 1.1 mrg top= 56;
76 1.1 mrg row {
77 1.1 mrg top = 1;
78 1.1 mrg key.color= "grey20";
79 1.1 mrg keys { <FK01>, <FK02> };
80 1.1 mrg };
81 1.1 mrg row {
82 1.1 mrg top = 20;
83 1.1 mrg key.color= "grey20";
84 1.1 mrg keys { <FK03>, <FK04> };
85 1.1 mrg };
86 1.1 mrg row {
87 1.1 mrg top = 39;
88 1.1 mrg keys { <FK05>, <FK06> };
89 1.1 mrg };
90 1.1 mrg row {
91 1.1 mrg top = 58;
92 1.1 mrg key.color= "grey20";
93 1.1 mrg keys { <FK07>, <FK08> };
94 1.1 mrg };
95 1.1 mrg row {
96 1.1 mrg top = 77;
97 1.1 mrg key.color= "grey20";
98 1.1 mrg keys { <FK09>, <FK10> };
99 1.1 mrg };
100 1.1 mrg row {
101 1.1 mrg top = 96;
102 1.1 mrg keys { <FK11>, <FK12> };
103 1.1 mrg };
104 1.1 mrg }; // End of "Function" section
105 1.1 mrg
106 1.1 mrg section "Alpha" {
107 1.1 mrg top= 56;
108 1.1 mrg left= 53;
109 1.1 mrg row {
110 1.1 mrg top= 1;
111 1.1 mrg keys {
112 1.1 mrg { <ESC>, color="grey20" }, { <BKSL>, "BKSL", color="grey20" },
113 1.1 mrg <AE01>, <AE02>, <AE03>, <AE04>,
114 1.1 mrg <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
115 1.1 mrg <AE10>, <AE11>, <AE12>,
116 1.1 mrg { <BKSP>, "BKSP", color="grey20" }
117 1.1 mrg };
118 1.1 mrg };
119 1.1 mrg row {
120 1.1 mrg top= 20;
121 1.1 mrg keys {
122 1.1 mrg { <TLDE>, color="grey20" }, { <TAB>, "TABK", color="grey20" },
123 1.1 mrg <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
124 1.1 mrg <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
125 1.1 mrg <AD11>, <AD12>,
126 1.1 mrg { <RTRN>, "RTRN", -14, color="grey20" }
127 1.1 mrg };
128 1.1 mrg };
129 1.1 mrg row {
130 1.1 mrg top= 39;
131 1.1 mrg keys {
132 1.1 mrg { <LCTL>, color="grey20" }, { <CAPS>, "CAPS", color="grey20" },
133 1.1 mrg <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
134 1.1 mrg <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, <AC11>
135 1.1 mrg };
136 1.1 mrg };
137 1.1 mrg row {
138 1.1 mrg top= 58;
139 1.1 mrg keys {
140 1.1 mrg { <LFSH>, color="grey20" },
141 1.1 mrg { <LFSH>, "SHFT", color="grey20" },
142 1.1 mrg <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
143 1.1 mrg <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
144 1.1 mrg { <RTSH>, "SHFT", color="grey20" }
145 1.1 mrg };
146 1.1 mrg };
147 1.1 mrg row {
148 1.1 mrg top= 77;
149 1.1 mrg key.color= "grey20";
150 1.1 mrg keys {
151 1.1 mrg <LALT>,
152 1.1 mrg { <LCTL>, shape="LCTL" },
153 1.1 mrg { <LALT>, shape="LALT" },
154 1.1 mrg { <SPCE>, shape="LSPC", 4, color="white" },
155 1.1 mrg { <SPCE>, shape="RSPC",color="white" },
156 1.1 mrg { <RALT>, shape="RALT", 4 },
157 1.1 mrg { <RCTL>, shape="RCTL" }
158 1.1 mrg };
159 1.1 mrg };
160 1.1 mrg }; // End of "Alpha" section
161 1.1 mrg
162 1.1 mrg section "Editing" {
163 1.1 mrg top= 12;
164 1.1 mrg left= 365;
165 1.1 mrg key.color= "grey20";
166 1.1 mrg row {
167 1.1 mrg top= 1;
168 1.1 mrg keys { <PRSC>, <SCLK>, <PAUS> };
169 1.1 mrg };
170 1.1 mrg row {
171 1.1 mrg top= 45;
172 1.1 mrg keys { <INS>, <HOME>, <PGUP> };
173 1.1 mrg };
174 1.1 mrg row {
175 1.1 mrg top= 64;
176 1.1 mrg keys { <DELE>, <END>, <PGDN> };
177 1.1 mrg };
178 1.1 mrg row {
179 1.1 mrg top= 102;
180 1.1 mrg left= 20;
181 1.1 mrg keys { <UP> };
182 1.1 mrg };
183 1.1 mrg row {
184 1.1 mrg top= 121;
185 1.1 mrg keys { <LEFT>, <DOWN>, <RGHT> };
186 1.1 mrg };
187 1.1 mrg }; // End of "Editing" section
188 1.1 mrg
189 1.1 mrg shape "LEDS" { cornerRadius= 3, { [ 76, 20 ] } };
190 1.1 mrg shape "LED" { cornerRadius= 0, { [ 7, 4 ] } };
191 1.1 mrg solid "LedPanel" {
192 1.1 mrg shape= "LEDS";
193 1.1 mrg top= 11;
194 1.1 mrg left= 430;
195 1.1 mrg color= "grey10";
196 1.1 mrg };
197 1.1 mrg indicator.onColor= "green";
198 1.1 mrg indicator.offColor= "green30";
199 1.1 mrg indicator.top= 13;
200 1.1 mrg indicator.shape= "LED";
201 1.1 mrg indicator "Num Lock" { left= 440; };
202 1.1 mrg indicator "Caps Lock" { left= 467; };
203 1.1 mrg indicator "Scroll Lock" { left= 489; };
204 1.1 mrg text.top= 22;
205 1.1 mrg text.color= "black";
206 1.1 mrg text "NumLockLabel" { left= 438; text="Num\nLock"; };
207 1.1 mrg text "CapsLockLabel" { left= 465; text="Caps\nLock"; };
208 1.1 mrg text "ScrollLockLabel" { left= 487; text="Scroll\nLock"; };
209 1.1 mrg
210 1.1 mrg logo "FlexProLogoImage" {
211 1.1 mrg top= 12;
212 1.1 mrg left= 45;
213 1.1 mrg name= "KeyTronic";
214 1.1 mrg shape= "LOGO";
215 1.1 mrg };
216 1.1 mrg text "KeyTronicLogoText" {
217 1.1 mrg top= 15;
218 1.1 mrg left= 50;
219 1.1 mrg width= 55;
220 1.1 mrg text= "FlexPro";
221 1.1 mrg font= "times";
222 1.1 mrg slant= "o";
223 1.1 mrg weight= "bold";
224 1.1 mrg fontWidth= "narrow";
225 1.1 mrg fontSize= 36;
226 1.1 mrg };
227 1.1 mrg
228 1.1 mrg section "Keypad" {
229 1.1 mrg top= 56;
230 1.1 mrg left= 430;
231 1.1 mrg row {
232 1.1 mrg top= 1;
233 1.1 mrg key.color= "grey20";
234 1.1 mrg keys { <NMLK>, <KPDV>, <KPMU>, <LEFT> };
235 1.1 mrg };
236 1.1 mrg row {
237 1.1 mrg top= 20;
238 1.1 mrg keys { <KP7>, <KP8>, <KP9>, { <KPSU>, color= "grey20" } };
239 1.1 mrg };
240 1.1 mrg row {
241 1.1 mrg top= 39;
242 1.1 mrg keys { <KP4>, <KP5>, <KP6>, { <KPAD>, color= "grey20" } };
243 1.1 mrg };
244 1.1 mrg row {
245 1.1 mrg top= 58;
246 1.1 mrg keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN", color= "grey20" } };
247 1.1 mrg };
248 1.1 mrg row {
249 1.1 mrg top= 77;
250 1.1 mrg keys { { <KP0>, "KP0" }, <KPDL> };
251 1.1 mrg };
252 1.1 mrg }; // End of "Keypad" section
253 1.1 mrg };
254