Debian Codegraph @

geometry/pc

raw
1 //
2 //Copyright 1996, 1998 The Open Group
3 //
4 //Permission to use, copy, modify, distribute, and sell this software and its
5 //documentation for any purpose is hereby granted without fee, provided that
6 //the above copyright notice appear in all copies and that both that
7 //copyright notice and this permission notice appear in supporting
8 //documentation.
9 //
10 //The above copyright notice and this permission notice shall be
11 //included in all copies or substantial portions of the Software.
12 //
13 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
14 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
15 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
16 //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
17 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
18 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
19 //OTHER DEALINGS IN THE SOFTWARE.
20 //
21 //Except as contained in this notice, the name of The Open Group shall
22 //not be used in advertising or otherwise to promote the sale, use or
23 //other dealings in this Software without prior written authorization
24 //from The Open Group.
25 //
26
27 default xkb_geometry "pc101" {
28
29 description= "Generic 101-key PC";
30 width= 470;
31 height= 180;
32
33 shape.cornerRadius= 1;
34 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
35 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
36 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
37 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
38 shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
39 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
40 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
41 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
42 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,16] } };
43 shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
44 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
45 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
46
47 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
48 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
49 solid "LedPanel" {
50 shape= "LEDS";
51 top= 22;
52 left= 377;
53 color= "grey10";
54 };
55
56 indicator.onColor= "green";
57 indicator.offColor= "green30";
58 indicator.top= 37;
59 indicator.shape= "LED";
60 indicator "Num Lock" { left= 382; };
61 indicator "Caps Lock" { left= 407; };
62 indicator "Scroll Lock" { left= 433; };
63 text.top= 25;
64 text.color= "black";
65 text "NumLockLabel" { left= 378; text="Num\nLock"; };
66 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
67 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
68
69 section.left= 19;
70 row.left= 1;
71 key.shape= "NORM";
72 key.gap= 1;
73 section "Function" {
74 top= 22;
75 row {
76 top= 1;
77 keys { { <ESC>, color="grey20" },
78 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
79 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
80 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
81 { <PRSC>, 8 }, <SCLK>, <PAUS>
82 };
83 };
84 }; // End of "Function" section
85
86 section "Alpha" {
87 top= 61;
88 row {
89 top= 1;
90 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
91 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
92 <AE10>, <AE11>, <AE12>,
93 { <BKSP>, "BKSP", color="grey20" }
94 };
95 };
96 row {
97 top= 20;
98 keys { { <TAB>, "TABK", color="grey20" },
99 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
100 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
101 <AD11>, <AD12>, { <BKSL>, "BKSL" }
102 };
103 };
104 row {
105 top= 39;
106 keys { { <CAPS>, "CAPS", color="grey20" },
107 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
108 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
109 <AC11>, { <RTRN>, "RTRN", color="grey20" }
110 };
111 };
112 row {
113 top= 58;
114 keys { { <LFSH>, "LFSH", color="grey20" },
115 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
116 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
117 { <RTSH>, "RTSH", color="grey20" }
118 };
119 };
120 row {
121 top= 77;
122 key.shape= "MODK";
123 key.color= "grey20";
124 keys { <LCTL>, { <LALT>, 19 },
125 { <SPCE>, "SPCE", color="white" },
126 <RALT>, { <RCTL>, 19 }
127 };
128 };
129 }; // End of "Alpha" section
130
131 section "Editing" {
132 top= 61;
133 left= 312;
134 key.color= "grey20";
135 row {
136 top= 1;
137 keys { <INS>, <HOME>, <PGUP> };
138 };
139 row {
140 top= 20;
141 keys { <DELE>, <END>, <PGDN> };
142 };
143 row {
144 top= 58;
145 left= 20;
146 keys { <UP> };
147 };
148 row {
149 top= 77;
150 keys { <LEFT>, <DOWN>, <RGHT> };
151 };
152 }; // End of "Editing" section
153
154 section "Keypad" {
155 top= 61;
156 left= 376;
157 row {
158 top= 1;
159 key.color= "grey20";
160 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
161 };
162 row {
163 top= 20;
164 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
165 };
166 row {
167 top= 39;
168 keys { <KP4>, <KP5>, <KP6> };
169 };
170 row {
171 top= 58;
172 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
173 };
174 row {
175 top= 77;
176 keys { { <KP0>, "KP0" }, <KPDL> };
177 };
178 }; // End of "Keypad" section
179
180 alias <AC00> = <CAPS>;
181 alias <AA00> = <LCTL>;
182
183 }; // End of "default" geometry
184
185 xkb_geometry "pc102" {
186
187 description= "Generic 102-key PC";
188 width= 470;
189 height= 180;
190
191 shape.cornerRadius= 1;
192 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
193 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
194 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
195 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
196 shape "RTRN" {
197 { [0,0], [28,0], [28,37], [5,37], [5,18], [0,18] },
198 { [2,1], [26,1], [26,35], [7,35], [7,16], [2,16] } };
199 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
200 shape "LFSH" { { [ 23,18] }, { [2,1], [ 21,16] } };
201 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
202 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,16] } };
203 shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
204 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
205 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
206
207 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
208 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
209 solid "LedPanel" {
210 shape= "LEDS";
211 top= 22;
212 left= 377;
213 color= "grey10";
214 };
215
216 indicator.onColor= "green";
217 indicator.offColor= "green30";
218 indicator.top= 37;
219 indicator.shape= "LED";
220 indicator "Num Lock" { left= 382; };
221 indicator "Caps Lock" { left= 407; };
222 indicator "Scroll Lock" { left= 433; };
223 text.top= 25;
224 text.color= "black";
225 text "NumLockLabel" { left= 378; text="Num\nLock"; };
226 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
227 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
228
229 section.left= 19;
230 row.left= 1;
231 key.shape= "NORM";
232 key.gap= 1;
233 section "Function" {
234 top= 22;
235 row {
236 top= 1;
237 keys { { <ESC>, color="grey20" },
238 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
239 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
240 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
241 { <PRSC>, 8 }, <SCLK>, <PAUS>
242 };
243 };
244 }; // End of "Function" section
245
246 section "Alpha" {
247 top= 61;
248 row {
249 top= 1;
250 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
251 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
252 <AE10>, <AE11>, <AE12>,
253 { <BKSP>, "BKSP", color="grey20" }
254 };
255 };
256 row {
257 top= 20;
258 keys { { <TAB>, "TABK", color="grey20" },
259 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
260 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
261 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
262 };
263 };
264 row {
265 top= 39;
266 keys { { <CAPS>, "CAPS", color="grey20" },
267 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
268 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
269 <AC11>, <BKSL>
270 };
271 };
272 row {
273 top= 58;
274 keys { { <LFSH>, "LFSH", color="grey20" },
275 <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
276 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
277 { <RTSH>, "RTSH", color="grey20" }
278 };
279 };
280 row {
281 top= 77;
282 key.shape= "MODK";
283 key.color= "grey20";
284 keys { <LCTL>, { <LALT>, 19 },
285 { <SPCE>, "SPCE", color="white" },
286 <RALT>, { <RCTL>, 19 }
287 };
288 };
289 }; // End of "Alpha" section
290
291 section "Editing" {
292 top= 61;
293 left= 312;
294 key.color= "grey20";
295 row {
296 top= 1;
297 keys { <INS>, <HOME>, <PGUP> };
298 };
299 row {
300 top= 20;
301 keys { <DELE>, <END>, <PGDN> };
302 };
303 row {
304 top= 58;
305 left= 20;
306 keys { <UP> };
307 };
308 row {
309 top= 77;
310 keys { <LEFT>, <DOWN>, <RGHT> };
311 };
312 }; // End of "Editing" section
313
314 section "Keypad" {
315 top= 61;
316 left= 376;
317 row {
318 top= 1;
319 key.color= "grey20";
320 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
321 };
322 row {
323 top= 20;
324 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
325 };
326 row {
327 top= 39;
328 keys { <KP4>, <KP5>, <KP6> };
329 };
330 row {
331 top= 58;
332 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
333 };
334 row {
335 top= 77;
336 keys { { <KP0>, "KP0" }, <KPDL> };
337 };
338 }; // End of "Keypad" section
339
340 alias <AC00> = <CAPS>;
341 alias <AA00> = <LCTL>;
342
343 }; // End of "pc102" geometry
344
345 xkb_geometry "pc104" {
346
347 description= "Generic 104-key PC";
348 width= 470;
349 height= 180;
350
351 shape.cornerRadius= 1;
352 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
353 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
354 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
355 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
356 shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
357 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
358 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
359 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
360 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,16] } };
361 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
362 shape "SPCE" { { [107,18] }, { [2,1], [105,16] } };
363 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
364 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
365
366 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
367 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
368 solid "LedPanel" {
369 shape= "LEDS";
370 top= 22;
371 left= 377;
372 color= "grey10";
373 };
374
375 indicator.onColor= "green";
376 indicator.offColor= "green30";
377 indicator.top= 37;
378 indicator.shape= "LED";
379 indicator "Num Lock" { left= 382; };
380 indicator "Caps Lock" { left= 407; };
381 indicator "Scroll Lock" { left= 433; };
382 text.top= 25;
383 text.color= "black";
384 text "NumLockLabel" { left= 378; text="Num\nLock"; };
385 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
386 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
387
388 section.left= 19;
389 row.left= 1;
390 key.shape= "NORM";
391 key.gap= 1;
392 section "Function" {
393 top= 22;
394 row {
395 top= 1;
396 keys { { <ESC>, color="grey20" },
397 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
398 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
399 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
400 { <PRSC>, 8 }, <SCLK>, <PAUS>
401 };
402 };
403 }; // End of "Function" section
404
405 section "Alpha" {
406 top= 61;
407 row {
408 top= 1;
409 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
410 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
411 <AE10>, <AE11>, <AE12>,
412 { <BKSP>, "BKSP", color="grey20" }
413 };
414 };
415 row {
416 top= 20;
417 keys { { <TAB>, "TABK", color="grey20" },
418 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
419 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
420 <AD11>, <AD12>, { <BKSL>, "BKSL" }
421 };
422 };
423 row {
424 top= 39;
425 keys { { <CAPS>, "CAPS", color="grey20" },
426 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
427 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
428 <AC11>, { <RTRN>, "RTRN", color="grey20" }
429 };
430 };
431 row {
432 top= 58;
433 keys { { <LFSH>, "LFSH", color="grey20" },
434 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
435 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
436 { <RTSH>, "RTSH", color="grey20" }
437 };
438 };
439 row {
440 top= 77;
441 key.shape= "SMOD";
442 key.color= "grey20";
443 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
444 { <SPCE>, "SPCE", color="white" },
445 <RALT>, <RWIN>, <MENU>, { <RCTL>, "MODK" }
446 };
447 };
448 }; // End of "Alpha" section
449
450 section "Editing" {
451 top= 61;
452 left= 312;
453 key.color= "grey20";
454 row {
455 top= 1;
456 keys { <INS>, <HOME>, <PGUP> };
457 };
458 row {
459 top= 20;
460 keys { <DELE>, <END>, <PGDN> };
461 };
462 row {
463 top= 58;
464 left= 20;
465 keys { <UP> };
466 };
467 row {
468 top= 77;
469 keys { <LEFT>, <DOWN>, <RGHT> };
470 };
471 }; // End of "Editing" section
472
473 section "Keypad" {
474 top= 61;
475 left= 376;
476 row {
477 top= 1;
478 key.color= "grey20";
479 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
480 };
481 row {
482 top= 20;
483 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
484 };
485 row {
486 top= 39;
487 keys { <KP4>, <KP5>, <KP6> };
488 };
489 row {
490 top= 58;
491 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
492 };
493 row {
494 top= 77;
495 keys { { <KP0>, "KP0" }, <KPDL> };
496 };
497 }; // End of "Keypad" section
498
499 alias <AC00> = <CAPS>;
500 alias <AA00> = <LCTL>;
501
502 }; // End of "pc104" geometry
503
504 xkb_geometry "pc105" {
505
506 description= "Generic 105-key PC";
507 width= 470;
508 height= 180;
509
510 shape.cornerRadius= 1;
511
512 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
513 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
514 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
515 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
516 shape "RTRN" {
517 { [0,0], [28,0], [28,37], [5,37], [5,18], [0,18] } ,
518 { [2,1], [26,1], [26,35], [7,35], [7,16], [2,16] } ,
519 approx = { [5,0], [28,37] } };
520 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
521 shape "LFSH" { { [ 23,18] }, { [2,1], [ 21,16] } };
522 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
523 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,16] } };
524 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
525 shape "SPCE" { { [107,18] }, { [2,1], [105,16] } };
526 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
527 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
528
529 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
530 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
531 solid "LedPanel" {
532 shape= "LEDS";
533 top= 22;
534 left= 377;
535 color= "grey10";
536 };
537
538 indicator.onColor= "green";
539 indicator.offColor= "green30";
540 indicator.top= 37;
541 indicator.shape= "LED";
542 indicator "Num Lock" { left= 382; };
543 indicator "Caps Lock" { left= 407; };
544 indicator "Scroll Lock" { left= 433; };
545 text.top= 25;
546 text.color= "black";
547 text "NumLockLabel" { left= 378; text="Num\nLock"; };
548 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
549 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
550
551 section.left= 19;
552 row.left= 1;
553 key.shape= "NORM";
554 key.gap= 1;
555 section "Function" {
556 top= 22;
557 row {
558 top= 1;
559 keys { { <ESC>, color="grey20" },
560 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
561 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
562 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
563 { <PRSC>, 8 }, <SCLK>, <PAUS>
564 };
565 };
566 }; // End of "Function" section
567
568 section "Alpha" {
569 top= 61;
570 row {
571 top= 1;
572 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
573 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
574 <AE10>, <AE11>, <AE12>,
575 { <BKSP>, "BKSP", color="grey20" }
576 };
577 };
578 row {
579 top= 20;
580 keys { { <TAB>, "TABK", color="grey20" },
581 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
582 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
583 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
584 };
585 };
586 row {
587 top= 39;
588 keys { { <CAPS>, "CAPS", color="grey20" },
589 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
590 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
591 <AC11>, <BKSL>
592 };
593 };
594 row {
595 top= 58;
596 keys { { <LFSH>, "LFSH", color="grey20" },
597 <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
598 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
599 { <RTSH>, "RTSH", color="grey20" }
600 };
601 };
602 row {
603 top= 77;
604 key.shape= "SMOD";
605 key.color= "grey20";
606 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
607 { <SPCE>, "SPCE", color="white" },
608 <RALT>, <RWIN>, <MENU>, { <RCTL>, "MODK" }
609 };
610 };
611 }; // End of "Alpha" section
612
613 section "Editing" {
614 top= 61;
615 left= 312;
616 key.color= "grey20";
617 row {
618 top= 1;
619 keys { <INS>, <HOME>, <PGUP> };
620 };
621 row {
622 top= 20;
623 keys { <DELE>, <END>, <PGDN> };
624 };
625 row {
626 top= 58;
627 left= 20;
628 keys { <UP> };
629 };
630 row {
631 top= 77;
632 keys { <LEFT>, <DOWN>, <RGHT> };
633 };
634 }; // End of "Editing" section
635
636 section "Keypad" {
637 top= 61;
638 left= 376;
639 row {
640 top= 1;
641 key.color= "grey20";
642 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
643 };
644 row {
645 top= 20;
646 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
647 };
648 row {
649 top= 39;
650 keys { <KP4>, <KP5>, <KP6> };
651 };
652 row {
653 top= 58;
654 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
655 };
656 row {
657 top= 77;
658 keys { { <KP0>, "KP0" }, <KPDL> };
659 };
660 }; // End of "Keypad" section
661
662 alias <AC00> = <CAPS>;
663 alias <AA00> = <LCTL>;
664
665 }; // End of "pc105" geometry
666
667 // Added for Japanese 106 keyboard by <tsuka(at)kawalab.dnj.ynu.ac.jp>.
668 xkb_geometry "jp106" {
669
670 description= "Japanese 106";
671 width= 470;
672 height= 180;
673
674 shape.cornerRadius= 1;
675 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
676 shape "BKSP" { { [ 19,18] }, { [2,1], [ 17,17] } };
677 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
678 shape "BKSL" { { [ 28,18] }, { [2,1], [ 25,17] } };
679 shape "RTRN" {
680 { [0,0],[ 28,0],[28,37],[5,37],[5,18],[0,18] } ,
681 { [2,1],[ 26,1],[26,36],[7,36],[7,17],[2,17] } };
682 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,17] } };
683 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
684 shape "RTSH" { { [ 33,18] }, { [2,1], [ 31,17] } };
685 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
686 shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } };
687 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
688 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
689
690 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
691 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
692 solid "LedPanel" {
693 shape= "LEDS";
694 top= 22;
695 left= 377;
696 color= "grey10";
697 };
698
699 indicator.onColor= "green";
700 indicator.offColor= "green30";
701 indicator.top= 37;
702 indicator.shape= "LED";
703 indicator "Num Lock" { left= 382; };
704 indicator "Caps Lock" { left= 407; };
705 indicator "Scroll Lock" { left= 433; };
706 text.top= 25;
707 text.color= "black";
708 text "NumLockLabel" { left= 378; text="Num\nLock"; };
709 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
710 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
711
712 section.left= 19;
713 row.left= 1;
714 key.shape= "NORM";
715 key.gap= 1;
716 section "Function" {
717 top= 22;
718 row {
719 top= 1;
720 keys { { <ESC>, color="grey20" },
721 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
722 { <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"},
723 { <FK07>, color="grey20"}, {<FK08>,color="grey20"},
724 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
725 { <PRSC>, 8 }, <SCLK>, <PAUS>
726 };
727 };
728 }; // End of "Function" section
729
730 section "Alpha" {
731 top= 61;
732 row {
733 top= 1;
734 keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>,
735 <AE03>, <AE04>, <AE05>, <AE06>, <AE07>,
736 <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
737 <AE13>, { <BKSP>, "BKSP", color="grey20" }
738 };
739 };
740 row {
741 top= 20;
742 keys { { <TAB>, "TABK", color="grey20" },
743 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
744 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
745 <AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" }
746 };
747 };
748 row {
749 top= 39;
750 keys { { <CAPS>, "CAPS", color="grey20" },
751 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
752 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
753 <AC11>, <AC12>
754 };
755 };
756 row {
757 top= 58;
758 keys { { <LFSH>, "LFSH", color="grey20" },
759 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
760 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
761 <AB11>, { <RTSH>, "RTSH", color="grey20" }
762 };
763 };
764 row {
765 top= 77;
766 key.shape= "MODK";
767 key.color= "grey20";
768 keys { <LCTL>, { <LALT>, 20 },<MUHE>,
769 { <SPCE>, "SPCE", color="white" },
770 <HENK>,<HKTG>,<RALT>, { <RCTL>, 18 }
771 };
772 };
773 }; // End of "Alpha" section
774
775 section "Editing" {
776 top= 61;
777 left= 312;
778 key.color= "grey20";
779 row {
780 top= 1;
781 keys { <INS>, <HOME>, <PGUP> };
782 };
783 row {
784 top= 20;
785 keys { <DELE>, <END>, <PGDN> };
786 };
787 row {
788 top= 58;
789 left= 20;
790 keys { <UP> };
791 };
792 row {
793 top= 77;
794 keys { <LEFT>, <DOWN>, <RGHT> };
795 };
796 }; // End of "Editing" section
797
798 section "Keypad" {
799 top= 61;
800 left= 376;
801 row {
802 top= 1;
803 key.color= "grey20";
804 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
805 };
806 row {
807 top= 20;
808 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
809 };
810 row {
811 top= 39;
812 keys { <KP4>, <KP5>, <KP6> };
813 };
814 row {
815 top= 58;
816 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
817 };
818 row {
819 top= 77;
820 keys { { <KP0>, "KP0" }, <KPDL> };
821 };
822 }; // End of "Keypad" section
823
824 alias <AC00> = <CAPS>;
825 alias <AA00> = <LCTL>;
826
827 }; // End of "jp106" geometry
828
829 // Added for Brazilian ABNT2 by Ricardo Y. Igarashi <iga(at)that.com.br>.
830 xkb_geometry "abnt2" {
831
832 description= "Brazilian ABNT2";
833 width= 470;
834 height= 180;
835
836 shape.cornerRadius= 1;
837
838 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
839 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
840 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
841 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
842 shape "RTRN" {
843 { [0,0], [28,0], [28,37], [5,37], [5,18], [0,18] } ,
844 { [2,1], [26,1], [26,35], [7,35], [7,16], [2,16] } ,
845 approx = { [5,0], [28,37] } };
846 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
847 shape "LFSH" { { [ 23,18] }, { [2,1], [ 21,16] } };
848 shape "RTSH" { { [ 33,18] }, { [2,1], [ 31,16] } };
849 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,16] } };
850 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
851 shape "SPCE" { { [107,18] }, { [2,1], [105,16] } };
852 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
853 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
854
855 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
856 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
857 solid "LedPanel" {
858 shape= "LEDS";
859 top= 22;
860 left= 377;
861 color= "grey10";
862 };
863
864 indicator.onColor= "green";
865 indicator.offColor= "green30";
866 indicator.top= 37;
867 indicator.shape= "LED";
868 indicator "Num Lock" { left= 382; };
869 indicator "Caps Lock" { left= 407; };
870 indicator "Scroll Lock" { left= 433; };
871 text.top= 25;
872 text.color= "black";
873 text "NumLockLabel" { left= 378; text="Num\nLock"; };
874 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
875 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
876
877 section.left= 19;
878 row.left= 1;
879 key.shape= "NORM";
880 key.gap= 1;
881
882 section "Function" {
883 top= 22;
884 row {
885 top= 1;
886 keys { { <ESC>, color="grey20" },
887 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
888 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
889 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
890 { <PRSC>, 8 }, <SCLK>, <PAUS>
891 };
892 };
893 }; // End of "Function" section
894
895 section "Alpha" {
896 top= 61;
897 row {
898 top= 1;
899 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
900 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
901 <AE10>, <AE11>, <AE12>,
902 { <BKSP>, "BKSP", color="grey20" }
903 };
904 };
905 row {
906 top= 20;
907 keys { { <TAB>, "TABK", color="grey20" },
908 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
909 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
910 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
911 };
912 };
913 row {
914 top= 39;
915 keys { { <CAPS>, "CAPS", color="grey20" },
916 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
917 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
918 <AC11>, <BKSL>
919 };
920 };
921 row {
922 top= 58;
923 keys { { <LFSH>, "LFSH", color="grey20" },
924 <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
925 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
926 { <RTSH>, "RTSH", color="grey20" }
927 };
928 };
929 row {
930 top= 77;
931 key.shape= "SMOD";
932 key.color= "grey20";
933 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
934 { <SPCE>, "SPCE", color="white" },
935 <RALT>, <RWIN>, <MENU>, { <RCTL>, "MODK" }
936 };
937 };
938 }; // End of "Alpha" section
939
940 section "Editing" {
941 top= 61;
942 left= 312;
943 key.color= "grey20";
944 row {
945 top= 1;
946 keys { <INS>, <HOME>, <PGUP> };
947 };
948 row {
949 top= 20;
950 keys { <DELE>, <END>, <PGDN> };
951 };
952 row {
953 top= 58;
954 left= 20;
955 keys { <UP> };
956 };
957 row {
958 top= 77;
959 keys { <LEFT>, <DOWN>, <RGHT> };
960 };
961 }; // End of "Editing" section
962
963 section "Keypad" {
964 top= 61;
965 left= 376;
966 row {
967 top= 1;
968 key.color= "grey20";
969 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
970 };
971 row {
972 top= 20;
973 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, color="grey20" } };
974 };
975 row {
976 top= 39;
977 keys { <KP4>, <KP5>, <KP6>, { <KPPT>, color="grey20" } };
978 };
979 row {
980 top= 58;
981 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
982 };
983 row {
984 top= 77;
985 keys { { <KP0>, "KP0" }, <KPDL> };
986 };
987 }; // End of "Keypad" section
988
989 }; // End of "abnt2" geometry
990
991 // Created by Alexander Pohoyda <[email protected]>
992
993 xkb_geometry "pc86" {
994 description = "Generic 86-key PC";
995 width = 287;
996 height = 143;
997 baseColor = "grey20";
998
999 shape "EDGE" { cornerRadius = 2, { [287, 143] } };
1000 shape "LED" { cornerRadius = 2, { [3, 3] } };
1001 shape "LEDS" { cornerRadius = 0, { [75, 5] } };
1002 shape "KEYS" { cornerRadius = 0, { [271, 109] } };
1003
1004 outline "Edges" {
1005 top = 0;
1006 left = 0;
1007 shape = "EDGE";
1008 color = "black";
1009 };
1010
1011 solid "KeyPanel" {
1012 shape = "KEYS";
1013 left = 8;
1014 top = 22;
1015 color = "grey70";
1016 };
1017
1018 solid "LedPanel" {
1019 shape = "LEDS";
1020 left = 212;
1021 top = 10;
1022 color = "black";
1023 };
1024
1025 indicator.onColor = "green";
1026 indicator.offColor = "green30";
1027 indicator.top = 11;
1028 indicator.shape = "LED";
1029 indicator "Num Lock" { left = 212 + 7; };
1030 indicator "Caps Lock" { left = 212 + 23; };
1031 indicator "Scroll Lock" { left = 212 + 39; };
1032 text.fontSize = 6;
1033 text.top = 10;
1034 text.color = "white";
1035 text "NumLockLabel" { left = 212 + 7 + 5; text = "Num\nLock"; };
1036 text "CapsLockLabel" { left = 212 + 23 + 5; text = "Caps\nLock"; };
1037 text "ScrollLockLabel" { left = 212 + 39 + 5; text = "Scroll\nLock"; };
1038
1039 shape.cornerRadius = 1;
1040 shape "SMALL" { { [15, 12] }, { [1.5, 0], [13.5, 10] } };
1041 shape "NARR" { { [13, 18] }, { [1.5, 0], [11.5, 14] } };
1042 shape "NORM" { { [18, 18] }, { [3, 0], [15, 14] } };
1043 shape "NORM_1" { { [22, 18] }, { [4, 0], [22, 18] },
1044 { [7, 0], [19, 14] } };
1045 shape "WIDER" { { [23, 18] }, { [3, 0], [20, 14] } };
1046 shape "WIDEST" { { [27, 18] }, { [3, 0], [24, 14] } };
1047 shape "SPCE" { { [75, 18] }, { [3, 0], [72, 14] } };
1048
1049 section "Function" {
1050 key.shape = "SMALL";
1051 key.gap = 0.99;
1052 key.color = "grey30";
1053 left = 8;
1054 top = 22;
1055 row {
1056 top = 1;
1057 keys { <ESC>,
1058 <FK01>, <FK02>, <FK03>, <FK04>,
1059 <FK05>, <FK06>, <FK07>, <FK08>,
1060 <FK09>, <FK10>, <FK11>, <FK12>,
1061 <NMLK>, <PRSC>, <SCLK>, <PAUS>
1062 };
1063 };
1064 }; // End of "Function" section
1065
1066 section "Control" {
1067 key.shape = "NORM";
1068 key.gap = 1;
1069 key.color = "grey30";
1070 left = 8;
1071 top = 111;
1072 row {
1073 top = 1;
1074 keys { <LCTL>, <FN>, <LALT>,
1075 { <SPCE>, shape="SPCE", 39 }, <RALT>,
1076 <INS>, <DELE>
1077 };
1078 };
1079 }; // End of "Control" section
1080
1081 section "Editing" {
1082 key.shape = "NARR";
1083 key.gap = 1;
1084 key.color = "grey30";
1085 left = 265;
1086 top = 34;
1087 row.vertical = True;
1088 row {
1089 top = 1;
1090 keys { <HOME>, <PGUP>, <PGDN>, <END> };
1091 };
1092 }; // End of "Editing" section
1093
1094 section "Navigation" {
1095 key.gap = 1;
1096 key.shape = "NARR";
1097 key.color = "grey30";
1098 left = 236;
1099 top = 92;
1100 row {
1101 left = 14;
1102 top = 1;
1103 keys { <UP> };
1104 };
1105 row {
1106 top = 20;
1107 keys { <LEFT>, <DOWN>, <RGHT> };
1108 };
1109 }; // End of "Navigation" section
1110
1111 section "Alpha" {
1112 key.gap = 1;
1113 key.shape = "NORM";
1114 key.color = "grey10";
1115 left = 8;
1116 top = 35;
1117 row {
1118 top = 1;
1119 keys { { <AE01>, shape="NORM_1" }, <AE02>, <AE03>, <AE04>,
1120 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
1121 <AE10>, <AE11>, <AE12>,
1122 { <BKSP>, shape="WIDER", color="grey30" }
1123 };
1124 };
1125 row {
1126 top = 20;
1127 keys { { <TAB>, shape="NARR", color="grey30" },
1128 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1129 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
1130 <AD11>, <AD12>, { <AD13>, shape="NARR" }
1131 };
1132 };
1133 row {
1134 top = 39;
1135 keys { { <CAPS>, color="grey30" },
1136 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1137 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
1138 <AC11>, { <RTRN>, shape="WIDEST", color="grey30" }
1139 };
1140 };
1141 row {
1142 top = 58;
1143 keys { { <LFSH>, shape="WIDEST", color="grey30" },
1144 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
1145 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
1146 { <RTSH>, shape="WIDER", color="grey30" }
1147 };
1148 };
1149 row {
1150 left = 57;
1151 top = 77;
1152 keys { <AE00>, <LSGT> };
1153 };
1154 }; // End of "Alpha" section
1155
1156 alias <AC00> = <CAPS>;
1157 alias <AA00> = <LCTL>;
1158 }; // End of "pc86" geometry
1159
1160 xkb_geometry "kr106" {
1161
1162 description= "Korean 106";
1163 width= 470;
1164 height= 180;
1165
1166 shape.cornerRadius= 1;
1167 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
1168 shape "BKSP" { { [ 19,18] }, { [2,1], [ 17,16] } };
1169 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
1170 shape "RTRN" {
1171 { [0,0], [28,0], [28,37], [-14,37], [-14,19], [0,19] } ,
1172 { [2,1], [26,1], [26,35], [-12,35], [-12,20], [2,20] } ,
1173 approx = { [0,0], [28,37] } };
1174 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
1175 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
1176 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
1177 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,16] } };
1178 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
1179 shape "SPCE" { { [ 69,18] }, { [2,1], [ 67,16] } };
1180 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
1181 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
1182
1183 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
1184 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
1185 solid "LedPanel" {
1186 shape= "LEDS";
1187 top= 22;
1188 left= 377;
1189 color= "grey10";
1190 };
1191
1192 indicator.onColor= "green";
1193 indicator.offColor= "green30";
1194 indicator.top= 37;
1195 indicator.shape= "LED";
1196 indicator "Num Lock" { left= 382; };
1197 indicator "Caps Lock" { left= 407; };
1198 indicator "Scroll Lock" { left= 433; };
1199 text.top= 25;
1200 text.color= "black";
1201 text "NumLockLabel" { left= 378; text="Num\nLock"; };
1202 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
1203 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
1204
1205 section.left= 19;
1206 row.left= 1;
1207 key.shape= "NORM";
1208 key.gap= 1;
1209 section "Function" {
1210 top= 22;
1211 row {
1212 top= 1;
1213 keys { { <ESC>, color="grey20" },
1214 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
1215 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
1216 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
1217 { <PRSC>, 8 }, <SCLK>, <PAUS>
1218 };
1219 };
1220 }; // End of "Function" section
1221
1222 section "Alpha" {
1223 top= 61;
1224 row {
1225 top= 1;
1226 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
1227 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
1228 <AE10>, <AE11>, <AE12>, <BKSL>,
1229 { <BKSP>, "BKSP", color="grey20" }
1230 };
1231 };
1232 row {
1233 top= 20;
1234 keys { { <TAB>, "TABK", color="grey20" },
1235 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1236 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
1237 <AD11>, <AD12>,
1238 { <RTRN>, "RTRN", color="grey20" }
1239 };
1240 };
1241 row {
1242 top= 39;
1243 keys { { <CAPS>, "CAPS", color="grey20" },
1244 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1245 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
1246 <AC11>
1247 };
1248 };
1249 row {
1250 top= 58;
1251 keys { { <LFSH>, "LFSH", color="grey20" },
1252 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
1253 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
1254 { <RTSH>, "RTSH", color="grey20" }
1255 };
1256 };
1257 row {
1258 top= 77;
1259 key.shape= "SMOD";
1260 key.color= "grey20";
1261 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
1262 { <HNGL>, "NORM", color="white" },
1263 { <SPCE>, "SPCE", color="white" },
1264 { <HJCV>, "NORM", color="white" },
1265 <RALT>, <RWIN>, <MENU>, { <RCTL>, "MODK" }
1266 };
1267 };
1268 }; // End of "Alpha" section
1269
1270 section "Editing" {
1271 top= 61;
1272 left= 312;
1273 key.color= "grey20";
1274 row {
1275 top= 1;
1276 keys { <INS>, <HOME>, <PGUP> };
1277 };
1278 row {
1279 top= 20;
1280 keys { <DELE>, <END>, <PGDN> };
1281 };
1282 row {
1283 top= 58;
1284 left= 20;
1285 keys { <UP> };
1286 };
1287 row {
1288 top= 77;
1289 keys { <LEFT>, <DOWN>, <RGHT> };
1290 };
1291 }; // End of "Editing" section
1292
1293 section "Keypad" {
1294 top= 61;
1295 left= 376;
1296 row {
1297 top= 1;
1298 key.color= "grey20";
1299 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
1300 };
1301 row {
1302 top= 20;
1303 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
1304 };
1305 row {
1306 top= 39;
1307 keys { <KP4>, <KP5>, <KP6> };
1308 };
1309 row {
1310 top= 58;
1311 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
1312 };
1313 row {
1314 top= 77;
1315 keys { { <KP0>, "KP0" }, <KPDL> };
1316 };
1317 }; // End of "Keypad" section
1318
1319 alias <AC00> = <CAPS>;
1320 alias <AA00> = <LCTL>;
1321
1322 }; // End of "kr106" geometry
1323
1324 xkb_geometry "pc104alt" {
1325
1326 description= "Generic 104-key PC with L-shaped Enter key";
1327 width= 470;
1328 height= 210;
1329
1330 shape.cornerRadius= 1;
1331 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
1332 shape "BKSP" { { [ 19,18] }, { [2,1], [ 17,16] } };
1333 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
1334 // shape "RTRN" { { [ 0,19 ], [ 0,37 ], [ 42,37 ], [ 42,0 ], [ 14,0 ], [ 14,19 ] },
1335 // { [ 2,20 ], [ 2,35 ], [ 40,35 ], [ 40,1 ], [ 16,1 ], [ 16,20 ] },
1336 // approx = { [ 17,21 ], [ 39,34 ] }
1337 // };
1338 shape "RTRN" { { [ -14,19 ], [ -14,37 ], [ 28,37 ], [ 28,0 ], [ 0,0 ], [ 0,19 ] },
1339 { [ -12,20 ], [ -12,35 ], [ 26,35 ], [ 26,1 ], [ 2,1 ], [ 2,20 ] },
1340 approx = { [ 3,21 ], [ 25,34 ] }
1341 };
1342 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
1343 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
1344 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
1345 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,16] } };
1346 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
1347 shape "SPCE" { { [107,18] }, { [2,1], [105,16] } };
1348 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
1349 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
1350
1351 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
1352 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
1353 solid "LedPanel" {
1354 shape= "LEDS";
1355 top= 52;
1356 left= 377;
1357 color= "grey10";
1358 };
1359
1360 indicator.onColor= "green";
1361 indicator.offColor= "green30";
1362 indicator.top= 67;
1363 indicator.shape= "LED";
1364 indicator "Num Lock" { left= 382; };
1365 indicator "Caps Lock" { left= 407; };
1366 indicator "Scroll Lock" { left= 433; };
1367 text.top= 55;
1368 text.color= "black";
1369 text "NumLockLabel" { left= 378; text="Num\nLock"; };
1370 text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
1371 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
1372
1373 section.left= 19;
1374 row.left= 1;
1375 key.shape= "NORM";
1376 key.gap= 1;
1377 section "Function" {
1378 top= 52;
1379 row {
1380 top= 1;
1381 keys { { <ESC>, color="grey20" },
1382 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
1383 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
1384 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
1385 { <PRSC>, 8 }, <SCLK>, <PAUS>
1386 };
1387 };
1388 }; // End of "Function" section
1389
1390 section "Alpha" {
1391 top= 91;
1392 row {
1393 top= 1;
1394 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
1395 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
1396 <AE10>, <AE11>, <AE12>, <BKSL>,
1397 { <BKSP>, "BKSP", color="grey20" }
1398 };
1399 };
1400 row {
1401 top= 20;
1402 keys { { <TAB>, "TABK", color="grey20" },
1403 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
1404 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
1405 // <AD11>, <AD12>, { <RTRN>, -13, "RTRN", color="grey20" }
1406 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
1407 };
1408 };
1409 row {
1410 top= 39;
1411 keys { { <CAPS>, "CAPS", color="grey20" },
1412 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
1413 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
1414 <AC11>
1415 };
1416 };
1417 row {
1418 top= 58;
1419 keys { { <LFSH>, "LFSH", color="grey20" },
1420 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
1421 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
1422 { <RTSH>, "RTSH", color="grey20" }
1423 };
1424 };
1425 row {
1426 top= 77;
1427 key.shape= "SMOD";
1428 key.color= "grey20";
1429 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
1430 { <SPCE>, "SPCE", color="white" },
1431 <RALT>, <RWIN>, <MENU>, { <RCTL>, "MODK" }
1432 };
1433 };
1434 }; // End of "Alpha" section
1435
1436 section "Editing" {
1437 top= 91;
1438 left= 312;
1439 key.color= "grey20";
1440 row {
1441 top= 1;
1442 keys { <INS>, <HOME>, <PGUP> };
1443 };
1444 row {
1445 top= 20;
1446 keys { <DELE>, <END>, <PGDN> };
1447 };
1448 row {
1449 top= 58;
1450 left= 20;
1451 keys { <UP> };
1452 };
1453 row {
1454 top= 77;
1455 keys { <LEFT>, <DOWN>, <RGHT> };
1456 };
1457 }; // End of "Editing" section
1458
1459 section "Keypad" {
1460 top= 91;
1461 left= 376;
1462 row {
1463 top= 1;
1464 key.color= "grey20";
1465 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
1466 };
1467 row {
1468 top= 20;
1469 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
1470 };
1471 row {
1472 top= 39;
1473 keys { <KP4>, <KP5>, <KP6> };
1474 };
1475 row {
1476 top= 58;
1477 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
1478 };
1479 row {
1480 top= 77;
1481 keys { { <KP0>, "KP0" }, <KPDL> };
1482 };
1483 }; // End of "Keypad" section
1484
1485 alias <AC00> = <CAPS>;
1486 alias <AA00> = <LCTL>;
1487
1488 }; // End of "pc104alt" geometry