1 // $Xorg: keytronic,v 1.4 2001/02/09 02:05:50 xorgcvs Exp $
3 //Copyright 1996, 1998 The Open Group
5 //Permission to use, copy, modify, distribute, and sell this software and its
6 //documentation for any purpose is hereby granted without fee, provided that
7 //the above copyright notice appear in all copies and that both that
8 //copyright notice and this permission notice appear in supporting
11 //The above copyright notice and this permission notice shall be
12 //included in all copies or substantial portions of the Software.
14 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
18 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 //OTHER DEALINGS IN THE SOFTWARE.
22 //Except as contained in this notice, the name of The Open Group shall
23 //not be used in advertising or otherwise to promote the sale, use or
24 //other dealings in this Software without prior written authorization
25 //from The Open Group.
27 default xkb_geometry "FlexPro" {
29 // This is an approximate layout for a Key Tronic FlexPro
30 // keyboard. I just took a similar layout (101 key PC keyboard)
31 // and adjusted the sizes of a few keys by eye. I didn't actually
32 // *measure* a real keyboard.
34 description= "Key Tronic FlexPro keyboard";
39 shape "EDGE" { cornerRadius= 2, { [ 515, 200 ] } };
40 shape.cornerRadius= 1;
41 shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
42 shape "BKSP" { { [ 32,18] }, { [2,1], [30,17] } };
43 shape "TABK" { { [ 32,18] }, { [2,1], [30,17] } };
44 shape "BKSL" { { [ 23,18] }, { [2,1], [21,17] } };
46 approx = { [16, 0], [38,37] },
47 { [16, 0], [38, 0], [38,37],
48 [ 0,37], [ 0,19], [16,19] },
49 { [18, 1], [36, 1], [36,36],
50 [ 2,36], [ 2,20], [18,20] } };
51 shape "CAPS" { { [36,18] }, { [2,1], [34,17] } };
52 shape "SHFT" { { [46,18] }, { [2,1], [44,17] } };
53 shape "LCTL" { { [32,18] }, { [2,1], [30,17] } };
54 shape "RCTL" { { [38,18] }, { [2,1], [36,17] } };
55 shape "LALT" { { [28,18] }, { [2,1], [26,17] } };
56 shape "RALT" { { [33,18] }, { [2,1], [31,17] } };
57 shape "LSPC" { { [66,22] }, { [0,0], [66,22] } };
58 shape "RSPC" { { [76,22] }, { [0,0], [76,22] } };
59 shape "KP0" { { [37,18] }, { [2,1], [35,17] } };
60 shape "KPEN" { { [18,37] }, { [2,1], [16,36] } };
61 shape "LOGO" { cornerRadius= 3, { [80,35] } };
79 keys { <FK01>, <FK02> };
84 keys { <FK03>, <FK04> };
88 keys { <FK05>, <FK06> };
93 keys { <FK07>, <FK08> };
98 keys { <FK09>, <FK10> };
102 keys { <FK11>, <FK12> };
104 }; // End of "Function" section
112 { <ESC>, color="grey20" }, { <BKSL>, "BKSL", color="grey20" },
113 <AE01>, <AE02>, <AE03>, <AE04>,
114 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
115 <AE10>, <AE11>, <AE12>,
116 { <BKSP>, "BKSP", color="grey20" }
122 { <TLDE>, color="grey20" }, { <TAB>, "TABK", color="grey20" },
123 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
124 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
126 { <RTRN>, "RTRN", -14, color="grey20" }
132 { <LCTL>, color="grey20" }, { <CAPS>, "CAPS", color="grey20" },
133 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
134 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, <AC11>
140 { <LFSH>, color="grey20" },
141 { <LFSH>, "SHFT", color="grey20" },
142 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
143 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
144 { <RTSH>, "SHFT", color="grey20" }
152 { <LCTL>, shape="LCTL" },
153 { <LALT>, shape="LALT" },
154 { <SPCE>, shape="LSPC", 4, color="white" },
155 { <SPCE>, shape="RSPC",color="white" },
156 { <RALT>, shape="RALT", 4 },
157 { <RCTL>, shape="RCTL" }
160 }; // End of "Alpha" section
168 keys { <PRSC>, <SCLK>, <PAUS> };
172 keys { <INS>, <HOME>, <PGUP> };
176 keys { <DELE>, <END>, <PGDN> };
185 keys { <LEFT>, <DOWN>, <RGHT> };
187 }; // End of "Editing" section
189 shape "LEDS" { cornerRadius= 3, { [ 76, 20 ] } };
190 shape "LED" { cornerRadius= 0, { [ 7, 4 ] } };
197 indicator.onColor= "green";
198 indicator.offColor= "green30";
200 indicator.shape= "LED";
201 indicator "Num Lock" { left= 440; };
202 indicator "Caps Lock" { left= 467; };
203 indicator "Scroll Lock" { left= 489; };
206 text "NumLockLabel" { left= 438; text="Num\nLock"; };
207 text "CapsLockLabel" { left= 465; text="Caps\nLock"; };
208 text "ScrollLockLabel" { left= 487; text="Scroll\nLock"; };
210 logo "FlexProLogoImage" {
216 text "KeyTronicLogoText" {
234 keys { <NMLK>, <KPDV>, <KPMU>, <LEFT> };
238 keys { <KP7>, <KP8>, <KP9>, { <KPSU>, color= "grey20" } };
242 keys { <KP4>, <KP5>, <KP6>, { <KPAD>, color= "grey20" } };
246 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN", color= "grey20" } };
250 keys { { <KP0>, "KP0" }, <KPDL> };
252 }; // End of "Keypad" section