| 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 |
default xkb_geometry "dell101" { |
| 27 |
|
| 28 |
description= "Dell 101"; |
| 29 |
width= 470; |
| 30 |
height= 210; |
| 31 |
|
| 32 |
shape.cornerRadius= 1; |
| 33 |
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } }; |
| 34 |
shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } }; |
| 35 |
shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } }; |
| 36 |
shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } }; |
| 37 |
shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } }; |
| 38 |
shape "CAPS" { { [ 33,18] }, { [ 28,18] }, { [2,1], [ 26,16] } }; |
| 39 |
shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } }; |
| 40 |
shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } }; |
| 41 |
shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } }; |
| 42 |
shape "SPCE" { { [133,18] }, { [2,1], [131,16] } }; |
| 43 |
shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } }; |
| 44 |
shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } }; |
| 45 |
|
| 46 |
shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } }; |
| 47 |
shape "LED" { cornerRadius= 0, { [ 5, 1 ] } }; |
| 48 |
solid "LedPanel" { |
| 49 |
shape= "LEDS"; |
| 50 |
top= 52; |
| 51 |
left= 377; |
| 52 |
color= "grey10"; |
| 53 |
}; |
| 54 |
|
| 55 |
indicator.onColor= "green"; |
| 56 |
indicator.offColor= "green30"; |
| 57 |
indicator.top= 67; |
| 58 |
indicator.shape= "LED"; |
| 59 |
indicator "Num Lock" { left= 382; }; |
| 60 |
indicator "Caps Lock" { left= 407; }; |
| 61 |
indicator "Scroll Lock" { left= 433; }; |
| 62 |
text.top= 55; |
| 63 |
text.color= "black"; |
| 64 |
text "NumLockLabel" { left= 378; text="Num\nLock"; }; |
| 65 |
text "CapsLockLabel" { left= 403; text="Caps\nLock"; }; |
| 66 |
text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; }; |
| 67 |
|
| 68 |
section.left= 19; |
| 69 |
row.left= 1; |
| 70 |
key.shape= "NORM"; |
| 71 |
key.gap= 1; |
| 72 |
section "Function" { |
| 73 |
top= 52; |
| 74 |
row { |
| 75 |
top= 1; |
| 76 |
keys { { <ESC>, color="grey20" }, |
| 77 |
{ <FK01>, 20 }, <FK02>, <FK03>, <FK04>, |
| 78 |
{ <FK05>, 11 }, <FK06>, <FK07>, <FK08>, |
| 79 |
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>, |
| 80 |
{ <PRSC>, 8 }, <SCLK>, <PAUS> |
| 81 |
}; |
| 82 |
}; |
| 83 |
}; // End of "Function" section |
| 84 |
|
| 85 |
section "Alpha" { |
| 86 |
top= 91; |
| 87 |
row { |
| 88 |
top= 1; |
| 89 |
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>, |
| 90 |
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>, |
| 91 |
<AE10>, <AE11>, <AE12>, |
| 92 |
{ <BKSP>, "BKSP", color="grey20" } |
| 93 |
}; |
| 94 |
}; |
| 95 |
row { |
| 96 |
top= 20; |
| 97 |
keys { { <TAB>, "TABK", color="grey20" }, |
| 98 |
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, |
| 99 |
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>, |
| 100 |
<AD11>, <AD12>, { <BKSL>, "BKSL" } |
| 101 |
}; |
| 102 |
}; |
| 103 |
row { |
| 104 |
top= 39; |
| 105 |
keys { { <CAPS>, "CAPS", color="grey20" }, |
| 106 |
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, |
| 107 |
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>, |
| 108 |
<AC11>, { <RTRN>, "RTRN", color="grey20" } |
| 109 |
}; |
| 110 |
}; |
| 111 |
row { |
| 112 |
top= 58; |
| 113 |
keys { { <LFSH>, "LFSH", color="grey20" }, |
| 114 |
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>, |
| 115 |
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>, |
| 116 |
{ <RTSH>, "RTSH", color="grey20" } |
| 117 |
}; |
| 118 |
}; |
| 119 |
row { |
| 120 |
top= 77; |
| 121 |
key.shape= "MODK"; |
| 122 |
key.color= "grey20"; |
| 123 |
keys { <LCTL>, { <LALT>, 21 }, |
| 124 |
{ <SPCE>, "SPCE", color="white" }, |
| 125 |
<RALT>, { <RCTL>, 21 } |
| 126 |
}; |
| 127 |
}; |
| 128 |
}; // End of "Alpha" section |
| 129 |
|
| 130 |
section "Editing" { |
| 131 |
top= 91; |
| 132 |
left= 312; |
| 133 |
key.color= "grey20"; |
| 134 |
row { |
| 135 |
top= 1; |
| 136 |
keys { <INS>, <HOME>, <PGUP> }; |
| 137 |
}; |
| 138 |
row { |
| 139 |
top= 20; |
| 140 |
keys { <DELE>, <END>, <PGDN> }; |
| 141 |
}; |
| 142 |
row { |
| 143 |
top= 58; |
| 144 |
left= 20; |
| 145 |
keys { <UP> }; |
| 146 |
}; |
| 147 |
row { |
| 148 |
top= 77; |
| 149 |
keys { <LEFT>, <DOWN>, <RGHT> }; |
| 150 |
}; |
| 151 |
}; // End of "Editing" section |
| 152 |
|
| 153 |
section "Keypad" { |
| 154 |
top= 91; |
| 155 |
left= 376; |
| 156 |
row { |
| 157 |
top= 1; |
| 158 |
key.color= "grey20"; |
| 159 |
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> }; |
| 160 |
}; |
| 161 |
row { |
| 162 |
top= 20; |
| 163 |
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } }; |
| 164 |
}; |
| 165 |
row { |
| 166 |
top= 39; |
| 167 |
keys { <KP4>, <KP5>, <KP6> }; |
| 168 |
}; |
| 169 |
row { |
| 170 |
top= 58; |
| 171 |
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } }; |
| 172 |
}; |
| 173 |
row { |
| 174 |
top= 77; |
| 175 |
keys { { <KP0>, "KP0" }, <KPDL> }; |
| 176 |
}; |
| 177 |
}; // End of "Keypad" section |
| 178 |
|
| 179 |
alias <AC00> = <CAPS>; |
| 180 |
alias <AA00> = <LCTL>; |
| 181 |
|
| 182 |
}; // End of "default" geometry |
| 183 |
|
| 184 |
|
| 185 |
xkb_geometry "dell65" { |
| 186 |
}; |
| 187 |
|
| 188 |
xkb_geometry "dell65x" { |
| 189 |
|
| 190 |
description= "Dell 101"; |
| 191 |
width= 470; |
| 192 |
height= 210; |
| 193 |
color="grey10"; |
| 194 |
|
| 195 |
shape.cornerRadius= 1; |
| 196 |
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } }; |
| 197 |
shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } }; |
| 198 |
shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } }; |
| 199 |
shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } }; |
| 200 |
shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } }; |
| 201 |
shape "CAPS" { { [ 33,18] }, { [ 28,18] }, { [2,1], [ 26,16] } }; |
| 202 |
shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } }; |
| 203 |
shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } }; |
| 204 |
shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } }; |
| 205 |
shape "SPCE" { { [133,18] }, { [2,1], [131,16] } }; |
| 206 |
shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } }; |
| 207 |
shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } }; |
| 208 |
|
| 209 |
shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } }; |
| 210 |
shape "LED" { cornerRadius= 0, { [ 5, 1 ] } }; |
| 211 |
solid "LedPanel" { |
| 212 |
shape= "LEDS"; |
| 213 |
top= 52; |
| 214 |
left= 377; |
| 215 |
color= "grey10"; |
| 216 |
}; |
| 217 |
|
| 218 |
shape "BACKGROUND" { cornerRadius=5, { [ 470, 210 ] } }; |
| 219 |
solid "Background" { |
| 220 |
shape= "BACKGROUND"; |
| 221 |
top= 0; |
| 222 |
left= 0; |
| 223 |
color= "grey10"; |
| 224 |
}; |
| 225 |
|
| 226 |
indicator.onColor= "green"; |
| 227 |
indicator.offColor= "green30"; |
| 228 |
indicator.top= 67; |
| 229 |
indicator.shape= "LED"; |
| 230 |
indicator "Num Lock" { left= 382; }; |
| 231 |
indicator "Caps Lock" { left= 407; }; |
| 232 |
indicator "Scroll Lock" { left= 433; }; |
| 233 |
text.top= 55; |
| 234 |
text.color= "black"; |
| 235 |
text "NumLockLabel" { left= 378; text="Num\nLock"; }; |
| 236 |
text "CapsLockLabel" { left= 403; text="Caps\nLock"; }; |
| 237 |
text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; }; |
| 238 |
|
| 239 |
section.left= 19; |
| 240 |
row.left= 1; |
| 241 |
key.shape= "NORM"; |
| 242 |
key.gap= 1; |
| 243 |
section "Function" { |
| 244 |
top= 52; |
| 245 |
row { |
| 246 |
top= 1; |
| 247 |
keys { { <ESC>, color="grey20" }, |
| 248 |
{ <FK01>, 20 }, <FK02>, <FK03>, <FK04>, |
| 249 |
{ <FK05>, 11 }, <FK06>, <FK07>, <FK08>, |
| 250 |
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>, |
| 251 |
{ <PRSC>, 8 }, <SCLK>, <PAUS> |
| 252 |
}; |
| 253 |
}; |
| 254 |
}; // End of "Function" section |
| 255 |
|
| 256 |
section "Alpha" { |
| 257 |
top= 91; |
| 258 |
row { |
| 259 |
top= 1; |
| 260 |
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>, |
| 261 |
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>, |
| 262 |
<AE10>, <AE11>, <AE12>, |
| 263 |
{ <BKSP>, "BKSP", color="grey20" } |
| 264 |
}; |
| 265 |
}; |
| 266 |
row { |
| 267 |
top= 20; |
| 268 |
keys { { <TAB>, "TABK", color="grey20" }, |
| 269 |
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, |
| 270 |
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>, |
| 271 |
<AD11>, <AD12>, { <BKSL>, "BKSL" } |
| 272 |
}; |
| 273 |
}; |
| 274 |
row { |
| 275 |
top= 39; |
| 276 |
keys { { <CAPS>, "CAPS", color="grey20" }, |
| 277 |
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, |
| 278 |
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>, |
| 279 |
<AC11>, { <RTRN>, "RTRN", color="grey20" } |
| 280 |
}; |
| 281 |
}; |
| 282 |
row { |
| 283 |
top= 58; |
| 284 |
keys { { <LFSH>, "LFSH", color="grey20" }, |
| 285 |
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>, |
| 286 |
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>, |
| 287 |
{ <RTSH>, "RTSH", color="grey20" } |
| 288 |
}; |
| 289 |
}; |
| 290 |
row { |
| 291 |
top= 77; |
| 292 |
key.shape= "MODK"; |
| 293 |
key.color= "grey20"; |
| 294 |
keys { <LCTL>, { <LALT>, 21 }, |
| 295 |
{ <SPCE>, "SPCE", color="white" }, |
| 296 |
<RALT>, { <RCTL>, 21 } |
| 297 |
}; |
| 298 |
}; |
| 299 |
}; // End of "Alpha" section |
| 300 |
|
| 301 |
section "Editing" { |
| 302 |
top= 91; |
| 303 |
left= 312; |
| 304 |
key.color= "grey20"; |
| 305 |
row { |
| 306 |
top= 1; |
| 307 |
keys { <INS>, <HOME>, <PGUP> }; |
| 308 |
}; |
| 309 |
row { |
| 310 |
top= 20; |
| 311 |
keys { <DELE>, <END>, <PGDN> }; |
| 312 |
}; |
| 313 |
row { |
| 314 |
top= 58; |
| 315 |
left= 20; |
| 316 |
keys { <UP> }; |
| 317 |
}; |
| 318 |
row { |
| 319 |
top= 77; |
| 320 |
keys { <LEFT>, <DOWN>, <RGHT> }; |
| 321 |
}; |
| 322 |
}; // End of "Editing" section |
| 323 |
|
| 324 |
section "Keypad" { |
| 325 |
top= 91; |
| 326 |
left= 376; |
| 327 |
row { |
| 328 |
top= 1; |
| 329 |
key.color= "grey20"; |
| 330 |
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> }; |
| 331 |
}; |
| 332 |
row { |
| 333 |
top= 20; |
| 334 |
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } }; |
| 335 |
}; |
| 336 |
row { |
| 337 |
top= 39; |
| 338 |
keys { <KP4>, <KP5>, <KP6> }; |
| 339 |
}; |
| 340 |
row { |
| 341 |
top= 58; |
| 342 |
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } }; |
| 343 |
}; |
| 344 |
row { |
| 345 |
top= 77; |
| 346 |
keys { { <KP0>, "KP0" }, <KPDL> }; |
| 347 |
}; |
| 348 |
}; // End of "Keypad" section |
| 349 |
|
| 350 |
alias <AC00> = <CAPS>; |
| 351 |
alias <AA00> = <LCTL>; |
| 352 |
|
| 353 |
}; |
| 354 |
|
| 355 |
|
| 356 |
// |
| 357 |
// Dell Precision M65 laptop |
| 358 |
// |
| 359 |
|
| 360 |
xkb_geometry "dellm65" { |
| 361 |
|
| 362 |
description= "Dell Precision M65 laptop"; |
| 363 |
width= 308; |
| 364 |
height= 152; |
| 365 |
baseColor = "grey20"; |
| 366 |
labelColor = "white"; |
| 367 |
|
| 368 |
shape "BACKGROUND" { cornerRadius = 3, { [ 308, 152 ] } }; |
| 369 |
shape "BACKGROUND2" { cornerRadius = 2, { [ 7, 22 ], |
| 370 |
[ 171, 22 ], |
| 371 |
[ 171, 10 ], |
| 372 |
[ 301, 10 ], |
| 373 |
[ 301, 148 ], |
| 374 |
[ 244, 148 ], |
| 375 |
[ 244, 132 ], |
| 376 |
[ 7, 132] } }; |
| 377 |
solid "Background" { |
| 378 |
shape = "BACKGROUND"; |
| 379 |
top = 0; |
| 380 |
left = 0; |
| 381 |
color = "grey20"; |
| 382 |
}; |
| 383 |
solid "Background2" { |
| 384 |
shape = "BACKGROUND2"; |
| 385 |
top = 0; |
| 386 |
left = 0; |
| 387 |
color = "black"; |
| 388 |
}; |
| 389 |
|
| 390 |
shape "LEDS" { cornerRadius = 4, { [ 26, 8 ] } }; |
| 391 |
shape "LED" { cornerRadius = 0, { [ 4, 4 ] } }; |
| 392 |
solid "LedPanel" { |
| 393 |
shape = "LEDS"; |
| 394 |
top = 8; |
| 395 |
left = 69; |
| 396 |
color = "grey20"; |
| 397 |
}; |
| 398 |
|
| 399 |
indicator.onColor= "green"; |
| 400 |
indicator.offColor= "gray20"; |
| 401 |
indicator.top= 10; |
| 402 |
indicator.shape= "LED"; |
| 403 |
indicator "Num Lock" { left= 72; }; |
| 404 |
indicator "Caps Lock" { left= 80; }; |
| 405 |
indicator "Scroll Lock" { left= 88; }; |
| 406 |
|
| 407 |
shape "MEDIA" { cornerRadius = 5, { [ 2, 2], [ 12, 12 ] } }; |
| 408 |
shape "POWER" { cornerRadius = 7, { [ 14, 14 ] } }; |
| 409 |
|
| 410 |
section "Media" { |
| 411 |
top = 5; |
| 412 |
left = 102; |
| 413 |
width = 60; |
| 414 |
height = 14; |
| 415 |
key.color="grey30"; |
| 416 |
key.shape = "MEDIA"; |
| 417 |
row { |
| 418 |
top = 0; |
| 419 |
keys { |
| 420 |
<I2E>, <I30>, <I20>, { <I04>, shape = "POWER", gap = 3 } |
| 421 |
}; |
| 422 |
}; |
| 423 |
}; |
| 424 |
|
| 425 |
|
| 426 |
shape "FKEY" { cornerRadius = 1, { [ 18, 12 ] }, { [ 1, 1 ], [ 17, 10 ] } }; |
| 427 |
|
| 428 |
section "Function" { |
| 429 |
top = 12; |
| 430 |
left = 8; |
| 431 |
width = 290; |
| 432 |
height = 24; |
| 433 |
key.color = "grey80"; |
| 434 |
key.shape = "FKEY"; |
| 435 |
key.gap = 0; |
| 436 |
row { |
| 437 |
top = 0; |
| 438 |
keys { { <MENU>, 165 }, <PRSC>, <NMLK>, <PAUS>, |
| 439 |
{ <INS>, 1 }, <HOME>, <PGUP> }; |
| 440 |
}; |
| 441 |
row { |
| 442 |
top = 12; |
| 443 |
keys { <ESC>, { <FK01>, 1 }, <FK02>, <FK03>, <FK04>, |
| 444 |
{ <FK05>, 1 }, <FK06>, <FK07>, <FK08>, |
| 445 |
{ <FK09>, 1 }, <FK10>, <FK11>, <FK12>, |
| 446 |
{ <DELE>, 1 }, <END>, <PGDN> }; |
| 447 |
}; |
| 448 |
}; |
| 449 |
|
| 450 |
shape "AKEY" { cornerRadius = 1, { [ 19, 19 ] }, { [ 2, 1 ], [ 17, 15 ] } }; |
| 451 |
shape "BKSP" { cornerRadius = 1, { [ 44, 19 ] }, { [ 2, 1 ], [ 42, 15 ] } }; |
| 452 |
shape "TABK" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } }; |
| 453 |
shape "BKSL" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } }; |
| 454 |
shape "CAPS" { cornerRadius = 1, { [ 34, 19 ] }, { [ 2, 1 ], [ 32, 15 ] } }; |
| 455 |
shape "RTRN" { cornerRadius = 1, { [ 47, 19 ] }, { [ 2, 1 ], [ 45, 15 ] } }; |
| 456 |
shape "LFSH" { cornerRadius = 1, { [ 44, 19 ] }, { [ 2, 1 ], [ 42, 15 ] } }; |
| 457 |
shape "RTSH" { cornerRadius = 1, { [ 56, 19 ] }, { [ 2, 1 ], [ 54, 15 ] } }; |
| 458 |
shape "LCTL" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } }; |
| 459 |
shape "LALT" { cornerRadius = 1, { [ 25, 19 ] }, { [ 2, 1 ], [ 23, 15 ] } }; |
| 460 |
shape "RCTL" { cornerRadius = 1, { [ 25, 19 ] }, { [ 2, 1 ], [ 23, 15 ] } }; |
| 461 |
shape "SPCE" { cornerRadius = 1, { [ 96, 19 ] }, { [ 2, 1 ], [ 94, 15 ] } }; |
| 462 |
|
| 463 |
|
| 464 |
section "Alpha" { |
| 465 |
top = 36; |
| 466 |
left = 8; |
| 467 |
width = 290; |
| 468 |
height = 21; |
| 469 |
key.color = "grey80"; |
| 470 |
key.shape = "AKEY"; |
| 471 |
key.gap = 0; |
| 472 |
row { |
| 473 |
top = 1; |
| 474 |
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>, |
| 475 |
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>, |
| 476 |
<AE10>, <AE11>, <AE12>, { <BKSP>, 1, "BKSP" } }; |
| 477 |
}; |
| 478 |
row { |
| 479 |
top = 20; |
| 480 |
keys { { <TAB>, "TABK" }, |
| 481 |
{ <AD01>, 1 }, <AD02>, <AD03>, <AD04>, <AD05>, |
| 482 |
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>, |
| 483 |
<AD11>, <AD12>, { <BKSL>, 1, "BKSL" } }; |
| 484 |
}; |
| 485 |
row { |
| 486 |
top = 39; |
| 487 |
keys { { <CAPS>, "CAPS" }, |
| 488 |
{ <AC01>, 1 }, <AC02>, <AC03>, <AC04>, <AC05>, |
| 489 |
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>, |
| 490 |
<AC11>, { <RTRN>, 1, "RTRN" } }; |
| 491 |
}; |
| 492 |
row { |
| 493 |
top = 58; |
| 494 |
keys { { <LFSH>, "LFSH" }, |
| 495 |
{ <AB01>, 1 }, <AB02>, <AB03>, <AB04>, <AB05>, |
| 496 |
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>, |
| 497 |
{ <RTSH>, 1, "RTSH" } }; |
| 498 |
}; |
| 499 |
row { |
| 500 |
top = 77; |
| 501 |
keys { { <LCTL>, "LCTL" }, { <LWIN>, 20 }, { <LALT>, "LALT" }, |
| 502 |
{ <SPCE>, "SPCE" }, <RALT>, { <RCTL>, "RCTL" } }; |
| 503 |
}; |
| 504 |
}; |
| 505 |
|
| 506 |
shape "SKEY" { cornerRadius = 1, { [ 18, 17 ] }, { [ 2, 1 ], [ 16, 13 ] } }; |
| 507 |
section "Arrows" { |
| 508 |
top = 113; |
| 509 |
left = 243; |
| 510 |
width = 54; |
| 511 |
height = 36; |
| 512 |
|
| 513 |
key.color = "grey80"; |
| 514 |
key.shape = "SKEY"; |
| 515 |
row { |
| 516 |
top = 0; |
| 517 |
left = 20; |
| 518 |
|
| 519 |
keys { <UP> }; |
| 520 |
}; |
| 521 |
|
| 522 |
row { |
| 523 |
top = 17; |
| 524 |
left = 2; |
| 525 |
|
| 526 |
keys { <LEFT>, <DOWN>, <RGHT> }; |
| 527 |
}; |
| 528 |
}; |
| 529 |
|
| 530 |
shape "STIK" { cornerRadius = 4, { [ 7, 7 ] } }; |
| 531 |
|
| 532 |
solid "STIK" { |
| 533 |
priority = 255; |
| 534 |
color = "blue"; |
| 535 |
shape = "STIK"; |
| 536 |
top = 90; |
| 537 |
left = 135; |
| 538 |
}; |
| 539 |
}; |
| 540 |
|
| 541 |
xkb_geometry "latitude" { |
| 542 |
description="Dell Latitude"; |
| 543 |
width=304.2; height=219.1; |
| 544 |
|
| 545 |
baseColor="grey"; labelColor="white"; |
| 546 |
|
| 547 |
alias <AC00> =<CAPS>; |
| 548 |
alias <AA00> =<LCTL>; |
| 549 |
|
| 550 |
shape "EXTERNAL" {corner=3, |
| 551 |
{[0,0], [302,0], [302,154], [174,154], [174,198], [166,216], [107,216], [100,198], [100,154], [0,154]}}; |
| 552 |
solid "external" {shape="EXTERNAL"; top=1.1; left=1.1; color="grey10"; priority=10;}; |
| 553 |
|
| 554 |
shape "INTERNAL" {corner=3, |
| 555 |
{[0,13], [162.2,13], [162.2,0], [286,0], [286,138], [230,138], [230,124], [163,124], [163,138], [96,138], [96,124], [0,124]}}; |
| 556 |
solid "internal" {shape="INTERNAL"; top=7; left=8.5; color="black"; priority=20;}; |
| 557 |
|
| 558 |
shape "TOUCHPAD" {corner=2, {[68,40]}}; |
| 559 |
solid "touchpad" {shape="TOUCHPAD"; top=153; left=104; color="grey20"; priority=20;}; |
| 560 |
|
| 561 |
shape "TOUCHPADBUTTONS" {corner=1, |
| 562 |
{[0,0], [33.5,0], [33.5,16], [6,16]}, |
| 563 |
{[34.5,0], [68,0], [61, 16], [34.5,16]}}; |
| 564 |
solid "touchleft" {shape="TOUCHPADBUTTONS"; top=198; left=104; color="grey20"; priority=20;}; |
| 565 |
|
| 566 |
shape "NIPPLE" {corner=3, {[7.5,7.5]}}; |
| 567 |
solid "nipple" {shape="NIPPLE"; top=87; left=134; color="blue"; priority=200;}; |
| 568 |
shape "NIPPLEBUTTONS" {corner=2, {[32.5,13]}, {[33.5,0],[66,13]}}; |
| 569 |
solid "nipplebuttons" {shape="NIPPLEBUTTONS"; top=131; left=105; color="grey20"; priority=20;}; |
| 570 |
|
| 571 |
shape "FILLINGS" {corner=1.5, {[19,15]}, {[38,0],[55,15]}}; |
| 572 |
solid "fillings" {shape="FILLINGS"; top=112; left=238; color="grey"; priority=200;}; |
| 573 |
|
| 574 |
shape "FUNC" {corner=1.5, {[16.3,12]}, {[2,0.5], [14,10]}}; |
| 575 |
shape "ESC" {corner=1.5, {[18,12]}, {[2,0.5], [16,10]}}; |
| 576 |
shape "BKSP" {corner=1.5, {[36.5,18]}, {[3,0.5], [33.5,14]}}; |
| 577 |
|
| 578 |
section "Function" {key.color="grey"; priority=100; top=9; left=10; width=290; height=28; |
| 579 |
row {top=0; left=161.1; keys {{<MENU>,"FUNC",1.1}, {<PRSC>,"FUNC",1.1}, {<NMLK>,"FUNC",1.1}, |
| 580 |
{<PAUS>,"FUNC",1.1}, {<INS>,"FUNC",2.5}, {<HOME>,"FUNC",1.1}, {<PGUP>,"FUNC",1.1}};}; |
| 581 |
row {top=12.5; left=0; keys {{<ESC>,"ESC",0}, |
| 582 |
{<FK01>,"FUNC",2.7}, {<FK02>,"FUNC",1.1}, {<FK03>,"FUNC",1.1}, {<FK04>,"FUNC",1.1}, |
| 583 |
{<FK05>,"FUNC",2.5}, {<FK06>,"FUNC",1.1}, {<FK07>,"FUNC",1.1}, {<FK08>,"FUNC",1.1}, |
| 584 |
{<FK09>,"FUNC",2.5}, {<FK10>,"FUNC",1.1}, {<FK11>,"FUNC",1.1}, {<FK12>,"FUNC",1.1}, |
| 585 |
{<DELE>,"FUNC",2.5}, {<END>, "FUNC",1.1}, {<PGDN>,"FUNC",1.1}};}; |
| 586 |
}; // End of "Function" section |
| 587 |
|
| 588 |
shape "NORM" {corner=1.5, {[18,18]}, {[3,0.5], [14.8,14]}}; |
| 589 |
shape "TABK" {corner=1.5, {[28,18]}, {[3,0.5], [25,14]}}; |
| 590 |
shape "CAPS" {corner=1.5, {[32,18]}, {[3,0.5], [22,14]}}; |
| 591 |
shape "LFSH" {corner=1.5, {[23,18]}, {[3,0.5], [20,14]}}; |
| 592 |
shape "RTSH" {corner=1.5, {[50,18]}, {[3,1], [47,14]}}; |
| 593 |
shape "RTRN" {corner=1.5, {[0,0],[26.5,0],[26.5,37],[4,37],[4,18],[0,18]}, |
| 594 |
{[3,0.5], [23.5,0.5], [23.5,33], [7,33], [7,14], [3,14]}}; |
| 595 |
shape "SPCE" {corner=1.5,{[95,18]}, {[3,0.5],[92,14]}}; |
| 596 |
shape "LCTL" {corner=1.5, {[27,18]}, {[3,0.5],[24,14]}}; |
| 597 |
shape "LALT" {corner=1.5, {[22,18]}, {[3,0.5],[19,14]}}; |
| 598 |
shape "WIN" {corner=1.5, {[18,18]}, {[3,0.5],[15,14]}}; |
| 599 |
|
| 600 |
section "Alpha" {key.color="grey"; priority=100; top=36; left=10; width=290; height=18; |
| 601 |
row {top=0; left=0; keys {{<TLDE>, "NORM", 0}, {<AE01>, "NORM", 1}, {<AE02>, "NORM", 1}, {<AE03>, "NORM", 1}, |
| 602 |
{<AE04>, "NORM", 1}, {<AE05>, "NORM", 1}, {<AE06>, "NORM", 1}, {<AE07>, "NORM", 1}, {<AE08>, "NORM", 1}, |
| 603 |
{<AE09>, "NORM", 1}, {<AE10>, "NORM", 1}, {<AE11>, "NORM", 1}, {<AE12>, "NORM", 1}, {<BKSP>, "BKSP", 1}};}; |
| 604 |
row {top=19; left=0; keys {{<TAB>, "TABK", 0}, {<AD01>, "NORM", 1}, {<AD02>, "NORM", 1}, {<AD03>, "NORM", 1}, |
| 605 |
{<AD04>, "NORM", 1}, {<AD05>, "NORM", 1}, {<AD06>, "NORM", 1}, {<AD07>, "NORM", 1}, {<AD08>, "NORM", 1}, |
| 606 |
{<AD09>, "NORM", 1}, {<AD10>, "NORM", 1}, {<AD11>, "NORM", 1}, {<AD12>, "NORM", 1}, {<RTRN>, "RTRN", 1}};}; |
| 607 |
row {top=38; left=0; keys {{<CAPS>, "CAPS", 0}, {<AC01>, "NORM", 1}, {<AC02>, "NORM", 1}, {<AC03>, "NORM", 1}, |
| 608 |
{<AC04>, "NORM", 1}, {<AC05>, "NORM", 1}, {<AC06>, "NORM", 1}, {<AC07>, "NORM", 1}, {<AC08>, "NORM", 1}, |
| 609 |
{<AC09>, "NORM", 1}, {<AC10>, "NORM", 1}, {<AC11>, "NORM", 1}, {<AC12>, "NORM", 1}};}; |
| 610 |
// TODO There's a weird <> key here, check it out: |
| 611 |
row {top=57; left=0; keys {{<LFSH>, "LFSH", 0}, {<AB01>, "NORM", 1}, {<AB02>, "NORM", 1}, {<AB03>, "NORM", 1}, |
| 612 |
{<AB04>, "NORM", 1}, {<AB05>, "NORM", 1}, {<AB06>, "NORM", 1}, {<AB07>, "NORM", 1}, {<AB08>, "NORM", 1}, |
| 613 |
{<AB09>, "NORM", 1}, {<AB10>, "NORM", 1}, {<AB11>, "NORM", 1}, {<RTSH>, "RTSH", 1}};}; |
| 614 |
row {top=76; left=0; keys {{<LCTL>, "LCTL", 0}, {<FN>, "WIN", 1},{<LWIN>, "WIN", 1}, {<LALT>, "LALT", 1}, |
| 615 |
{<SPCE>, "SPCE", 1}, {<RALT>, "WIN", 1},{<RCTL>, "LALT", 1}};}; |
| 616 |
}; // End of "Alpha" section |
| 617 |
|
| 618 |
shape "ARROW" {corner=1.5, {[17,15]}, {[2,0.5],[15,13]}}; |
| 619 |
section "Arrows" {key.color="grey"; priority=110; top=112; left=240; width=43; height=31; |
| 620 |
row {top=0; left=18; keys {{<UP>, "ARROW", 0}};}; |
| 621 |
row {top=16; left=0; keys {{<LEFT>, "ARROW", 0}, {<DOWN>, "ARROW", 1}, {<RGHT>, "ARROW", 1}};}; |
| 622 |
}; // End of "Arrows" section |
| 623 |
|
| 624 |
shape "LEDS" {corner=3, {[25,7]}}; |
| 625 |
solid "leds" {shape="LEDS"; top=5.7; left=69; color="grey"; priority=10;}; |
| 626 |
shape "LED" {corner=0, {[0,1.5], [3,4.5]}, {[0.5,1.5], [1,0] , [2,0], [2.5,1.5]}}; |
| 627 |
indicator.onColor="green"; |
| 628 |
indicator.offColor="grey"; |
| 629 |
indicator.top=7; |
| 630 |
indicator.shape="LED"; |
| 631 |
indicator.priority=200; |
| 632 |
indicator "Num Lock" {left=72;}; |
| 633 |
indicator "Caps Lock" {left=80;}; |
| 634 |
indicator "Scroll Lock" {left=88;}; |
| 635 |
|
| 636 |
text "LATITUDE" {left=10; top=7; text="L A T I T U D E | D620";}; |
| 637 |
|
| 638 |
shape "ROUND" {corner=5, {[10,10]}}; |
| 639 |
shape "POWER" {corner=7, {[15,15]}}; |
| 640 |
section "Topbuttons" {key.color="grey"; priority=110; top=2; left=100; |
| 641 |
row {top=2; left=0; keys {{<VLUP>, "ROUND", 0}, {<VLDN>, "ROUND", 3}, {<MUTE>, "ROUND", 3}};}; |
| 642 |
row {top=0; left=45; keys {{<POWR>, "POWER", 0}};}; |
| 643 |
}; // End of "TopButtons" section |
| 644 |
}; |