1 1.1 mrg // 2 1.1 mrg //Copyright 1996, 1998 The Open Group 3 1.1 mrg // 4 1.1 mrg //Permission to use, copy, modify, distribute, and sell this software and its 5 1.1 mrg //documentation for any purpose is hereby granted without fee, provided that 6 1.1 mrg //the above copyright notice appear in all copies and that both that 7 1.1 mrg //copyright notice and this permission notice appear in supporting 8 1.1 mrg //documentation. 9 1.1 mrg // 10 1.1 mrg //The above copyright notice and this permission notice shall be 11 1.1 mrg //included in all copies or substantial portions of the Software. 12 1.1 mrg // 13 1.1 mrg //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 14 1.1 mrg //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 15 1.1 mrg //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 16 1.1 mrg //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR 17 1.1 mrg //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 18 1.1 mrg //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 19 1.1 mrg //OTHER DEALINGS IN THE SOFTWARE. 20 1.1 mrg // 21 1.1 mrg //Except as contained in this notice, the name of The Open Group shall 22 1.1 mrg //not be used in advertising or otherwise to promote the sale, use or 23 1.1 mrg //other dealings in this Software without prior written authorization 24 1.1 mrg //from The Open Group. 25 1.1 mrg // 26 1.1 mrg default xkb_geometry "FlexPro" { 27 1.1 mrg 28 1.1 mrg // This is an approximate layout for a Key Tronic FlexPro 29 1.1 mrg // keyboard. I just took a similar layout (101 key PC keyboard) 30 1.1 mrg // and adjusted the sizes of a few keys by eye. I didn't actually 31 1.1 mrg // *measure* a real keyboard. 32 1.1 mrg 33 1.1 mrg description= "Key Tronic FlexPro keyboard"; 34 1.1 mrg 35 1.1 mrg width= 515; 36 1.1 mrg height= 200; 37 1.1 mrg 38 1.1 mrg shape "EDGE" { cornerRadius= 2, { [ 515, 200 ] } }; 39 1.1 mrg shape.cornerRadius= 1; 40 1.1 mrg shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } }; 41 1.1 mrg shape "BKSP" { { [ 32,18] }, { [2,1], [30,17] } }; 42 1.1 mrg shape "TABK" { { [ 32,18] }, { [2,1], [30,17] } }; 43 1.1 mrg shape "BKSL" { { [ 23,18] }, { [2,1], [21,17] } }; 44 1.1 mrg shape "RTRN" { 45 1.1 mrg approx = { [16, 0], [38,37] }, 46 1.1 mrg { [16, 0], [38, 0], [38,37], 47 1.1 mrg [ 0,37], [ 0,19], [16,19] }, 48 1.1 mrg { [18, 1], [36, 1], [36,36], 49 1.1 mrg [ 2,36], [ 2,20], [18,20] } }; 50 1.1 mrg shape "CAPS" { { [36,18] }, { [2,1], [34,17] } }; 51 1.1 mrg shape "SHFT" { { [46,18] }, { [2,1], [44,17] } }; 52 1.1 mrg shape "LCTL" { { [32,18] }, { [2,1], [30,17] } }; 53 1.1 mrg shape "RCTL" { { [38,18] }, { [2,1], [36,17] } }; 54 1.1 mrg shape "LALT" { { [28,18] }, { [2,1], [26,17] } }; 55 1.1 mrg shape "RALT" { { [33,18] }, { [2,1], [31,17] } }; 56 1.1 mrg shape "LSPC" { { [66,22] }, { [0,0], [66,22] } }; 57 1.1 mrg shape "RSPC" { { [76,22] }, { [0,0], [76,22] } }; 58 1.1 mrg shape "KP0" { { [37,18] }, { [2,1], [35,17] } }; 59 1.1 mrg shape "KPEN" { { [18,37] }, { [2,1], [16,36] } }; 60 1.1 mrg shape "LOGO" { cornerRadius= 3, { [80,35] } }; 61 1.1 mrg 62 1.1 mrg outline "Edges" { 63 1.1 mrg top= 0; 64 1.1 mrg left= 0; 65 1.1 mrg shape= "EDGE"; 66 1.1 mrg }; 67 1.1 mrg 68 1.1 mrg section.left= 9; 69 1.1 mrg row.left= 1; 70 1.1 mrg key.shape= "NORM"; 71 1.1 mrg key.gap= 1; 72 1.1 mrg 73 1.1 mrg section "Function" { 74 1.1 mrg top= 56; 75 1.1 mrg row { 76 1.1 mrg top = 1; 77 1.1 mrg key.color= "grey20"; 78 1.1 mrg keys { <FK01>, <FK02> }; 79 1.1 mrg }; 80 1.1 mrg row { 81 1.1 mrg top = 20; 82 1.1 mrg key.color= "grey20"; 83 1.1 mrg keys { <FK03>, <FK04> }; 84 1.1 mrg }; 85 1.1 mrg row { 86 1.1 mrg top = 39; 87 1.1 mrg keys { <FK05>, <FK06> }; 88 1.1 mrg }; 89 1.1 mrg row { 90 1.1 mrg top = 58; 91 1.1 mrg key.color= "grey20"; 92 1.1 mrg keys { <FK07>, <FK08> }; 93 1.1 mrg }; 94 1.1 mrg row { 95 1.1 mrg top = 77; 96 1.1 mrg key.color= "grey20"; 97 1.1 mrg keys { <FK09>, <FK10> }; 98 1.1 mrg }; 99 1.1 mrg row { 100 1.1 mrg top = 96; 101 1.1 mrg keys { <FK11>, <FK12> }; 102 1.1 mrg }; 103 1.1 mrg }; // End of "Function" section 104 1.1 mrg 105 1.1 mrg section "Alpha" { 106 1.1 mrg top= 56; 107 1.1 mrg left= 53; 108 1.1 mrg row { 109 1.1 mrg top= 1; 110 1.1 mrg keys { 111 1.1 mrg { <ESC>, color="grey20" }, { <BKSL>, "BKSL", color="grey20" }, 112 1.1 mrg <AE01>, <AE02>, <AE03>, <AE04>, 113 1.1 mrg <AE05>, <AE06>, <AE07>, <AE08>, <AE09>, 114 1.1 mrg <AE10>, <AE11>, <AE12>, 115 1.1 mrg { <BKSP>, "BKSP", color="grey20" } 116 1.1 mrg }; 117 1.1 mrg }; 118 1.1 mrg row { 119 1.1 mrg top= 20; 120 1.1 mrg keys { 121 1.1 mrg { <TLDE>, color="grey20" }, { <TAB>, "TABK", color="grey20" }, 122 1.1 mrg <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 123 1.1 mrg <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 124 1.1 mrg <AD11>, <AD12>, 125 1.1 mrg { <RTRN>, "RTRN", -14, color="grey20" } 126 1.1 mrg }; 127 1.1 mrg }; 128 1.1 mrg row { 129 1.1 mrg top= 39; 130 1.1 mrg keys { 131 1.1 mrg { <LCTL>, color="grey20" }, { <CAPS>, "CAPS", color="grey20" }, 132 1.1 mrg <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 133 1.1 mrg <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, <AC11> 134 1.1 mrg }; 135 1.1 mrg }; 136 1.1 mrg row { 137 1.1 mrg top= 58; 138 1.1 mrg keys { 139 1.1 mrg { <LFSH>, color="grey20" }, 140 1.1 mrg { <LFSH>, "SHFT", color="grey20" }, 141 1.1 mrg <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 142 1.1 mrg <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 143 1.1 mrg { <RTSH>, "SHFT", color="grey20" } 144 1.1 mrg }; 145 1.1 mrg }; 146 1.1 mrg row { 147 1.1 mrg top= 77; 148 1.1 mrg key.color= "grey20"; 149 1.1 mrg keys { 150 1.1 mrg <LALT>, 151 1.1 mrg { <LCTL>, shape="LCTL" }, 152 1.1 mrg { <LALT>, shape="LALT" }, 153 1.1 mrg { <SPCE>, shape="LSPC", 4, color="white" }, 154 1.1 mrg { <SPCE>, shape="RSPC",color="white" }, 155 1.1 mrg { <RALT>, shape="RALT", 4 }, 156 1.1 mrg { <RCTL>, shape="RCTL" } 157 1.1 mrg }; 158 1.1 mrg }; 159 1.1 mrg }; // End of "Alpha" section 160 1.1 mrg 161 1.1 mrg section "Editing" { 162 1.1 mrg top= 12; 163 1.1 mrg left= 365; 164 1.1 mrg key.color= "grey20"; 165 1.1 mrg row { 166 1.1 mrg top= 1; 167 1.1 mrg keys { <PRSC>, <SCLK>, <PAUS> }; 168 1.1 mrg }; 169 1.1 mrg row { 170 1.1 mrg top= 45; 171 1.1 mrg keys { <INS>, <HOME>, <PGUP> }; 172 1.1 mrg }; 173 1.1 mrg row { 174 1.1 mrg top= 64; 175 1.1 mrg keys { <DELE>, <END>, <PGDN> }; 176 1.1 mrg }; 177 1.1 mrg row { 178 1.1 mrg top= 102; 179 1.1 mrg left= 20; 180 1.1 mrg keys { <UP> }; 181 1.1 mrg }; 182 1.1 mrg row { 183 1.1 mrg top= 121; 184 1.1 mrg keys { <LEFT>, <DOWN>, <RGHT> }; 185 1.1 mrg }; 186 1.1 mrg }; // End of "Editing" section 187 1.1 mrg 188 1.1 mrg shape "LEDS" { cornerRadius= 3, { [ 76, 20 ] } }; 189 1.1 mrg shape "LED" { cornerRadius= 0, { [ 7, 4 ] } }; 190 1.1 mrg solid "LedPanel" { 191 1.1 mrg shape= "LEDS"; 192 1.1 mrg top= 11; 193 1.1 mrg left= 430; 194 1.1 mrg color= "grey10"; 195 1.1 mrg }; 196 1.1 mrg indicator.onColor= "green"; 197 1.1 mrg indicator.offColor= "green30"; 198 1.1 mrg indicator.top= 13; 199 1.1 mrg indicator.shape= "LED"; 200 1.1 mrg indicator "Num Lock" { left= 440; }; 201 1.1 mrg indicator "Caps Lock" { left= 467; }; 202 1.1 mrg indicator "Scroll Lock" { left= 489; }; 203 1.1 mrg text.top= 22; 204 1.1 mrg text.color= "black"; 205 1.1 mrg text "NumLockLabel" { left= 438; text="Num\nLock"; }; 206 1.1 mrg text "CapsLockLabel" { left= 465; text="Caps\nLock"; }; 207 1.1 mrg text "ScrollLockLabel" { left= 487; text="Scroll\nLock"; }; 208 1.1 mrg 209 1.1 mrg logo "FlexProLogoImage" { 210 1.1 mrg top= 12; 211 1.1 mrg left= 45; 212 1.1 mrg name= "KeyTronic"; 213 1.1 mrg shape= "LOGO"; 214 1.1 mrg }; 215 1.1 mrg text "KeyTronicLogoText" { 216 1.1 mrg top= 15; 217 1.1 mrg left= 50; 218 1.1 mrg width= 55; 219 1.1 mrg text= "FlexPro"; 220 1.1 mrg font= "times"; 221 1.1 mrg slant= "o"; 222 1.1 mrg weight= "bold"; 223 1.1 mrg fontWidth= "narrow"; 224 1.1 mrg fontSize= 36; 225 1.1 mrg }; 226 1.1 mrg 227 1.1 mrg section "Keypad" { 228 1.1 mrg top= 56; 229 1.1 mrg left= 430; 230 1.1 mrg row { 231 1.1 mrg top= 1; 232 1.1 mrg key.color= "grey20"; 233 1.1 mrg keys { <NMLK>, <KPDV>, <KPMU>, <LEFT> }; 234 1.1 mrg }; 235 1.1 mrg row { 236 1.1 mrg top= 20; 237 1.1 mrg keys { <KP7>, <KP8>, <KP9>, { <KPSU>, color= "grey20" } }; 238 1.1 mrg }; 239 1.1 mrg row { 240 1.1 mrg top= 39; 241 1.1 mrg keys { <KP4>, <KP5>, <KP6>, { <KPAD>, color= "grey20" } }; 242 1.1 mrg }; 243 1.1 mrg row { 244 1.1 mrg top= 58; 245 1.1 mrg keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN", color= "grey20" } }; 246 1.1 mrg }; 247 1.1 mrg row { 248 1.1 mrg top= 77; 249 1.1 mrg keys { { <KP0>, "KP0" }, <KPDL> }; 250 1.1 mrg }; 251 1.1 mrg }; // End of "Keypad" section 252 1.1 mrg }; 253