sun revision 1.1.1.4 1 1.1.1.4 mrg // Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
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
28 1.1 mrg xkb_geometry "t6" {
29 1.1 mrg
30 1.1 mrg // This is an approximate layout for a (US/ASCII) Sun Type6
31 1.1 mrg // keyboard. I just took a similar layout (101 key PC keyboard)
32 1.1 mrg // and adjusted the sizes.
33 1.1 mrg
34 1.1 mrg width= 515;
35 1.1 mrg height= 170;
36 1.1 mrg
37 1.1 mrg shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
38 1.1 mrg shape.cornerRadius= 1;
39 1.1 mrg shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
40 1.1 mrg shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
41 1.1 mrg shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
42 1.1 mrg shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
43 1.1 mrg shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
44 1.1 mrg shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
45 1.1 mrg shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
46 1.1 mrg shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
47 1.1 mrg shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
48 1.1 mrg shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
49 1.1 mrg shape "SPCE" { { [136,18] }, { [2,1], [134,17] } };
50 1.1 mrg shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
51 1.1 mrg shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
52 1.1 mrg shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
53 1.1 mrg shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } };
54 1.1 mrg shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } };
55 1.1 mrg shape "LOGO" { { [ 16,16] } };
56 1.1 mrg
57 1.1 mrg outline "Edges" {
58 1.1 mrg top= 0;
59 1.1 mrg left= 0;
60 1.1 mrg shape= "EDGE";
61 1.1 mrg };
62 1.1 mrg
63 1.1 mrg section.left= 14;
64 1.1 mrg row.left= 1;
65 1.1 mrg key.shape= "NORM";
66 1.1 mrg key.gap= 1;
67 1.1 mrg section "Function" {
68 1.1 mrg top= 24;
69 1.1 mrg row {
70 1.1 mrg top= 1;
71 1.1 mrg keys { { <HELP>, "HELP" }, { <ESC>, 9 },
72 1.1 mrg { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
73 1.1 mrg { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
74 1.1 mrg { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
75 1.1 mrg { <PRSC>, 9 }, <SCLK>, <PAUS>,
76 1.1 mrg { <MUTE>, 9 }, <VOL->, <VOL+>, <POWR>
77 1.1 mrg };
78 1.1 mrg };
79 1.1 mrg }; // End of "Function" section
80 1.1 mrg
81 1.1 mrg section "Alpha" {
82 1.1 mrg top= 61;
83 1.1 mrg row {
84 1.1 mrg top= 1;
85 1.1 mrg keys { <STOP>, <AGAI>,
86 1.1 mrg { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
87 1.1 mrg <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
88 1.1 mrg <AE10>, <AE11>, <AE12>,
89 1.1 mrg { <BKSP>, "BKSP", color="grey20" }
90 1.1 mrg };
91 1.1 mrg };
92 1.1 mrg row {
93 1.1 mrg top= 20;
94 1.1 mrg keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
95 1.1 mrg <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
96 1.1 mrg <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
97 1.1 mrg <AD11>, <AD12>,
98 1.1 mrg { <BKSL>, "BKSL" }
99 1.1 mrg };
100 1.1 mrg };
101 1.1 mrg row {
102 1.1 mrg top= 39;
103 1.1 mrg keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
104 1.1 mrg <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
105 1.1 mrg <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
106 1.1 mrg <AC11>,
107 1.1 mrg { <RTRN>, "RTRN" }
108 1.1 mrg };
109 1.1 mrg };
110 1.1 mrg row {
111 1.1 mrg top= 58;
112 1.1 mrg keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" },
113 1.1 mrg <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
114 1.1 mrg <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
115 1.1 mrg { <RTSH>, "RTSH", color="grey20" }
116 1.1 mrg };
117 1.1 mrg };
118 1.1 mrg row {
119 1.1 mrg top= 77;
120 1.1 mrg keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
121 1.1 mrg <LALT>, { <LMTA>, "LMTA" },
122 1.1 mrg { <SPCE>, "SPCE" },
123 1.1 mrg { <RMTA>, "RMTA" }, <COMP>, <ALGR>
124 1.1 mrg };
125 1.1 mrg };
126 1.1 mrg }; // End of "Alpha" section
127 1.1 mrg
128 1.1 mrg section "Editing" {
129 1.1 mrg top= 61;
130 1.1 mrg left= 352;
131 1.1 mrg row {
132 1.1 mrg top= 1;
133 1.1 mrg keys { <INS>, <HOME>, <PGUP> };
134 1.1 mrg };
135 1.1 mrg row {
136 1.1 mrg top= 20;
137 1.1 mrg keys { <DELE>, <END>, <PGDN> };
138 1.1 mrg };
139 1.1 mrg row {
140 1.1 mrg top= 58;
141 1.1 mrg left= 20;
142 1.1 mrg keys { <UP> };
143 1.1 mrg };
144 1.1 mrg row {
145 1.1 mrg top= 77;
146 1.1 mrg keys { <LEFT>, <DOWN>, <RGHT> };
147 1.1 mrg };
148 1.1 mrg }; // End of "Editing" section
149 1.1 mrg
150 1.1 mrg section "Keypad" {
151 1.1 mrg top= 61;
152 1.1 mrg left= 420;
153 1.1 mrg row {
154 1.1 mrg top= 1;
155 1.1 mrg keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
156 1.1 mrg };
157 1.1 mrg row {
158 1.1 mrg top= 20;
159 1.1 mrg keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
160 1.1 mrg };
161 1.1 mrg row {
162 1.1 mrg top= 39;
163 1.1 mrg keys { <KP4>, <KP5>, <KP6> };
164 1.1 mrg };
165 1.1 mrg row {
166 1.1 mrg top= 58;
167 1.1 mrg keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
168 1.1 mrg };
169 1.1 mrg row {
170 1.1 mrg top= 77;
171 1.1 mrg keys { { <KP0>, "KP0" }, <KPDL> };
172 1.1 mrg };
173 1.1 mrg }; // End of "Keypad" section
174 1.1 mrg
175 1.1 mrg shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
176 1.1 mrg shape "LED" { cornerRadius= 2, { [ 3, 6 ] } };
177 1.1 mrg solid "LedPanel" {
178 1.1 mrg shape= "LEDS";
179 1.1 mrg top= 1;
180 1.1 mrg left= 218;
181 1.1 mrg };
182 1.1 mrg indicator.onColor= "green";
183 1.1 mrg indicator.offColor= "green30";
184 1.1 mrg indicator.top= 10;
185 1.1 mrg indicator.shape= "LED";
186 1.1 mrg indicator "CapsLock" { left= 243; };
187 1.1 mrg indicator "Compose" { left= 281; };
188 1.1 mrg indicator "ScrollLock" { left= 262; };
189 1.1 mrg indicator "NumLock" { left= 224; };
190 1.1 mrg text.top= 1;
191 1.1 mrg text.color= "black";
192 1.1 mrg text "CapsLockLabel" { left= 243; text="Caps\nLock"; };
193 1.1 mrg text "ComposeLabel" { left= 281; text="Compose"; };
194 1.1 mrg text "ScrollLockLabel" { left= 262; text="Scroll\nLock"; };
195 1.1 mrg text "NumLockLabel" { left= 224; text="Num\nLock"; };
196 1.1 mrg
197 1.1 mrg
198 1.1 mrg };
199 1.1 mrg
200 1.1 mrg xkb_geometry "t6tuv" {
201 1.1 mrg
202 1.1 mrg // This is an approximate layout for a (US/ASCII) Sun Type6
203 1.1 mrg // keyboard. I just took a similar layout (101 key PC keyboard)
204 1.1 mrg // and adjusted the sizes.
205 1.1 mrg
206 1.1 mrg width= 515;
207 1.1 mrg height= 170;
208 1.1 mrg
209 1.1 mrg shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
210 1.1 mrg shape.cornerRadius= 1;
211 1.1 mrg shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
212 1.1 mrg shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
213 1.1 mrg shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
214 1.1 mrg shape "RTRN" {
215 1.1 mrg approx = { [ 0, 0], [28,37] },
216 1.1 mrg { [ 0, 0], [28, 0], [28,37],
217 1.1 mrg [ 5,37], [ 5,18], [ 0,18] },
218 1.1 mrg { [ 1, 1], [26, 1], [26,36],
219 1.1 mrg [ 7,36], [ 7,17], [ 1,17] }
220 1.1 mrg };
221 1.1 mrg shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
222 1.1 mrg shape "LFSH" { { [ 24,18] }, { [2,1], [22,17] } };
223 1.1 mrg shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
224 1.1 mrg shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
225 1.1 mrg shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
226 1.1 mrg shape "SPCE" { { [137,18] }, { [2,1], [135,17] } };
227 1.1 mrg shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
228 1.1 mrg shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
229 1.1 mrg shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } };
230 1.1 mrg shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } };
231 1.1 mrg shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
232 1.1 mrg shape "LOGO" { { [ 16,16] } };
233 1.1 mrg
234 1.1 mrg outline "Edges" {
235 1.1 mrg top= 0;
236 1.1 mrg left= 0;
237 1.1 mrg shape= "EDGE";
238 1.1 mrg };
239 1.1 mrg
240 1.1 mrg section.left= 14;
241 1.1 mrg row.left= 1;
242 1.1 mrg key.shape= "NORM";
243 1.1 mrg key.gap= 1;
244 1.1 mrg section "Function" {
245 1.1 mrg top= 24;
246 1.1 mrg row {
247 1.1 mrg top= 1;
248 1.1 mrg keys { { <HELP>, "HELP" }, { <ESC>, 9 },
249 1.1 mrg { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
250 1.1 mrg { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
251 1.1 mrg { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
252 1.1 mrg { <PRSC>, 9 }, <SCLK>, <PAUS>,
253 1.1 mrg { <MUTE>, 9 }, <VOL->, <VOL+>, <POWR>
254 1.1 mrg };
255 1.1 mrg };
256 1.1 mrg }; // End of "Function" section
257 1.1 mrg
258 1.1 mrg section "Alpha" {
259 1.1 mrg top= 61;
260 1.1 mrg row {
261 1.1 mrg top= 1;
262 1.1 mrg keys { <STOP>, <AGAI>,
263 1.1 mrg { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
264 1.1 mrg <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
265 1.1 mrg <AE10>, <AE11>, <AE12>,
266 1.1 mrg { <BKSP>, "BKSP", color="grey20" }
267 1.1 mrg };
268 1.1 mrg };
269 1.1 mrg row {
270 1.1 mrg top= 20;
271 1.1 mrg keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
272 1.1 mrg <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
273 1.1 mrg <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
274 1.1 mrg <AD11>, <AD12>,
275 1.1 mrg { <RTRN>, "RTRN" }
276 1.1 mrg };
277 1.1 mrg };
278 1.1 mrg row {
279 1.1 mrg top= 39;
280 1.1 mrg keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
281 1.1 mrg <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
282 1.1 mrg <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
283 1.1 mrg <AC11>, <BKSL>
284 1.1 mrg };
285 1.1 mrg };
286 1.1 mrg row {
287 1.1 mrg top= 58;
288 1.1 mrg keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, <LSGT>,
289 1.1 mrg <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
290 1.1 mrg <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
291 1.1 mrg { <RTSH>, "RTSH", color="grey20" }
292 1.1 mrg };
293 1.1 mrg };
294 1.1 mrg row {
295 1.1 mrg top= 77;
296 1.1 mrg keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
297 1.1 mrg <LALT>, { <LMTA>, "LMTA" },
298 1.1 mrg { <SPCE>, "SPCE" },
299 1.1 mrg { <RMTA>, "RMTA" }, <COMP>, <ALGR>
300 1.1 mrg };
301 1.1 mrg };
302 1.1 mrg }; // End of "Alpha" section
303 1.1 mrg
304 1.1 mrg section "Editing" {
305 1.1 mrg top= 61;
306 1.1 mrg left= 352;
307 1.1 mrg row {
308 1.1 mrg top= 1;
309 1.1 mrg keys { <INS>, <HOME>, <PGUP> };
310 1.1 mrg };
311 1.1 mrg row {
312 1.1 mrg top= 20;
313 1.1 mrg keys { <DELE>, <END>, <PGDN> };
314 1.1 mrg };
315 1.1 mrg row {
316 1.1 mrg top= 58;
317 1.1 mrg left= 20;
318 1.1 mrg keys { <UP> };
319 1.1 mrg };
320 1.1 mrg row {
321 1.1 mrg top= 77;
322 1.1 mrg keys { <LEFT>, <DOWN>, <RGHT> };
323 1.1 mrg };
324 1.1 mrg }; // End of "Editing" section
325 1.1 mrg
326 1.1 mrg section "Keypad" {
327 1.1 mrg top= 61;
328 1.1 mrg left= 420;
329 1.1 mrg row {
330 1.1 mrg top= 1;
331 1.1 mrg keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
332 1.1 mrg };
333 1.1 mrg row {
334 1.1 mrg top= 20;
335 1.1 mrg keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
336 1.1 mrg };
337 1.1 mrg row {
338 1.1 mrg top= 39;
339 1.1 mrg keys { <KP4>, <KP5>, <KP6> };
340 1.1 mrg };
341 1.1 mrg row {
342 1.1 mrg top= 58;
343 1.1 mrg keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
344 1.1 mrg };
345 1.1 mrg row {
346 1.1 mrg top= 77;
347 1.1 mrg keys { { <KP0>, "KP0" }, <KPDL> };
348 1.1 mrg };
349 1.1 mrg }; // End of "Keypad" section
350 1.1 mrg
351 1.1 mrg shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
352 1.1 mrg shape "LED" { cornerRadius= 2, { [ 3, 6 ] } };
353 1.1 mrg solid "LedPanel" {
354 1.1 mrg shape= "LEDS";
355 1.1 mrg top= 1;
356 1.1 mrg left= 218;
357 1.1 mrg };
358 1.1 mrg indicator.onColor= "green";
359 1.1 mrg indicator.offColor= "green30";
360 1.1 mrg indicator.top= 10;
361 1.1 mrg indicator.shape= "LED";
362 1.1 mrg indicator "CapsLock" { left= 243; };
363 1.1 mrg indicator "Compose" { left= 281; };
364 1.1 mrg indicator "ScrollLock" { left= 262; };
365 1.1 mrg indicator "NumLock" { left= 224; };
366 1.1 mrg text.top= 1;
367 1.1 mrg text.color= "black";
368 1.1 mrg text "CapsLockLabel" { left= 243; text="Caps\nLock"; };
369 1.1 mrg text "ComposeLabel" { left= 281; text="Compose"; };
370 1.1 mrg text "ScrollLockLabel" { left= 262; text="Scroll\nLock"; };
371 1.1 mrg text "NumLockLabel" { left= 224; text="Num\nLock"; };
372 1.1 mrg
373 1.1 mrg };
374 1.1 mrg
375 1.1 mrg xkb_geometry "t6jp" {
376 1.1 mrg
377 1.1 mrg // This is an approximate layout for a (US/ASCII) Sun Type6
378 1.1 mrg // keyboard. I just took a similar layout (101 key PC keyboard)
379 1.1 mrg // and adjusted the sizes.
380 1.1 mrg
381 1.1 mrg width= 515;
382 1.1 mrg height= 170;
383 1.1 mrg
384 1.1 mrg shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
385 1.1 mrg shape.cornerRadius= 1;
386 1.1 mrg shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
387 1.1 mrg shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
388 1.1 mrg shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
389 1.1 mrg shape "KANJ" { { [ 27,18] }, { [2,1], [25,17] } };
390 1.1 mrg shape "EXEC" { { [ 27,18] }, { [2,1], [25,17] } };
391 1.1 mrg shape "RTRN" {
392 1.1 mrg approx = { [ 0, 0], [28,37] },
393 1.1 mrg { [ 0, 0], [28, 0], [28,37],
394 1.1 mrg [ 5,37], [ 5,18], [ 0,18] },
395 1.1 mrg { [ 1, 1], [26, 1], [26,36],
396 1.1 mrg [ 7,36], [ 7,17], [ 1,17] }
397 1.1 mrg };
398 1.1 mrg shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
399 1.1 mrg shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
400 1.1 mrg shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } };
401 1.1 mrg shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
402 1.1 mrg shape "SPCE" { { [ 96,18] }, { [2,1], [94,17] } };
403 1.1 mrg shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
404 1.1 mrg shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
405 1.1 mrg shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
406 1.1 mrg shape "LOGO" { { [ 16,16] } };
407 1.1 mrg
408 1.1 mrg outline "Edges" {
409 1.1 mrg top= 0;
410 1.1 mrg left= 0;
411 1.1 mrg shape= "EDGE";
412 1.1 mrg };
413 1.1 mrg
414 1.1 mrg section.left= 14;
415 1.1 mrg row.left= 1;
416 1.1 mrg key.shape= "NORM";
417 1.1 mrg key.gap= 1;
418 1.1 mrg section "Function" {
419 1.1 mrg top= 24;
420 1.1 mrg row {
421 1.1 mrg top= 1;
422 1.1 mrg keys { { <HELP>, "HELP" }, { <ESC>, 9 },
423 1.1 mrg { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
424 1.1 mrg { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
425 1.1 mrg { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
426 1.1 mrg { <PRSC>, 9 }, <SCLK>, <PAUS>,
427 1.1 mrg { <MUTE>, 9 }, <VOL->, <VOL+>, <POWR>
428 1.1 mrg };
429 1.1 mrg };
430 1.1 mrg }; // End of "Function" section
431 1.1 mrg
432 1.1 mrg section "Alpha" {
433 1.1 mrg top= 61;
434 1.1 mrg row {
435 1.1 mrg top= 1;
436 1.1 mrg keys { <STOP>, <AGAI>,
437 1.1 mrg { <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
438 1.1 mrg <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
439 1.1 mrg <AE10>, <AE11>, <AE12>,
440 1.1 mrg { <BKSP>, "BKSP", color="grey20" }
441 1.1 mrg };
442 1.1 mrg };
443 1.1 mrg row {
444 1.1 mrg top= 20;
445 1.1 mrg keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
446 1.1 mrg <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
447 1.1 mrg <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
448 1.1 mrg <AD11>, <AD12>,
449 1.1 mrg { <RTRN>, "RTRN" }
450 1.1 mrg };
451 1.1 mrg };
452 1.1 mrg row {
453 1.1 mrg top= 39;
454 1.1 mrg keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
455 1.1 mrg <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
456 1.1 mrg <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
457 1.1 mrg <AC11>, <BKSL>
458 1.1 mrg };
459 1.1 mrg };
460 1.1 mrg row {
461 1.1 mrg top= 58;
462 1.1 mrg keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" },
463 1.1 mrg <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
464 1.1 mrg <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <UNDR>,
465 1.1 mrg { <RTSH>, "RTSH", color="grey20" }
466 1.1 mrg };
467 1.1 mrg };
468 1.1 mrg row {
469 1.1 mrg top= 77;
470 1.1 mrg keys { <FIND>, <CUT>, { <LCTL>, 9 },
471 1.1 mrg <LALT>, <LMTA>, { <EXEC>, "EXEC" },
472 1.1 mrg { <SPCE>, "SPCE" }, { <KANJ>, "KANJ" }, <HENK>,
473 1.1 mrg <RMTA>, <COMP>, <ALGR>
474 1.1 mrg };
475 1.1 mrg };
476 1.1 mrg }; // End of "Alpha" section
477 1.1 mrg
478 1.1 mrg section "Editing" {
479 1.1 mrg top= 61;
480 1.1 mrg left= 352;
481 1.1 mrg row {
482 1.1 mrg top= 1;
483 1.1 mrg keys { <INS>, <HOME>, <PGUP> };
484 1.1 mrg };
485 1.1 mrg row {
486 1.1 mrg top= 20;
487 1.1 mrg keys { <DELE>, <END>, <PGDN> };
488 1.1 mrg };
489 1.1 mrg row {
490 1.1 mrg top= 58;
491 1.1 mrg left= 20;
492 1.1 mrg keys { <UP> };
493 1.1 mrg };
494 1.1 mrg row {
495 1.1 mrg top= 77;
496 1.1 mrg keys { <LEFT>, <DOWN>, <RGHT> };
497 1.1 mrg };
498 1.1 mrg }; // End of "Editing" section
499 1.1 mrg
500 1.1 mrg section "Keypad" {
501 1.1 mrg top= 61;
502 1.1 mrg left= 420;
503 1.1 mrg row {
504 1.1 mrg top= 1;
505 1.1 mrg keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
506 1.1 mrg };
507 1.1 mrg row {
508 1.1 mrg top= 20;
509 1.1 mrg keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
510 1.1 mrg };
511 1.1 mrg row {
512 1.1 mrg top= 39;
513 1.1 mrg keys { <KP4>, <KP5>, <KP6> };
514 1.1 mrg };
515 1.1 mrg row {
516 1.1 mrg top= 58;
517 1.1 mrg keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
518 1.1 mrg };
519 1.1 mrg row {
520 1.1 mrg top= 77;
521 1.1 mrg keys { { <KP0>, "KP0" }, <KPDL> };
522 1.1 mrg };
523 1.1 mrg }; // End of "Keypad" section
524 1.1 mrg
525 1.1 mrg shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
526 1.1 mrg shape "LED" { cornerRadius= 2, { [ 3, 6 ] } };
527 1.1 mrg solid "LedPanel" {
528 1.1 mrg shape= "LEDS";
529 1.1 mrg top= 1;
530 1.1 mrg left= 218;
531 1.1 mrg };
532 1.1 mrg indicator.onColor= "green";
533 1.1 mrg indicator.offColor= "green30";
534 1.1 mrg indicator.top= 10;
535 1.1 mrg indicator.shape= "LED";
536 1.1 mrg indicator "CapsLock" { left= 243; };
537 1.1 mrg indicator "Compose" { left= 281; };
538 1.1 mrg indicator "ScrollLock" { left= 262; };
539 1.1 mrg indicator "NumLock" { left= 224; };
540 1.1 mrg text.top= 1;
541 1.1 mrg text.color= "black";
542 1.1 mrg text "CapsLockLabel" { left= 243; text="Caps\nLock"; };
543 1.1 mrg text "ComposeLabel" { left= 281; text="Compose"; };
544 1.1 mrg text "ScrollLockLabel" { left= 262; text="Scroll\nLock"; };
545 1.1 mrg text "NumLockLabel" { left= 224; text="Num\nLock"; };
546 1.1 mrg
547 1.1 mrg };
548 1.1 mrg
549 1.1 mrg xkb_geometry "t6unix" {
550 1.1 mrg
551 1.1 mrg // This is an approximate layout for a (US/ASCII) Sun Type6
552 1.1 mrg // keyboard. I just took a similar layout (101 key PC keyboard)
553 1.1 mrg // and adjusted the sizes.
554 1.1 mrg
555 1.1 mrg width= 515;
556 1.1 mrg height= 170;
557 1.1 mrg
558 1.1 mrg shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
559 1.1 mrg shape.cornerRadius= 1;
560 1.1 mrg shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
561 1.1 mrg shape "BKSP" { { [ 28,18] }, { [2,1], [26,17] } };
562 1.1 mrg shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
563 1.1 mrg shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
564 1.1 mrg shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
565 1.1 mrg shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
566 1.1 mrg shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
567 1.1 mrg shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
568 1.1 mrg shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
569 1.1 mrg shape "SPCE" { { [136,18] }, { [2,1], [134,17] } };
570 1.1 mrg shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
571 1.1 mrg shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
572 1.1 mrg shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
573 1.1 mrg shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } };
574 1.1 mrg shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } };
575 1.1 mrg shape "LOGO" { { [ 16,16] } };
576 1.1 mrg
577 1.1 mrg outline "Edges" {
578 1.1 mrg top= 0;
579 1.1 mrg left= 0;
580 1.1 mrg shape= "EDGE";
581 1.1 mrg };
582 1.1 mrg
583 1.1 mrg section.left= 14;
584 1.1 mrg row.left= 1;
585 1.1 mrg key.shape= "NORM";
586 1.1 mrg key.gap= 1;
587 1.1 mrg section "Function" {
588 1.1 mrg top= 24;
589 1.1 mrg row {
590 1.1 mrg top= 1;
591 1.1 mrg keys { { <HELP>, "HELP" }, { <NONE>, 9 },
592 1.1 mrg { <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
593 1.1 mrg { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
594 1.1 mrg { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
595 1.1 mrg { <PRSC>, 9 }, <SCLK>, <PAUS>,
596 1.1 mrg { <MUTE>, 9 }, <VOL->, <VOL+>, <POWR>
597 1.1 mrg };
598 1.1 mrg };
599 1.1 mrg }; // End of "Function" section
600 1.1 mrg
601 1.1 mrg section "Alpha" {
602 1.1 mrg top= 61;
603 1.1 mrg row {
604 1.1 mrg top= 1;
605 1.1 mrg keys { <STOP>, <AGAI>,
606 1.1 mrg { <ESC>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
607 1.1 mrg <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
608 1.1 mrg <AE10>, <AE11>, <AE12>,
609 1.1 mrg <BKSL>, <TLDE>
610 1.1 mrg };
611 1.1 mrg };
612 1.1 mrg row {
613 1.1 mrg top= 20;
614 1.1 mrg keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
615 1.1 mrg <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
616 1.1 mrg <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
617 1.1 mrg <AD11>, <AD12>,
618 1.1 mrg { <BKSP>, "BKSP", color="grey20" }
619 1.1 mrg };
620 1.1 mrg };
621 1.1 mrg row {
622 1.1 mrg top= 39;
623 1.1 mrg keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
624 1.1 mrg <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
625 1.1 mrg <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
626 1.1 mrg <AC11>,
627 1.1 mrg { <RTRN>, "RTRN" }
628 1.1 mrg };
629 1.1 mrg };
630 1.1 mrg row {
631 1.1 mrg top= 58;
632 1.1 mrg keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" },
633 1.1 mrg <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
634 1.1 mrg <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
635 1.1 mrg { <RTSH>, "RTSH", color="grey20" }
636 1.1 mrg };
637 1.1 mrg };
638 1.1 mrg row {
639 1.1 mrg top= 77;
640 1.1 mrg keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
641 1.1 mrg <LALT>, {<LMTA>, "LMTA"},
642 1.1 mrg { <SPCE>, "SPCE" },
643 1.1 mrg {<RMTA>, "RMTA"}, <COMP>, <ALGR>
644 1.1 mrg };
645 1.1 mrg };
646 1.1 mrg }; // End of "Alpha" section
647 1.1 mrg
648 1.1 mrg section "Editing" {
649 1.1 mrg top= 61;
650 1.1 mrg left= 352;
651 1.1 mrg row {
652 1.1 mrg top= 1;
653 1.1 mrg keys { <INS>, <HOME>, <PGUP> };
654 1.1 mrg };
655 1.1 mrg row {
656 1.1 mrg top= 20;
657 1.1 mrg keys { <DELE>, <END>, <PGDN> };
658 1.1 mrg };
659 1.1 mrg row {
660 1.1 mrg top= 58;
661 1.1 mrg left= 20;
662 1.1 mrg keys { <UP> };
663 1.1 mrg };
664 1.1 mrg row {
665 1.1 mrg top= 77;
666 1.1 mrg keys { <LEFT>, <DOWN>, <RGHT> };
667 1.1 mrg };
668 1.1 mrg }; // End of "Editing" section
669 1.1 mrg
670 1.1 mrg section "Keypad" {
671 1.1 mrg top= 61;
672 1.1 mrg left= 420;
673 1.1 mrg row {
674 1.1 mrg top= 1;
675 1.1 mrg keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
676 1.1 mrg };
677 1.1 mrg row {
678 1.1 mrg top= 20;
679 1.1 mrg keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
680 1.1 mrg };
681 1.1 mrg row {
682 1.1 mrg top= 39;
683 1.1 mrg keys { <KP4>, <KP5>, <KP6> };
684 1.1 mrg };
685 1.1 mrg row {
686 1.1 mrg top= 58;
687 1.1 mrg keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
688 1.1 mrg };
689 1.1 mrg row {
690 1.1 mrg top= 77;
691 1.1 mrg keys { { <KP0>, "KP0" }, <KPDL> };
692 1.1 mrg };
693 1.1 mrg }; // End of "Keypad" section
694 1.1 mrg
695 1.1 mrg shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
696 1.1 mrg shape "LED" { cornerRadius= 2, { [ 3, 6 ] } };
697 1.1 mrg solid "LedPanel" {
698 1.1 mrg shape= "LEDS";
699 1.1 mrg top= 1;
700 1.1 mrg left= 218;
701 1.1 mrg };
702 1.1 mrg indicator.onColor= "green";
703 1.1 mrg indicator.offColor= "green30";
704 1.1 mrg indicator.top= 10;
705 1.1 mrg indicator.shape= "LED";
706 1.1 mrg indicator "CapsLock" { left= 243; };
707 1.1 mrg indicator "Compose" { left= 281; };
708 1.1 mrg indicator "ScrollLock" { left= 262; };
709 1.1 mrg indicator "NumLock" { left= 224; };
710 1.1 mrg text.top= 1;
711 1.1 mrg text.color= "black";
712 1.1 mrg text "CapsLockLabel" { left= 243; text="Caps\nLock"; };
713 1.1 mrg text "ComposeLabel" { left= 281; text="Compose"; };
714 1.1 mrg text "ScrollLockLabel" { left= 262; text="Scroll\nLock"; };
715 1.1 mrg text "NumLockLabel" { left= 224; text="Num\nLock"; };
716 1.1 mrg };
717 1.1 mrg
718 1.1 mrg
719 1.1 mrg default xkb_geometry "type6" {
720 1.1 mrg include "sun(t6)"
721 1.1 mrg description= "Sun Type6 keyboard (US, Korea, Taiwan)";
722 1.1 mrg };
723 1.1 mrg
724 1.1 mrg xkb_geometry "type6jp" {
725 1.1 mrg include "sun(t6jp)"
726 1.1 mrg description= "Sun Type6 Japanese keyboard";
727 1.1 mrg };
728 1.1 mrg
729 1.1 mrg xkb_geometry "type6tuv" {
730 1.1 mrg include "sun(t6tuv)"
731 1.1 mrg description= "Sun Type6 TUV keyboard";
732 1.1 mrg };
733 1.1 mrg
734 1.1 mrg xkb_geometry "type6unix" {
735 1.1 mrg include "sun(t6unix)"
736 1.1 mrg description= "Sun Type6 Unix keyboard";
737 1.1 mrg };
738 1.1 mrg
739 1.1.1.4 mrg xkb_geometry "type7" {
740 1.1.1.4 mrg include "sun(t6)"
741 1.1.1.4 mrg description= "Sun Type7 keyboard (US, Korea, Taiwan)";
742 1.1.1.4 mrg };
743 1.1.1.4 mrg
744 1.1.1.4 mrg xkb_geometry "type7jp" {
745 1.1.1.4 mrg include "sun(t6jp)"
746 1.1.1.4 mrg description= "Sun Type7 Japanese keyboard";
747 1.1 mrg };
748 1.1 mrg
749 1.1.1.4 mrg xkb_geometry "type7tuv" {
750 1.1.1.4 mrg include "sun(t6tuv)"
751 1.1.1.4 mrg description= "Sun Type7 TUV keyboard";
752 1.1 mrg };
753 1.1 mrg
754 1.1.1.4 mrg xkb_geometry "type7unix" {
755 1.1.1.4 mrg include "sun(t6unix)"
756 1.1.1.4 mrg description= "Sun Type7 Unix keyboard";
757 1.1 mrg };
758