1 // $Xorg: lk,v 1.3 2000/08/17 19:54:36 cpqbld Exp $
3 //Copyright (c) 1996 Digital Equipment Corporation
5 //Permission is hereby granted, free of charge, to any person obtaining
6 //a copy of this software and associated documentation files (the
7 //"Software"), to deal in the Software without restriction, including
8 //without limitation the rights to use, copy, modify, merge, publish,
9 //distribute, sublicense, and sell copies of the Software, and to
10 //permit persons to whom the Software is furnished to do so, subject to
11 //the following conditions:
13 //The above copyright notice and this permission notice shall be included
14 //in all copies or substantial portions of the Software.
16 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17 //OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 //IN NO EVENT SHALL DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM,
20 //DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
21 //OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
22 //THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 //Except as contained in this notice, the name of the Digital Equipment
25 //Corporation shall not be used in advertising or otherwise to promote
26 //the sale, use or other dealings in this Software without prior written
27 //authorization from Digital Equipment Corporation.
31 // Revision 1.2 1996/06/18 09:12:47 erik
32 // use flags correctly, assorted cleanups and consortium fixes
34 // Revision 1.1.6.2 1995/08/18 21:15:16 William_Walker
35 // Upgrade XKB to Protocol Rev. 0.64
36 // [1995/08/18 20:41:46 William_Walker]
38 // Revision 1.1.2.5 1995/08/11 19:35:47 William_Walker
39 // Sync up with Erik's pool.
40 // [1995/08/11 18:35:58 William_Walker]
42 // Revision 1.1.2.4 1995/06/27 12:17:28 William_Walker
43 // Rename <TLDE> to ISO9995 compliant <AE00>.
44 // [1995/06/26 20:23:07 William_Walker]
46 // Revision 1.1.2.3 1995/06/09 20:54:36 William_Walker
47 // Add VT105 layout support and ISO group support
48 // [1995/06/09 20:40:38 William_Walker]
50 // Revision 1.1.2.2 1995/06/05 19:21:16 William_Walker
51 // New file. I love keymaps.
52 // [1995/06/05 18:05:43 William_Walker]
56 // @(#)RCSfile: lk,v Revision: 1.2 (DEC) Date: 1996/01/24 12:16:00
58 xkb_geometry "lk201" {
61 shape.cornerRadius = 1;
63 shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
65 approx = { [0,0],[23,19] },
66 { [0,0], [23,0], [23,39], [5,39], [5,19], [0,19] },
67 { [3,2], [20,2], [20,36], [8,36], [8,16], [3,16] }
69 shape "LONG" { { [37,19] }, { [3,2], [34,16] } };
70 shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
71 shape "MED" { { [28,19] }, { [3,2], [25,16] } };
72 shape "CAPS" { { [28,19] }, { [3,2], [18,16] } };
73 shape "SPCE" { { [171,19] },{ [3,2], [168,16]} };
74 shape "LEDS" { [ 30,15] };
75 shape "LED" { [ 5, 2] };
82 section "Function" { top = 20;
84 keys { <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
85 { <FK06>, 19 }, <FK07>, <FK08>, <FK09>, <FK10>,
86 { <FK11>, 19 }, <FK12>, <FK13>, <FK14>,
87 { <FK17>, 98 }, <FK18>, <FK19>, <FK20>
92 section "Editing" { top = 20; left = 350;
94 keys { <HELP>, { <DO>, "LONG" } };
97 keys { <FIND>, <INS>, <DELE> };
100 keys { <SELE>, <PGUP>, <PGDN> };
102 row { top = 81; left = 20;
106 keys { <LEFT>, <DOWN>, <RGHT> };
110 section "Keypad" { top = 60; left = 426;
112 keys { <KPF1>, <KPF2>, <KPF3>, <KPF4> };
115 keys { <KP7>, <KP8>, <KP9>, <KPSU> };
118 keys { <KP4>, <KP5>, <KP6>, <KPCO> };
121 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
124 keys { { <KP0>, "LONG" }, <KPDL> };
128 section "Alpha" { top = 60;
129 row { top = 1; left = 15;
131 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
132 <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
136 row { top = 21; left = 15;
137 keys { { <TAB>, "MED" },
138 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
139 <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
147 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
148 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
152 keys { { <LFSH>, "LONG" },
153 <AB00>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
154 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
158 row { top = 81; left = 26;
159 keys { { <LCMP>, "LONG" },
168 section "Indicators" {
169 indicator.onColor = "#00ff00";
170 indicator.offColor= "#001000";
172 indicator.shape= "LED";
173 indicator "Scroll Lock" { left = 9; };
174 indicator "Caps Lock" { left = 27; };
175 indicator "Compose" { left = 45; };
176 indicator "Wait" { left = 63; };
178 text.color = "black";
179 text "HoldScreenLabel" {left = 5; text="Hold\n"; };
180 text "CapsLockLabel" {left = 23; text="Lock\n"; };
181 text "ComposeLabel" {left = 37; text="Compose\n"; };
182 text "WaitLabel" {left = 60; text="Wait\n"; };
186 xkb_geometry "lk401" {
190 shape.cornerRadius = 1;
192 shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
194 approx = { [0,0],[23,19] },
195 { [0,0], [23,0], [23,39], [5,39], [5,19], [0,19] },
196 { [3,2], [20,2], [20,36], [8,36], [8,16], [3,16] }
198 shape "LONG" { { [37,19] }, { [3,2], [34,16] } };
199 shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
200 shape "MED" { { [28,19] }, { [3,2], [25,16] } };
201 shape "CAPS" { { [28,19] }, { [3,2], [18,16] } };
202 shape "SPCE" { { [131,19] },{ [3,2], [128,16]} };
203 shape "LEDS" { [ 36,15] };
204 shape "LED" { [ 5, 2] };
211 text "Logo" {left = 20; top = 10; text="digital\n"; };
213 section "Function" { top = 20;
215 keys { <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
216 { <FK06>, 15 }, <FK07>, <FK08>, <FK09>, <FK10>,
217 { <FK11>, 15 }, <FK12>, <FK13>, <FK14>,
218 { <FK17>, 75 }, <FK18>, <FK19>, <FK20>
223 section "Editing" { top = 20; left = 320;
225 keys { <HELP>, { <DO>, "LONG" } };
228 keys { <FIND>, <INS>, <DELE> };
231 keys { <SELE>, <PGUP>, <PGDN> };
233 row { top = 81; left= 20;
237 keys { <LEFT>, <DOWN>, <RGHT> };
241 section "Keypad" { top = 60; left = 385;
243 keys { <KPF1>, <KPF2>, <KPF3>, <KPF4> };
247 keys { <KP7>, <KP8>, <KP9>, <KPSU> };
250 keys { <KP4>, <KP5>, <KP6>, <KPCO> };
253 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
256 keys { { <KP0>, "LONG" }, <KPDL> };
260 section "Alpha" { top = 60;
261 row { top = 1; left = 15;
263 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
264 <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
268 row { top = 21; left = 15;
269 keys { { <TAB>, "MED" },
270 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
271 <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
279 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
280 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
284 keys { { <LFSH>, "LONG" },
285 <AB00>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
286 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
290 row { top = 81; left = 29;
291 keys { { <LCMP>, "MED" },
302 section "Indicators" {
303 solid "led_panel" { top = 0; left = 0;
308 indicator.onColor = "#00ff00";
309 indicator.offColor= "#001000";
310 indicator.shape = "LED";
312 indicator "Scroll Lock" { left = 3; };
313 indicator "Caps Lock" { left = 22; };
315 section "IndicatorLabels" {
317 text.color = "black";
318 text "ScrollLockLabel" {left = 3; text="Scroll\nLock"; };
319 text "CapsLockLabel" {left = 22; text="Caps\nLock"; };
323 xkb_geometry "lk450" {
327 shape.cornerRadius = 1;
329 shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
331 approx = { [0,0],[23,19] },
332 { [0,0], [23,0], [23,39], [5,39], [5,19], [0,19] },
333 { [3,2], [20,2], [20,36], [8,36], [8,16], [3,16] }
335 shape "LONG" { { [37,19] }, { [3,2], [34,16] } };
336 shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
337 shape "MED" { { [28,19] }, { [3,2], [25,16] } };
338 shape "CAPS" { { [28,19] }, { [3,2], [18,16] } };
339 shape "SPCE" { { [131,19] },{ [3,2], [128,16]} };
340 shape "LEDS" { [ 36,15] };
341 shape "LED" { [ 5, 2] };
348 text "Logo" {left = 20; top = 10; text="digital\n"; };
350 section "Function" { top = 20;
352 keys { <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
353 { <FK06>, 15 }, <FK07>, <FK08>, <FK09>, <FK10>,
354 { <FK11>, 15 }, <FK12>, <FK13>, <FK14>,
355 { <FK17>, 75 }, <FK18>, <FK19>, <FK20>
360 section "Editing" { top = 20; left = 320;
362 keys { <HELP>, { <DO>, "LONG" } };
365 keys { <FIND>, <INS>, <DELE> };
368 keys { <SELE>, <PGUP>, <PGDN> };
370 row { top = 81; left= 20;
374 keys { <LEFT>, <DOWN>, <RGHT> };
378 section "Keypad" { top = 60; left = 385;
380 keys { <KPF1>, <KPF2>, <KPF3>, <KPF4> };
384 keys { <KP7>, <KP8>, <KP9>, <KPSU> };
387 keys { <KP4>, <KP5>, <KP6>, <KPCO> };
390 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
393 keys { { <KP0>, "LONG" }, <KPDL> };
397 section "Alpha" { top = 60;
398 row { top = 1; left = 15;
400 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
401 <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
405 row { top = 21; left = 15;
406 keys { { <TAB>, "MED" },
407 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
408 <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
416 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
417 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
421 keys { { <LFSH>, "LONG" },
422 <AB00>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
423 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
427 row { top = 81; left = 29;
428 keys { { <LCMP>, "MED" },
439 section "Indicators" {
440 solid "led_panel" { top = 0; left = 0;
445 indicator.onColor = "#00ff00";
446 indicator.offColor= "#001000";
447 indicator.shape = "LED";
449 indicator "Scroll Lock" { left = 3; };
450 indicator "Caps Lock" { left = 22; };
452 section "IndicatorLabels" {
454 text.color = "black";
455 text "ScrollLockLabel" {left = 3; text="Scroll\nLock"; };
456 text "CapsLockLabel" {left = 22; text="Caps\nLock"; };
460 xkb_geometry "lk401bj"
464 shape.cornerRadius = 1;
466 shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
468 approx = { [0,0],[23,19] },
469 { [0,0], [23,0], [23,39], [5,39], [5,19], [0,19] },
470 { [3,2], [20,2], [20,36], [8,36], [8,16], [3,16] }
472 shape "LONG" { { [37,19] }, { [3,2], [34,16] } };
473 shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
474 shape "MED" { { [28,19] }, { [3,2], [25,16] } };
475 shape "CAPS" { { [28,19] }, { [3,2], [18,16] } };
476 shape "SPCE" { { [131,19] },{ [3,2], [128,16]} };
477 shape "LEDS" { [ 30,15] };
478 shape "LED" { [ 5, 2] };
485 text "Logo" {left = 20; top = 10; text="digital\n"; };
487 section "Function" { top = 20;
489 keys { <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
490 { <FK06>, 15 }, <FK07>, <FK08>, <FK09>, <FK10>,
491 { <FK11>, 15 }, <FK12>, <FK13>, <FK14>,
492 { <FK17>, 75 }, <FK18>, <FK19>, <FK20>
497 section "Editing" { top = 20; left = 320;
499 keys { <HELP>, { <DO>, "LONG" } };
502 keys { <FIND>, <INS>, <DELE> };
505 keys { <SELE>, <PGUP>, <PGDN> };
507 row { top = 81; left = 20;
511 keys { <LEFT>, <DOWN>, <RGHT> };
515 section "Keypad" { top = 60; left = 385;
517 keys { <PF1>, <PF2>, <PF3>, <PF4> };
520 keys { <KP7>, <KP8>, <KP9>, <KPSU> };
523 keys { <KP4>, <KP5>, <KP6>, <KPCO> };
526 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
529 keys { { <KP0>, "LONG" }, <KPDL> };
533 section "Alpha" { top = 60;
534 row { top = 1; left = 15;
536 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
537 <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
541 row { top = 21; left = 15;
542 keys { { <TAB>, "MED" },
543 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
544 <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
551 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
552 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
556 keys { { <LFSH>, "LONG" },
557 <AB00>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
558 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
562 row { top = 81; left = 29;
563 keys { { <LCMP>, "MED" },
575 section "Indicators" {
576 solid "led_panel" { top = 0; left = 0;
581 indicator.onColor = "#00ff00";
582 indicator.offColor= "#001000";
584 indicator.shape= "LED";
585 indicator "Scroll Lock" { left = 3; };
586 indicator "Caps Lock" { left = 22; };
588 text.color = "black";
589 text "ScrollLockLabel" {left = 3; text="Scroll\nLock"; };
590 text "CapsLockLabel" {left = 19; text="Caps\nLock"; };
594 xkb_geometry "lk401jj" {
598 shape.cornerRadius = 1;
600 shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
602 approx = { [0,0],[28,23] },
603 { [0,0], [28,0], [28,39], [5,39], [5,19], [0,19] },
604 { [3,2], [25,2], [25,36], [8,36], [8,16], [3,16] }
606 shape "LONG" { { [37,19] }, { [3,2], [34,16] } };
607 shape "LONG1" { { [32,19] }, { [3,2], [29,16] } };
608 shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
609 shape "MED" { { [28,19] }, { [3,2], [25,16] } };
610 shape "MED1" { { [23,19] }, { [3,2], [20,16] } };
611 shape "CTRL" { { [43,19] }, { [3,2], [38,16] } };
612 shape "SPCE" { { [55,19] },{ [3,2], [53,16]} };
613 shape "LEDS" { [ 56,15] };
614 shape "LED" { [ 5, 2] };
621 text "Logo" {left = 7; top = 10; text="digital\n"; };
623 section "Function" { top = 40;
625 keys { <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
626 { <FK06>, 18 }, <FK07>, <FK08>, <FK09>, <FK10>,
627 { <FK11>, 18 }, <FK12>, <FK13>, <FK14>,
628 { <FK17>, 73 }, <FK18>, <FK19>, <FK20>
633 section "Editing" { top = 40; left = 313;
635 keys { <HELP>, { <DO>, "LONG" } };
638 keys { <FIND>, <INS>, <DELE> };
641 keys { <SELE>, <PGUP>, <PGDN> };
643 row { top = 71; left= 20;
647 keys { <LEFT>, <DOWN>, <RGHT> };
651 section "Keypad" { top = 70; left = 377;
653 keys { <PF1>, <PF2>, <PF3>, <PF4> };
656 keys { <KP7>, <KP8>, <KP9>, <KPSU> };
659 keys { <KP4>, <KP5>, <KP6>, <KPCO> };
662 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
665 keys { { <KP0>, "LONG" }, <KPDL> };
669 section "Alpha" { top = 70;
670 row { top = 1; left = 7;
671 keys { { <AE00>, "MED1" },
672 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
673 <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
674 <AB00>, { <BKSP>, "MED1" }
677 row { top = 21; left = 7;
678 keys { { <TAB>, "LONG1" },
679 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
680 <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
685 keys { { <LCTL>, "CTRL" },
686 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
687 <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
691 keys { <CAPS>, { <LFSH>, "LONG1" },
692 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
693 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
694 <AB11>, { <RTSH>, "MED" }
697 row { top = 81; left = 7;
698 keys { { <LCMP>, "LONG" },
712 section "Indicators" {
713 solid "led_panel" { top = 0; left = 0;
718 indicator.onColor = "#00ff00";
719 indicator.offColor= "#001000";
721 indicator.shape= "LED";
722 indicator "Scroll Lock" { left = 6; };
723 indicator "Caps Lock" { left = 26; };
725 text.color = "black";
726 text "ScrollLockLabel" {left = 3; text="Scroll\nLock"; };
727 text "CapsLockLabel" {left = 22; text="Caps\nLock"; };