2 //Copyright 1996, 1998 The Open Group
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
10 //The above copyright notice and this permission notice shall be
11 //included in all copies or substantial portions of the Software.
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.
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.
26 default xkb_geometry "FlexPro" {
28 // This is an approximate layout for a Key Tronic FlexPro
29 // keyboard. I just took a similar layout (101 key PC keyboard)
30 // and adjusted the sizes of a few keys by eye. I didn't actually
31 // *measure* a real keyboard.
33 description= "Key Tronic FlexPro keyboard";
38 shape "EDGE" { cornerRadius= 2, { [ 515, 200 ] } };
39 shape.cornerRadius= 1;
40 shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
41 shape "BKSP" { { [ 32,18] }, { [2,1], [30,17] } };
42 shape "TABK" { { [ 32,18] }, { [2,1], [30,17] } };
43 shape "BKSL" { { [ 23,18] }, { [2,1], [21,17] } };
45 approx = { [16, 0], [38,37] },
46 { [16, 0], [38, 0], [38,37],
47 [ 0,37], [ 0,19], [16,19] },
48 { [18, 1], [36, 1], [36,36],
49 [ 2,36], [ 2,20], [18,20] } };
50 shape "CAPS" { { [36,18] }, { [2,1], [34,17] } };
51 shape "SHFT" { { [46,18] }, { [2,1], [44,17] } };
52 shape "LCTL" { { [32,18] }, { [2,1], [30,17] } };
53 shape "RCTL" { { [38,18] }, { [2,1], [36,17] } };
54 shape "LALT" { { [28,18] }, { [2,1], [26,17] } };
55 shape "RALT" { { [33,18] }, { [2,1], [31,17] } };
56 shape "LSPC" { { [66,22] }, { [0,0], [66,22] } };
57 shape "RSPC" { { [76,22] }, { [0,0], [76,22] } };
58 shape "KP0" { { [37,18] }, { [2,1], [35,17] } };
59 shape "KPEN" { { [18,37] }, { [2,1], [16,36] } };
60 shape "LOGO" { cornerRadius= 3, { [80,35] } };
78 keys { <FK01>, <FK02> };
83 keys { <FK03>, <FK04> };
87 keys { <FK05>, <FK06> };
92 keys { <FK07>, <FK08> };
97 keys { <FK09>, <FK10> };
101 keys { <FK11>, <FK12> };
103 }; // End of "Function" section
111 { <ESC>, color="grey20" }, { <BKSL>, "BKSL", color="grey20" },
112 <AE01>, <AE02>, <AE03>, <AE04>,
113 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
114 <AE10>, <AE11>, <AE12>,
115 { <BKSP>, "BKSP", color="grey20" }
121 { <TLDE>, color="grey20" }, { <TAB>, "TABK", color="grey20" },
122 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
123 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
125 { <RTRN>, "RTRN", -14, color="grey20" }
131 { <LCTL>, color="grey20" }, { <CAPS>, "CAPS", color="grey20" },
132 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
133 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, <AC11>
139 { <LFSH>, color="grey20" },
140 { <LFSH>, "SHFT", color="grey20" },
141 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
142 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
143 { <RTSH>, "SHFT", color="grey20" }
151 { <LCTL>, shape="LCTL" },
152 { <LALT>, shape="LALT" },
153 { <SPCE>, shape="LSPC", 4, color="white" },
154 { <SPCE>, shape="RSPC",color="white" },
155 { <RALT>, shape="RALT", 4 },
156 { <RCTL>, shape="RCTL" }
159 }; // End of "Alpha" section
167 keys { <PRSC>, <SCLK>, <PAUS> };
171 keys { <INS>, <HOME>, <PGUP> };
175 keys { <DELE>, <END>, <PGDN> };
184 keys { <LEFT>, <DOWN>, <RGHT> };
186 }; // End of "Editing" section
188 shape "LEDS" { cornerRadius= 3, { [ 76, 20 ] } };
189 shape "LED" { cornerRadius= 0, { [ 7, 4 ] } };
196 indicator.onColor= "green";
197 indicator.offColor= "green30";
199 indicator.shape= "LED";
200 indicator "Num Lock" { left= 440; };
201 indicator "Caps Lock" { left= 467; };
202 indicator "Scroll Lock" { left= 489; };
205 text "NumLockLabel" { left= 438; text="Num\nLock"; };
206 text "CapsLockLabel" { left= 465; text="Caps\nLock"; };
207 text "ScrollLockLabel" { left= 487; text="Scroll\nLock"; };
209 logo "FlexProLogoImage" {
215 text "KeyTronicLogoText" {
233 keys { <NMLK>, <KPDV>, <KPMU>, <LEFT> };
237 keys { <KP7>, <KP8>, <KP9>, { <KPSU>, color= "grey20" } };
241 keys { <KP4>, <KP5>, <KP6>, { <KPAD>, color= "grey20" } };
245 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN", color= "grey20" } };
249 keys { { <KP0>, "KP0" }, <KPDL> };
251 }; // End of "Keypad" section