pc revision bfd7cbc1
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 27default xkb_geometry "pc101" { 28 29 description= "Generic 101"; 30 width= 470; 31 height= 180; 32 33 shape.cornerRadius= 1; 34 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } }; 35 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } }; 36 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } }; 37 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } }; 38 shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } }; 39 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } }; 40 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } }; 41 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } }; 42 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } }; 43 shape "SPCE" { { [133,18] }, { [2,1], [131,16] } }; 44 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } }; 45 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } }; 46 47 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } }; 48 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } }; 49 solid "LedPanel" { 50 shape= "LEDS"; 51 top= 22; 52 left= 377; 53 color= "grey10"; 54 }; 55 56 indicator.onColor= "green"; 57 indicator.offColor= "green30"; 58 indicator.top= 37; 59 indicator.shape= "LED"; 60 indicator "Num Lock" { left= 382; }; 61 indicator "Caps Lock" { left= 407; }; 62 indicator "Scroll Lock" { left= 433; }; 63 text.top= 25; 64 text.color= "black"; 65 text "NumLockLabel" { left= 378; text="Num\nLock"; }; 66 text "CapsLockLabel" { left= 403; text="Caps\nLock"; }; 67 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; }; 68 69 section.left= 19; 70 row.left= 1; 71 key.shape= "NORM"; 72 key.gap= 1; 73 section "Function" { 74 top= 22; 75 row { 76 top= 1; 77 keys { { <ESC>, color="grey20" }, 78 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>, 79 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>, 80 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>, 81 { <PRSC>, 8 }, <SCLK>, <PAUS> 82 }; 83 }; 84 }; // End of "Function" section 85 86 section "Alpha" { 87 top= 61; 88 row { 89 top= 1; 90 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>, 91 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>, 92 <AE10>, <AE11>, <AE12>, 93 { <BKSP>, "BKSP", color="grey20" } 94 }; 95 }; 96 row { 97 top= 20; 98 keys { { <TAB>, "TABK", color="grey20" }, 99 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 100 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 101 <AD11>, <AD12>, { <BKSL>, "BKSL" } 102 }; 103 }; 104 row { 105 top= 39; 106 keys { { <CAPS>, "CAPS", color="grey20" }, 107 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 108 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 109 <AC11>, { <RTRN>, "RTRN", color="grey20" } 110 }; 111 }; 112 row { 113 top= 58; 114 keys { { <LFSH>, "LFSH", color="grey20" }, 115 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 116 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 117 { <RTSH>, "RTSH", color="grey20" } 118 }; 119 }; 120 row { 121 top= 77; 122 key.shape= "MODK"; 123 key.color= "grey20"; 124 keys { <LCTL>, { <LALT>, 21 }, 125 { <SPCE>, "SPCE", color="white" }, 126 <RALT>, { <RCTL>, 21 } 127 }; 128 }; 129 }; // End of "Alpha" section 130 131 section "Editing" { 132 top= 61; 133 left= 312; 134 key.color= "grey20"; 135 row { 136 top= 1; 137 keys { <INS>, <HOME>, <PGUP> }; 138 }; 139 row { 140 top= 20; 141 keys { <DELE>, <END>, <PGDN> }; 142 }; 143 row { 144 top= 58; 145 left= 20; 146 keys { <UP> }; 147 }; 148 row { 149 top= 77; 150 keys { <LEFT>, <DOWN>, <RGHT> }; 151 }; 152 }; // End of "Editing" section 153 154 section "Keypad" { 155 top= 61; 156 left= 376; 157 row { 158 top= 1; 159 key.color= "grey20"; 160 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> }; 161 }; 162 row { 163 top= 20; 164 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } }; 165 }; 166 row { 167 top= 39; 168 keys { <KP4>, <KP5>, <KP6> }; 169 }; 170 row { 171 top= 58; 172 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } }; 173 }; 174 row { 175 top= 77; 176 keys { { <KP0>, "KP0" }, <KPDL> }; 177 }; 178 }; // End of "Keypad" section 179 180 alias <AC00> = <CAPS>; 181 alias <AA00> = <LCTL>; 182 183}; // End of "default" geometry 184 185xkb_geometry "pc102" { 186 187 description= "Generic 102"; 188 width= 470; 189 height= 180; 190 191 shape.cornerRadius= 1; 192 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } }; 193 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } }; 194 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } }; 195 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } }; 196 shape "RTRN" { 197 { [0,0], [28,0], [28,37], [5,37], [5,18], [0,18] }, 198 { [2,1], [26,1], [26,35], [7,35], [7,16], [2,16] } }; 199 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } }; 200 shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } }; 201 shape "RTSH" { { [ 50,18] }, { [2,1], [ 48,16] } }; 202 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } }; 203 shape "SPCE" { { [134,18] }, { [2,1], [132,16] } }; 204 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } }; 205 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } }; 206 207 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } }; 208 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } }; 209 solid "LedPanel" { 210 shape= "LEDS"; 211 top= 22; 212 left= 377; 213 color= "grey10"; 214 }; 215 216 indicator.onColor= "green"; 217 indicator.offColor= "green30"; 218 indicator.top= 37; 219 indicator.shape= "LED"; 220 indicator "Num Lock" { left= 382; }; 221 indicator "Caps Lock" { left= 407; }; 222 indicator "Scroll Lock" { left= 433; }; 223 text.top= 25; 224 text.color= "black"; 225 text "NumLockLabel" { left= 378; text="Num\nLock"; }; 226 text "CapsLockLabel" { left= 403; text="Caps\nLock"; }; 227 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; }; 228 229 section.left= 19; 230 row.left= 1; 231 key.shape= "NORM"; 232 key.gap= 1; 233 section "Function" { 234 top= 22; 235 row { 236 top= 1; 237 keys { { <ESC>, "TABK", color="grey20" }, 238 { <FK01>, 10 }, <FK02>, <FK03>, <FK04>, 239 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>, 240 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>, 241 { <PRSC>, 8 }, <SCLK>, <PAUS> 242 }; 243 }; 244 }; // End of "Function" section 245 246 section "Alpha" { 247 top= 61; 248 row { 249 top= 1; 250 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>, 251 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>, 252 <AE10>, <AE11>, <AE12>, 253 { <BKSP>, "BKSP", color="grey20" } 254 }; 255 }; 256 row { 257 top= 20; 258 keys { { <TAB>, "TABK", color="grey20" }, 259 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 260 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 261 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" } 262 }; 263 }; 264 row { 265 top= 39; 266 keys { { <CAPS>, "CAPS", color="grey20" }, 267 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 268 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 269 <AC11>, <BKSL> 270 }; 271 }; 272 row { 273 top= 58; 274 keys { { <LFSH>, "LFSH", color="grey20" }, 275 <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 276 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 277 { <RTSH>, "RTSH", color="grey20" } 278 }; 279 }; 280 row { 281 top= 77; 282 key.shape= "MODK"; 283 key.color= "grey20"; 284 keys { <LCTL>, { <LALT>, 20 }, 285 { <SPCE>, "SPCE", color="white" }, 286 <RALT>, { <RCTL>, 21 } 287 }; 288 }; 289 }; // End of "Alpha" section 290 291 section "Editing" { 292 top= 61; 293 left= 312; 294 key.color= "grey20"; 295 row { 296 top= 1; 297 keys { <INS>, <HOME>, <PGUP> }; 298 }; 299 row { 300 top= 20; 301 keys { <DELE>, <END>, <PGDN> }; 302 }; 303 row { 304 top= 58; 305 left= 20; 306 keys { <UP> }; 307 }; 308 row { 309 top= 77; 310 keys { <LEFT>, <DOWN>, <RGHT> }; 311 }; 312 }; // End of "Editing" section 313 314 section "Keypad" { 315 top= 61; 316 left= 376; 317 row { 318 top= 1; 319 key.color= "grey20"; 320 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> }; 321 }; 322 row { 323 top= 20; 324 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } }; 325 }; 326 row { 327 top= 39; 328 keys { <KP4>, <KP5>, <KP6> }; 329 }; 330 row { 331 top= 58; 332 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } }; 333 }; 334 row { 335 top= 77; 336 keys { { <KP0>, "KP0" }, <KPDL> }; 337 }; 338 }; // End of "Keypad" section 339 340 alias <AC00> = <CAPS>; 341 alias <AA00> = <LCTL>; 342 343}; // End of "pc102" geometry 344 345xkb_geometry "pc104" { 346 347 description= "Generic 104"; 348 width= 470; 349 height= 180; 350 351 shape.cornerRadius= 1; 352 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } }; 353 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } }; 354 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } }; 355 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } }; 356 shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } }; 357 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } }; 358 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } }; 359 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } }; 360 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } }; 361 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } }; 362 shape "SPCE" { { [113,18] }, { [2,1], [111,16] } }; 363 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } }; 364 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } }; 365 366 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } }; 367 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } }; 368 solid "LedPanel" { 369 shape= "LEDS"; 370 top= 22; 371 left= 377; 372 color= "grey10"; 373 }; 374 375 indicator.onColor= "green"; 376 indicator.offColor= "green30"; 377 indicator.top= 37; 378 indicator.shape= "LED"; 379 indicator "Num Lock" { left= 382; }; 380 indicator "Caps Lock" { left= 407; }; 381 indicator "Scroll Lock" { left= 433; }; 382 text.top= 25; 383 text.color= "black"; 384 text "NumLockLabel" { left= 378; text="Num\nLock"; }; 385 text "CapsLockLabel" { left= 403; text="Caps\nLock"; }; 386 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; }; 387 388 section.left= 19; 389 row.left= 1; 390 key.shape= "NORM"; 391 key.gap= 1; 392 section "Function" { 393 top= 22; 394 row { 395 top= 1; 396 keys { { <ESC>, color="grey20" }, 397 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>, 398 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>, 399 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>, 400 { <PRSC>, 8 }, <SCLK>, <PAUS> 401 }; 402 }; 403 }; // End of "Function" section 404 405 section "Alpha" { 406 top= 61; 407 row { 408 top= 1; 409 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>, 410 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>, 411 <AE10>, <AE11>, <AE12>, 412 { <BKSP>, "BKSP", color="grey20" } 413 }; 414 }; 415 row { 416 top= 20; 417 keys { { <TAB>, "TABK", color="grey20" }, 418 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 419 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 420 <AD11>, <AD12>, { <BKSL>, "BKSL" } 421 }; 422 }; 423 row { 424 top= 39; 425 keys { { <CAPS>, "CAPS", color="grey20" }, 426 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 427 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 428 <AC11>, { <RTRN>, "RTRN", color="grey20" } 429 }; 430 }; 431 row { 432 top= 58; 433 keys { { <LFSH>, "LFSH", color="grey20" }, 434 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 435 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 436 { <RTSH>, "RTSH", color="grey20" } 437 }; 438 }; 439 row { 440 top= 77; 441 key.shape= "SMOD"; 442 key.color= "grey20"; 443 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>, 444 { <SPCE>, "SPCE", color="white" }, 445 <RALT>, <RWIN>, <MENU>, <RCTL> 446 }; 447 }; 448 }; // End of "Alpha" section 449 450 section "Editing" { 451 top= 61; 452 left= 312; 453 key.color= "grey20"; 454 row { 455 top= 1; 456 keys { <INS>, <HOME>, <PGUP> }; 457 }; 458 row { 459 top= 20; 460 keys { <DELE>, <END>, <PGDN> }; 461 }; 462 row { 463 top= 58; 464 left= 20; 465 keys { <UP> }; 466 }; 467 row { 468 top= 77; 469 keys { <LEFT>, <DOWN>, <RGHT> }; 470 }; 471 }; // End of "Editing" section 472 473 section "Keypad" { 474 top= 61; 475 left= 376; 476 row { 477 top= 1; 478 key.color= "grey20"; 479 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> }; 480 }; 481 row { 482 top= 20; 483 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } }; 484 }; 485 row { 486 top= 39; 487 keys { <KP4>, <KP5>, <KP6> }; 488 }; 489 row { 490 top= 58; 491 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } }; 492 }; 493 row { 494 top= 77; 495 keys { { <KP0>, "KP0" }, <KPDL> }; 496 }; 497 }; // End of "Keypad" section 498 499 alias <AC00> = <CAPS>; 500 alias <AA00> = <LCTL>; 501 502}; // End of "pc104" geometry 503 504xkb_geometry "pc105" { 505 506 description= "Generic 105"; 507 width= 470; 508 height= 180; 509 510 shape.cornerRadius= 1; 511 512 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } }; 513 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } }; 514 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } }; 515 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } }; 516 shape "RTRN" { 517 { [0,0], [28,0], [28,37], [5,37], [5,18], [0,18] } , 518 { [2,1], [26,1], [26,35], [7,35], [7,16], [2,16] } , 519 approx = { [5,0], [28,37] } }; 520 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } }; 521 shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } }; 522 shape "RTSH" { { [ 50,18] }, { [2,1], [ 48,16] } }; 523 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } }; 524 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } }; 525 shape "SPCE" { { [113,18] }, { [2,1], [111,16] } }; 526 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } }; 527 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } }; 528 529 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } }; 530 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } }; 531 solid "LedPanel" { 532 shape= "LEDS"; 533 top= 22; 534 left= 377; 535 color= "grey10"; 536 }; 537 538 indicator.onColor= "green"; 539 indicator.offColor= "green30"; 540 indicator.top= 37; 541 indicator.shape= "LED"; 542 indicator "Num Lock" { left= 382; }; 543 indicator "Caps Lock" { left= 407; }; 544 indicator "Scroll Lock" { left= 433; }; 545 text.top= 25; 546 text.color= "black"; 547 text "NumLockLabel" { left= 378; text="Num\nLock"; }; 548 text "CapsLockLabel" { left= 403; text="Caps\nLock"; }; 549 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; }; 550 551 section.left= 19; 552 row.left= 1; 553 key.shape= "NORM"; 554 key.gap= 1; 555 section "Function" { 556 top= 22; 557 row { 558 top= 1; 559 keys { { <ESC>, color="grey20" }, 560 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>, 561 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>, 562 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>, 563 { <PRSC>, 8 }, <SCLK>, <PAUS> 564 }; 565 }; 566 }; // End of "Function" section 567 568 section "Alpha" { 569 top= 61; 570 row { 571 top= 1; 572 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>, 573 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>, 574 <AE10>, <AE11>, <AE12>, 575 { <BKSP>, "BKSP", color="grey20" } 576 }; 577 }; 578 row { 579 top= 20; 580 keys { { <TAB>, "TABK", color="grey20" }, 581 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 582 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 583 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" } 584 }; 585 }; 586 row { 587 top= 39; 588 keys { { <CAPS>, "CAPS", color="grey20" }, 589 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 590 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 591 <AC11>, <BKSL> 592 }; 593 }; 594 row { 595 top= 58; 596 keys { { <LFSH>, "LFSH", color="grey20" }, 597 <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 598 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 599 { <RTSH>, "RTSH", color="grey20" } 600 }; 601 }; 602 row { 603 top= 77; 604 key.shape= "SMOD"; 605 key.color= "grey20"; 606 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>, 607 { <SPCE>, "SPCE", color="white" }, 608 <RALT>, <RWIN>, <MENU>, <RCTL> 609 }; 610 }; 611 }; // End of "Alpha" section 612 613 section "Editing" { 614 top= 61; 615 left= 312; 616 key.color= "grey20"; 617 row { 618 top= 1; 619 keys { <INS>, <HOME>, <PGUP> }; 620 }; 621 row { 622 top= 20; 623 keys { <DELE>, <END>, <PGDN> }; 624 }; 625 row { 626 top= 58; 627 left= 20; 628 keys { <UP> }; 629 }; 630 row { 631 top= 77; 632 keys { <LEFT>, <DOWN>, <RGHT> }; 633 }; 634 }; // End of "Editing" section 635 636 section "Keypad" { 637 top= 61; 638 left= 376; 639 row { 640 top= 1; 641 key.color= "grey20"; 642 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> }; 643 }; 644 row { 645 top= 20; 646 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } }; 647 }; 648 row { 649 top= 39; 650 keys { <KP4>, <KP5>, <KP6> }; 651 }; 652 row { 653 top= 58; 654 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } }; 655 }; 656 row { 657 top= 77; 658 keys { { <KP0>, "KP0" }, <KPDL> }; 659 }; 660 }; // End of "Keypad" section 661 662 alias <AC00> = <CAPS>; 663 alias <AA00> = <LCTL>; 664 665}; // End of "pc105" geometry 666 667 668// Added for japanese 106 keyboard 669// by tsuka@kawalab.dnj.ynu.ac.jp . 670xkb_geometry "jp106" { 671 672 description= "Japanese 106"; 673 width= 470; 674 height= 180; 675 676 shape.cornerRadius= 1; 677 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } }; 678 shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } }; 679 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } }; 680 shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } }; 681 shape "RTRN" { 682 { [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } , 683 { [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } }; 684 shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } }; 685 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } }; 686 shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } }; 687 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } }; 688 shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } }; 689 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } }; 690 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } }; 691 692 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } }; 693 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } }; 694 solid "LedPanel" { 695 shape= "LEDS"; 696 top= 25; 697 left= 375; 698 color= "grey10"; 699 }; 700 701 indicator.onColor= "green"; 702 indicator.offColor= "green30"; 703 indicator.top= 40; 704 indicator.shape= "LED"; 705 indicator "Num Lock" { left= 379; }; 706 indicator "Caps Lock" { left= 404; }; 707 indicator "Scroll Lock" { left= 429; }; 708 text.top= 28; 709 text.color= "black"; 710 text "NumLockLabel" { left= 378; text="Num\nLock"; }; 711 text "CapsLockLabel" { left= 403; text="Caps\nLock"; }; 712 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; }; 713 714 section.left= 19; 715 row.left= 1; 716 key.shape= "NORM"; 717 key.gap= 1; 718 section "Function" { 719 top= 25; 720 row { 721 top= 1; 722 keys { { <ESC>, color="grey20" }, 723 { <FK01>, 18 }, <FK02>, <FK03>, <FK04>, 724 { <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"}, 725 { <FK07>, color="grey20"}, {<FK08>,color="grey20"}, 726 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>, 727 { <PRSC>, 8 }, <SCLK>, <PAUS> 728 }; 729 }; 730 }; // End of "Function" section 731 732 section "Alpha" { 733 top= 61; 734 row { 735 top= 1; 736 keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>, 737 <AE03>, <AE04>, <AE05>, <AE06>, <AE07>, 738 <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 739 <AE13>, { <BKSP>, "BKSP", color="grey20" } 740 }; 741 }; 742 row { 743 top= 20; 744 keys { { <TAB>, "TABK", color="grey20" }, 745 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 746 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 747 <AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" } 748 }; 749 }; 750 row { 751 top= 39; 752 keys { { <CAPS>, "CAPS", color="grey20" }, 753 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 754 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 755 <AC11>, <AC12> 756 }; 757 }; 758 row { 759 top= 58; 760 keys { { <LFSH>, "LFSH", color="grey20" }, 761 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 762 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 763 <AB11>, { <RTSH>, "RTSH", color="grey20" } 764 }; 765 }; 766 row { 767 top= 77; 768 key.shape= "MODK"; 769 key.color= "grey20"; 770 keys { <LCTL>, { <LALT>, 20 },<NFER>, 771 { <SPCE>, "SPCE", color="white" }, 772 <XFER>,<HKTG>,<RALT>, { <RCTL>, 17 } 773 }; 774 }; 775 }; // End of "Alpha" section 776 777 section "Editing" { 778 top= 61; 779 left= 310; 780 key.color= "grey20"; 781 row { 782 top= 1; 783 keys { <INS>, <HOME>, <PGUP> }; 784 }; 785 row { 786 top= 20; 787 keys { <DELE>, <END>, <PGDN> }; 788 }; 789 row { 790 top= 58; 791 left= 20; 792 keys { <UP> }; 793 }; 794 row { 795 top= 77; 796 keys { <LEFT>, <DOWN>, <RGHT> }; 797 }; 798 }; // End of "Editing" section 799 800 section "Keypad" { 801 top= 61; 802 left= 375; 803 row { 804 top= 1; 805 key.color= "grey20"; 806 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> }; 807 }; 808 row { 809 top= 20; 810 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } }; 811 }; 812 row { 813 top= 39; 814 keys { <KP4>, <KP5>, <KP6> }; 815 }; 816 row { 817 top= 58; 818 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } }; 819 }; 820 row { 821 top= 77; 822 keys { { <KP0>, "KP0" }, <KPDL> }; 823 }; 824 }; // End of "Keypad" section 825 826 alias <AC00> = <CAPS>; 827 alias <AA00> = <LCTL>; 828 829}; // End of "jp106" geometry 830 831// Added for brazilian ABNT2 by Ricardo Y. Igarashi(iga@that.com.br) 832xkb_geometry "abnt2" { 833 include "pc(pc105)" 834 835 description= "Brazilian ABNT2"; 836 837 shape "RTRN" { 838 { [0,0],[ 28,0],[28,37],[4,37],[4,18],[0,18] } , 839 { [2,1],[ 26,1],[26,36],[5,36],[5,18],[2,18] } }; 840 shape "RTSH" { { [ 31,18] }, { [2,1], [ 29,16] } }; 841 842 section.left= 19; 843 row.left= 1; 844 key.shape= "NORM"; 845 key.gap= 1; 846 section "Alpha" { 847 top= 61; 848 row { 849 top= 20; 850 keys { { <TAB>, "TABK", color="grey20" }, 851 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 852 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 853 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" } 854 }; 855 }; 856 row { 857 top= 39; 858 keys { { <CAPS>, "CAPS", color="grey20" }, 859 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 860 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 861 <AC11>, <BKSL> 862 }; 863 }; 864 row { 865 top= 58; 866 keys { { <LFSH>, "LFSH", color="grey20" }, 867 <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 868 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>, 869 { <RTSH>, "RTSH", color="grey20" } 870 }; 871 }; 872 }; // End of "Alpha" section 873 874 section "Keypad" { 875 top= 61; 876 left= 376; 877 row { 878 top= 20; 879 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, color="grey20" } }; 880 }; 881 row { 882 top= 39; 883 keys { <KP4>, <KP5>, <KP6>, { <KPPT>, color="grey20" } }; 884 }; 885 }; // End of "Keypad" section 886 887}; // End of "abnt2" geometry 888 889 890// Created by Alexander Pohoyda <alexander.pohoyda@gmx.net> 891 892xkb_geometry "pc86" { 893 description = "Noname keyboard with 86 keys, DE"; 894 width = 287; 895 height = 143; 896 baseColor = "grey20"; 897 898 shape "EDGE" { cornerRadius = 2, { [287, 143] } }; 899 shape "LED" { cornerRadius = 2, { [3, 3] } }; 900 shape "LEDS" { cornerRadius = 0, { [75, 5] } }; 901 shape "KEYS" { cornerRadius = 0, { [271, 109] } }; 902 903 outline "Edges" { 904 top = 0; 905 left = 0; 906 shape = "EDGE"; 907 color = "black"; 908 }; 909 910 solid "KeyPanel" { 911 shape = "KEYS"; 912 left = 8; 913 top = 22; 914 color = "grey70"; 915 }; 916 917 solid "LedPanel" { 918 shape = "LEDS"; 919 left = 212; 920 top = 10; 921 color = "black"; 922 }; 923 924 indicator.onColor = "green"; 925 indicator.offColor = "green30"; 926 indicator.top = 11; 927 indicator.shape = "LED"; 928 indicator "Num Lock" { left = 212 + 7; }; 929 indicator "Caps Lock" { left = 212 + 23; }; 930 indicator "Scroll Lock" { left = 212 + 39; }; 931 text.fontSize = 6; 932 text.top = 10; 933 text.color = "white"; 934 text "NumLockLabel" { left = 212 + 7 + 5; text = "Num\nLock"; }; 935 text "CapsLockLabel" { left = 212 + 23 + 5; text = "Caps\nLock"; }; 936 text "ScrollLockLabel" { left = 212 + 39 + 5; text = "Scroll\nLock"; }; 937 938 shape.cornerRadius = 1; 939 shape "SMALL" { { [15, 12] }, { [1.5, 0], [13.5, 10] } }; 940 shape "NARR" { { [13, 18] }, { [1.5, 0], [11.5, 14] } }; 941 shape "NORM" { { [18, 18] }, { [3, 0], [15, 14] } }; 942 shape "NORM_1" { { [22, 18] }, { [4, 0], [22, 18] }, 943 { [7, 0], [19, 14] } }; 944 shape "WIDER" { { [23, 18] }, { [3, 0], [20, 14] } }; 945 shape "WIDEST" { { [27, 18] }, { [3, 0], [24, 14] } }; 946 shape "SPCE" { { [75, 18] }, { [3, 0], [72, 14] } }; 947 948 section "Function" { 949 key.shape = "SMALL"; 950 key.gap = 0.99; 951 key.color = "grey30"; 952 left = 8; 953 top = 22; 954 row { 955 top = 1; 956 keys { <ESC>, 957 <FK01>, <FK02>, <FK03>, <FK04>, 958 <FK05>, <FK06>, <FK07>, <FK08>, 959 <FK09>, <FK10>, <FK11>, <FK12>, 960 <NMLK>, <PRSC>, <SCLK>, <PAUS> 961 }; 962 }; 963 }; // End of "Function" section 964 965 section "Control" { 966 key.shape = "NORM"; 967 key.gap = 1; 968 key.color = "grey30"; 969 left = 8; 970 top = 111; 971 row { 972 top = 1; 973 keys { <LCTL>, <FN>, <LALT>, 974 { <SPCE>, shape="SPCE", 39 }, <RALT>, 975 <INS>, <DELE> 976 }; 977 }; 978 }; // End of "Control" section 979 980 section "Editing" { 981 key.shape = "NARR"; 982 key.gap = 1; 983 key.color = "grey30"; 984 left = 265; 985 top = 34; 986 row.vertical = True; 987 row { 988 top = 1; 989 keys { <HOME>, <PGUP>, <PGDN>, <END> }; 990 }; 991 }; // End of "Editing" section 992 993 section "Navigation" { 994 key.gap = 1; 995 key.shape = "NARR"; 996 key.color = "grey30"; 997 left = 236; 998 top = 92; 999 row { 1000 left = 14; 1001 top = 1; 1002 keys { <UP> }; 1003 }; 1004 row { 1005 top = 20; 1006 keys { <LEFT>, <DOWN>, <RGHT> }; 1007 }; 1008 }; // End of "Navigation" section 1009 1010 section "Alpha" { 1011 key.gap = 1; 1012 key.shape = "NORM"; 1013 key.color = "grey10"; 1014 left = 8; 1015 top = 35; 1016 row { 1017 top = 1; 1018 keys { { <AE01>, shape="NORM_1" }, <AE02>, <AE03>, <AE04>, 1019 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>, 1020 <AE10>, <AE11>, <AE12>, 1021 { <BKSP>, shape="WIDER", color="grey30" } 1022 }; 1023 }; 1024 row { 1025 top = 20; 1026 keys { { <TAB>, shape="NARR", color="grey30" }, 1027 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 1028 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 1029 <AD11>, <AD12>, { <AD13>, shape="NARR" } 1030 }; 1031 }; 1032 row { 1033 top = 39; 1034 keys { { <CAPS>, color="grey30" }, 1035 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 1036 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 1037 <AC11>, { <RTRN>, shape="WIDEST", color="grey30" } 1038 }; 1039 }; 1040 row { 1041 top = 58; 1042 keys { { <LFSH>, shape="WIDEST", color="grey30" }, 1043 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 1044 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 1045 { <RTSH>, shape="WIDER", color="grey30" } 1046 }; 1047 }; 1048 row { 1049 left = 57; 1050 top = 77; 1051 keys { <AE00>, <LSGT> }; 1052 }; 1053 }; // End of "Alpha" section 1054 1055 alias <AC00> = <CAPS>; 1056 alias <AA00> = <LCTL>; 1057}; // End of "pc86" geometry 1058 1059xkb_geometry "kr106" { 1060 1061 description= "Korean 106"; 1062 width= 470; 1063 height= 180; 1064 1065 shape.cornerRadius= 1; 1066 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } }; 1067 shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } }; 1068 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } }; 1069 shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } }; 1070 shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } }; 1071 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } }; 1072 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } }; 1073 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } }; 1074 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } }; 1075 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } }; 1076 shape "SPCE" { { [ 75,18] }, { [2,1], [ 73,16] } }; 1077 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } }; 1078 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } }; 1079 1080 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } }; 1081 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } }; 1082 solid "LedPanel" { 1083 shape= "LEDS"; 1084 top= 22; 1085 left= 377; 1086 color= "grey10"; 1087 }; 1088 1089 indicator.onColor= "green"; 1090 indicator.offColor= "green30"; 1091 indicator.top= 37; 1092 indicator.shape= "LED"; 1093 indicator "Num Lock" { left= 382; }; 1094 indicator "Caps Lock" { left= 407; }; 1095 indicator "Scroll Lock" { left= 433; }; 1096 text.top= 25; 1097 text.color= "black"; 1098 text "NumLockLabel" { left= 378; text="Num\nLock"; }; 1099 text "CapsLockLabel" { left= 403; text="Caps\nLock"; }; 1100 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; }; 1101 1102 section.left= 19; 1103 row.left= 1; 1104 key.shape= "NORM"; 1105 key.gap= 1; 1106 section "Function" { 1107 top= 22; 1108 row { 1109 top= 1; 1110 keys { { <ESC>, color="grey20" }, 1111 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>, 1112 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>, 1113 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>, 1114 { <PRSC>, 8 }, <SCLK>, <PAUS> 1115 }; 1116 }; 1117 }; // End of "Function" section 1118 1119 section "Alpha" { 1120 top= 61; 1121 row { 1122 top= 1; 1123 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>, 1124 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>, 1125 <AE10>, <AE11>, <AE12>, 1126 { <BKSP>, "BKSP", color="grey20" } 1127 }; 1128 }; 1129 row { 1130 top= 20; 1131 keys { { <TAB>, "TABK", color="grey20" }, 1132 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 1133 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 1134 <AD11>, <AD12>, { <BKSL>, "BKSL" } 1135 }; 1136 }; 1137 row { 1138 top= 39; 1139 keys { { <CAPS>, "CAPS", color="grey20" }, 1140 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 1141 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 1142 <AC11>, { <RTRN>, "RTRN", color="grey20" } 1143 }; 1144 }; 1145 row { 1146 top= 58; 1147 keys { { <LFSH>, "LFSH", color="grey20" }, 1148 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 1149 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 1150 { <RTSH>, "RTSH", color="grey20" } 1151 }; 1152 }; 1153 row { 1154 top= 77; 1155 key.shape= "SMOD"; 1156 key.color= "grey20"; 1157 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>, 1158 { <K71>, "NORM", color="white" }, 1159 { <SPCE>, "SPCE", color="white" }, 1160 { <K72>, "NORM", color="white" }, 1161 <RALT>, <RWIN>, <MENU>, <RCTL> 1162 }; 1163 }; 1164 }; // End of "Alpha" section 1165 1166 section "Editing" { 1167 top= 61; 1168 left= 312; 1169 key.color= "grey20"; 1170 row { 1171 top= 1; 1172 keys { <INS>, <HOME>, <PGUP> }; 1173 }; 1174 row { 1175 top= 20; 1176 keys { <DELE>, <END>, <PGDN> }; 1177 }; 1178 row { 1179 top= 58; 1180 left= 20; 1181 keys { <UP> }; 1182 }; 1183 row { 1184 top= 77; 1185 keys { <LEFT>, <DOWN>, <RGHT> }; 1186 }; 1187 }; // End of "Editing" section 1188 1189 section "Keypad" { 1190 top= 61; 1191 left= 376; 1192 row { 1193 top= 1; 1194 key.color= "grey20"; 1195 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> }; 1196 }; 1197 row { 1198 top= 20; 1199 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } }; 1200 }; 1201 row { 1202 top= 39; 1203 keys { <KP4>, <KP5>, <KP6> }; 1204 }; 1205 row { 1206 top= 58; 1207 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } }; 1208 }; 1209 row { 1210 top= 77; 1211 keys { { <KP0>, "KP0" }, <KPDL> }; 1212 }; 1213 }; // End of "Keypad" section 1214 1215 alias <AC00> = <CAPS>; 1216 alias <AA00> = <LCTL>; 1217 1218}; // End of "kr106" geometry 1219 1220// Based on the pc(pc105) layout. The keypad, sysreq/ScrLk/Break, and multimedia 1221// keys are not shown because they are shared with other keys via the <FN> key. 1222// This should not be a problem if the normal symbols are used, as the keys will 1223// show through normally, they just won't show from xkbprint. For the record, 1224// <FN>+<PGUP> = AudioRaise, 1225// <FN>+<PGDN> = AudioLower, 1226// <FN>+<END> = AudioMute, 1227// <FN>+<PRSC> = Sysreq, 1228// <FN>+<NMLK> = ScrollLock, 1229// <FN>+<BREAK> = <PAUS>, 1230// <FN>+7 = KP_7, 1231// <FN>+8 = KP_8, 1232// <FN>+9 = KP_9, 1233// <FN>+0 = KP_MUL, 1234// <FN>+U = KP_4, 1235// <FN>+I = KP_5, 1236// <FN>+O = KP_6, 1237// <FN>+P = KP_SUB, 1238// <FN>+J = KP_1, 1239// <FN>+K = KP_2, 1240// <FN>+L = KP_3, 1241// <FN>+; = KP_ADD, 1242// <FN>+M = KP_INS, 1243// <FN>+. = KP_DEL, 1244// <FN>+/ = KP_DIV. 1245// The other FN combinations aren't passed to X, but are handled by BIOS. 1246// <FN> and all keys with <FN> level mappings are marked in grey20. 1247// 1248// David Cameron Staples <staples@cs.mu.oz.au> 2006-05-12 1249 1250xkb_geometry "latitude" { 1251 1252 description= "Dell Latitude"; 1253 width= 330; 1254 height= 210; 1255 1256 shape.cornerRadius= 1; 1257 shape "NORM" { { [ 18 ,18] }, { [2,1 ], [ 16,16] } }; 1258 shape "FUNC" { { [ 16.2,12] }, { [2,0.5], [ 14,10] } }; 1259 shape "ESC" { { [ 18 ,12] }, { [2,0.5], [ 16,10] } }; 1260 shape "BKSP" { { [ 38 ,18] }, { [2,1 ], [ 36,16] } }; 1261 shape "TABK" { { [ 28 ,18] }, { [2,1 ], [ 26,16] } }; 1262 shape "BKSL" { { [ 28 ,18] }, { [2,1 ], [ 26,16] } }; 1263 shape "RTRN" { { [ 42 ,18] }, { [2,1 ], [ 40,16] } }; 1264 shape "CAPS" { { [ 33 ,18] }, { [2,1 ], [ 26,16] } }; 1265 shape "LFSH" { { [ 42 ,18] }, { [2,1 ], [ 40,16] } }; 1266 shape "RTSH" { { [ 52 ,18] }, { [2,1 ], [ 50,16] } }; 1267 shape "SPCE" { { [ 95 ,18] }, { [2,1 ], [ 93,16] } }; 1268 shape "LCTL" { { [ 28 ,14] }, { [2,1 ], [ 26,12] } }; 1269 shape "LALT" { { [ 22 ,14] }, { [2,1 ], [ 20,12] } }; 1270 shape "WIN" { { [ 18 ,14] }, { [2,1 ], [ 16,12] } }; 1271 1272 shape "LED" { cornerRadius= 0.5, { [ 1, 3 ] } }; 1273 1274 indicator.onColor= "green"; 1275 indicator.offColor= "green30"; 1276 indicator.top= 37; 1277 indicator.shape= "LED"; 1278 indicator "Num Lock" { left= 138; }; 1279 indicator "Caps Lock" { left= 150; }; 1280 indicator "Scroll Lock" { left= 162; }; 1281 text.top= 33; 1282 text.color= "black"; 1283 text "NumLockLabel" { left= 140; text="Num\nLock"; }; 1284 text "CapsLockLabel" { left= 152; text="Caps\nLock"; }; 1285 text "ScrollLockLabel" { left= 164; text="Scroll\nLock"; }; 1286 1287 text "LATITUDE" { left= 19; text="L A T I T U D E"; }; 1288 1289 section.left= 19; 1290 row.left= 1; 1291 key.shape= "NORM"; 1292 key.gap= 1; 1293 section "Function" { 1294 top= 32; 1295 key.shape= "FUNC"; 1296 key.color= "grey20"; 1297 row { 1298 top= 1; 1299 left= 163.8; 1300 keys { { <MENU>, color="white" }, <PRSC>, <NMLK>, <PAUS>, 1301 { <INS>, 3, color="white" }, 1302 { <HOME>, color="white"}, <PGUP> 1303 }; 1304 }; 1305 row { 1306 top= 14; 1307 keys { { <ESC>, "ESC" }, 1308 { <FK01>, 3 }, 1309 { <FK02>, color="white" }, <FK03>, 1310 { <FK04>, color="white" }, 1311 { <FK05>, 3 }, 1312 { <FK06>, color="white" }, <FK07>, <FK08>, 1313 { <FK09>, 3, color="white" }, <FK10>, 1314 { <FK11>, color="white" }, 1315 { <FK12>, color="white" }, 1316 { <DELE>, 3, color="white" }, <END>, <PGDN> 1317 }; 1318 }; 1319 }; // End of "Function" section 1320 1321 section "Alpha" { 1322 top= 60; 1323 row { 1324 top= 1; 1325 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>, 1326 <AE05>, <AE06>, 1327 { <AE07>, color="grey20" }, 1328 { <AE08>, color="grey20" }, 1329 { <AE09>, color="grey20" }, 1330 { <AE10>, color="grey20" }, <AE11>, <AE12>, 1331 { <BKSP>, "BKSP" } 1332 }; 1333 }; 1334 row { 1335 top= 20; 1336 keys { { <TAB>, "TABK" }, 1337 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 1338 <AD06>, 1339 { <AD07>, color="grey20" }, 1340 { <AD08>, color="grey20" }, 1341 { <AD09>, color="grey20" }, 1342 { <AD10>, color="grey20" }, 1343 <AD11>, <AD12>, { <BKSL>, "BKSL" } 1344 }; 1345 }; 1346 row { 1347 top= 39; 1348 keys { { <CAPS>, "CAPS" }, 1349 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 1350 <AC06>, 1351 { <AC07>, color="grey20" }, 1352 { <AC08>, color="grey20" }, 1353 { <AC09>, color="grey20" }, 1354 { <AC10>, color="grey20" }, 1355 <AC11>, { <RTRN>, "RTRN" } 1356 }; 1357 }; 1358 row { 1359 top= 58; 1360 keys { { <LFSH>, "LFSH" }, 1361 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 1362 <AB06>, 1363 { <AB07>, color="grey20" }, <AB08>, 1364 { <AB09>, color="grey20" }, 1365 { <AB10>, color="grey20" }, 1366 { <RTSH>, "RTSH" } 1367 }; 1368 }; 1369 row { 1370 top= 77; 1371 key.shape= "WIN"; 1372 keys { { <LCTL>, "LCTL" }, 1373 { <FN>, color="grey20" }, 1374 <LWIN>, 1375 { <LALT>, "LALT" }, 1376 { <SPCE>, "SPCE" }, 1377 <RALT>, 1378 { <RCTL>, "LALT" } 1379 }; 1380 }; 1381 }; // End of "Alpha" section 1382 1383 section "Editing" { 1384 top= 136; 1385 left= 250; 1386 key.shape= "FUNC"; 1387 key.color= "grey20"; 1388 row { 1389 top= 1; 1390 left= 18.2; 1391 keys { <UP> }; 1392 }; 1393 row { 1394 top= 14; 1395 keys { <LEFT>, <DOWN>, <RGHT> }; 1396 }; 1397 }; // End of "Editing" section 1398 1399 alias <AC00> = <CAPS>; 1400 alias <AA00> = <LCTL>; 1401 1402}; // End of "latitude" geometry 1403 1404xkb_geometry "pc104alt" { 1405 1406 description= "Generic 104 with L-shaped Enter and small Backspace with Backslash left to it"; 1407 width= 470; 1408 height= 210; 1409 1410 shape.cornerRadius= 1; 1411 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } }; 1412 shape "BKSP" { { [ 19,18] }, { [2,1], [ 17,16] } }; 1413 shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } }; 1414// shape "RTRN" { { [ 0,19 ], [ 0,37 ], [ 42,37 ], [ 42,0 ], [ 14,0 ], [ 14,19 ] }, 1415// { [ 2,20 ], [ 2,35 ], [ 40,35 ], [ 40,1 ], [ 16,1 ], [ 16,20 ] }, 1416// approx = { [ 17,21 ], [ 39,34 ] } 1417// }; 1418 shape "RTRN" { { [ -14,19 ], [ -14,37 ], [ 28,37 ], [ 28,0 ], [ 0,0 ], [ 0,19 ] }, 1419 { [ -12,20 ], [ -12,35 ], [ 26,35 ], [ 26,1 ], [ 2,1 ], [ 2,20 ] }, 1420 approx = { [ 3,21 ], [ 25,34 ] } 1421 }; 1422 shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } }; 1423 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } }; 1424 shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } }; 1425 shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } }; 1426 shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } }; 1427 shape "SPCE" { { [113,18] }, { [2,1], [111,16] } }; 1428 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } }; 1429 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } }; 1430 1431 shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } }; 1432 shape "LED" { cornerRadius= 0, { [ 5, 1 ] } }; 1433 solid "LedPanel" { 1434 shape= "LEDS"; 1435 top= 52; 1436 left= 377; 1437 color= "grey10"; 1438 }; 1439 1440 indicator.onColor= "green"; 1441 indicator.offColor= "green30"; 1442 indicator.top= 67; 1443 indicator.shape= "LED"; 1444 indicator "Num Lock" { left= 382; }; 1445 indicator "Caps Lock" { left= 407; }; 1446 indicator "Scroll Lock" { left= 433; }; 1447 text.top= 55; 1448 text.color= "black"; 1449 text "NumLockLabel" { left= 378; text="Num\nLock"; }; 1450 text "CapsLockLabel" { left= 403; text="Caps\nLock"; }; 1451 text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; }; 1452 1453 section.left= 19; 1454 row.left= 1; 1455 key.shape= "NORM"; 1456 key.gap= 1; 1457 section "Function" { 1458 top= 52; 1459 row { 1460 top= 1; 1461 keys { { <ESC>, color="grey20" }, 1462 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>, 1463 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>, 1464 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>, 1465 { <PRSC>, 8 }, <SCLK>, <PAUS> 1466 }; 1467 }; 1468 }; // End of "Function" section 1469 1470 section "Alpha" { 1471 top= 91; 1472 row { 1473 top= 1; 1474 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>, 1475 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>, 1476 <AE10>, <AE11>, <AE12>, <BKSL>, 1477 { <BKSP>, "BKSP", color="grey20" } 1478 }; 1479 }; 1480 row { 1481 top= 20; 1482 keys { { <TAB>, "TABK", color="grey20" }, 1483 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 1484 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 1485// <AD11>, <AD12>, { <RTRN>, -13, "RTRN", color="grey20" } 1486 <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" } 1487 }; 1488 }; 1489 row { 1490 top= 39; 1491 keys { { <CAPS>, "CAPS", color="grey20" }, 1492 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 1493 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 1494 <AC11> 1495 }; 1496 }; 1497 row { 1498 top= 58; 1499 keys { { <LFSH>, "LFSH", color="grey20" }, 1500 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 1501 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 1502 { <RTSH>, "RTSH", color="grey20" } 1503 }; 1504 }; 1505 row { 1506 top= 77; 1507 key.shape= "SMOD"; 1508 key.color= "grey20"; 1509 keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>, 1510 { <SPCE>, "SPCE", color="white" }, 1511 <RALT>, <RWIN>, <MENU>, <RCTL> 1512 }; 1513 }; 1514 }; // End of "Alpha" section 1515 1516 section "Editing" { 1517 top= 91; 1518 left= 312; 1519 key.color= "grey20"; 1520 row { 1521 top= 1; 1522 keys { <INS>, <HOME>, <PGUP> }; 1523 }; 1524 row { 1525 top= 20; 1526 keys { <DELE>, <END>, <PGDN> }; 1527 }; 1528 row { 1529 top= 58; 1530 left= 20; 1531 keys { <UP> }; 1532 }; 1533 row { 1534 top= 77; 1535 keys { <LEFT>, <DOWN>, <RGHT> }; 1536 }; 1537 }; // End of "Editing" section 1538 1539 section "Keypad" { 1540 top= 91; 1541 left= 376; 1542 row { 1543 top= 1; 1544 key.color= "grey20"; 1545 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> }; 1546 }; 1547 row { 1548 top= 20; 1549 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } }; 1550 }; 1551 row { 1552 top= 39; 1553 keys { <KP4>, <KP5>, <KP6> }; 1554 }; 1555 row { 1556 top= 58; 1557 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } }; 1558 }; 1559 row { 1560 top= 77; 1561 keys { { <KP0>, "KP0" }, <KPDL> }; 1562 }; 1563 }; // End of "Keypad" section 1564 1565 alias <AC00> = <CAPS>; 1566 alias <AA00> = <LCTL>; 1567 1568}; // End of "pc104" geometry 1569