macintosh revision bfd7cbc1
1// 2// Some modifications (<eqdar@castalie.org>) : 3// - Added a <LSGT> key 4// - Fixed the shape of the <RTRN> key 5// - Moved <BKSL> to the 'AC' row 6// - Added a special Macintosh sysctl key 7// - Minor changes (Function keys shape, LED position...) 8 9// Minor changes 10// - Mail address above is no longer valid 11// - Changed {L,R}MTA to {L,R}WIN, which are defined 12// 2005/10 -- Simon Vallet <svallet@gmail.com> 13 14default xkb_geometry "macintosh" { 15 16 description= "Apple Extended Keyboard II"; 17 width = 475; 18 height = 194; 19 20 shape.cornerRadius= 1; 21 shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } }; 22 shape "TLDE" { { [ 23,18] }, { [2,1], [ 21,17] } }; 23 shape "BKSP" { { [ 33,18] }, { [2,1], [ 31,17] } }; 24 shape "TAB" { { [ 33,18] }, { [2,1], [ 31,17] } }; 25 shape "RTRN" { 26 { [0,0],[23,0],[23,37],[4,37],[4,18],[0,18] }, 27 { [2,1],[21,1],[21,36],[6,36],[6,17],[2,17] } }; 28 shape "CAPS" { { [ 37,18] }, { [2,1], [ 35,17] } }; 29 shape "LCTL" { { [ 28,18] }, { [2,1], [ 26,17] } }; 30 shape "LALT" { { [ 22,18] }, { [2,1], [ 20,17] } }; 31 shape "LMTA" { { [ 28,18] }, { [2,1], [ 26,17] } }; 32 shape "LFSH" { { [ 28,18] }, { [2,1], [ 26,17] } }; 33 shape "RCTL" { { [ 28,18] }, { [2,1], [ 26,17] } }; 34 shape "RALT" { { [ 22,18] }, { [2,1], [ 20,17] } }; 35 shape "RMTA" { { [ 28,18] }, { [2,1], [ 26,17] } }; 36 shape "RTSH" { { [ 47,18] }, { [2,1], [ 45,17] } }; 37 shape "SPCE" { { [123,18] }, { [2,1], [121,17] } }; 38 shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } }; 39 shape "KPEN" { { [ 18,37] }, { [2,1], [ 16,36] } }; 40 // Macintosh keyboards have a special sysctl key at the top right 41 shape "AAPL" { 42 { [ 0,0], [ 18,0], [ 18,18], [ 0,18] }, 43 { [ 1,1], [ 17,1], [ 17,17], [ 1,17] }, 44 { [ 8,5], [ 8,12], [ 2,9] } }; 45 46 shape "LEDS" { cornerRadius = 0, { [ 55,19] } }; 47 shape "LED" { cornerRadius = 0, { [ 8, 2] } }; 48 49 solid "LedPanel" { 50 shape= "LEDS"; 51 top = 48; 52 left = 378; 53 }; 54 55 indicator.onColor= "green"; 56 indicator.offColor= "green30"; 57 indicator.top = 50; 58 indicator.shape= "LED"; 59 indicator "NumLock" { left = 381; }; 60 indicator "CapsLock" { left = 398; }; 61 indicator "ScrollLock" { left = 415; }; 62 text.top= 55; 63 text.color= "black"; 64 text "NumLockLabel" { left = 381; text = "Num\nLock"; }; 65 text "CapsLockLabel" { left = 398; text = "Caps\nLock"; }; 66 text "ScrollLockLabel" { left = 415; text = "Scroll\nLock"; }; 67 68 section.left= 19; 69 row.left= 1; 70 key.shape= "NORM"; 71 key.gap= 1; 72 73 section "Function" { 74 top = 48; 75 row { 76 top= 1; 77 keys { <ESC>, 78 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>, 79 { <FK05>, 11 }, <FK06>, <FK07>, <FK08>, 80 { <FK09>, 11 }, <FK10>, <FK11>, <FK12>, 81 { <PRSC>, 10 }, <SCLK>, <PAUS>, 82 // This is the sysctl key on macintosh keyboards 83 // keycode is 222 with a 4.21 kernel, which is <I5E> 84 { <I5E>, "AAPL", 67 } 85 }; 86 }; 87 }; // End of "Function" section 88 89 section "Alpha" { 90 top = 87; 91 row { 92 top= 1; 93 keys { { <TLDE>, "TLDE" }, <AE01>, <AE02>, <AE03>, 94 <AE04>, <AE05>, <AE06>, <AE07>, <AE08>, <AE09>, 95 <AE10>, <AE11>, <AE12>, { <BKSP>, "BKSP" } 96 }; 97 }; 98 row { 99 top= 20; 100 keys { { <TAB>, "TAB" }, <AD01>, <AD02>, <AD03>, 101 <AD04>, <AD05>, <AD06>, <AD07>, <AD08>, <AD09>, 102 <AD10>, <AD11>, <AD12>, { <RTRN>, "RTRN" } 103 }; 104 }; 105 row { 106 top= 39; 107 keys { { <CAPS>, "CAPS" }, <AC01>, <AC02>, <AC03>, 108 <AC04>, <AC05>, <AC06>, <AC07>, <AC08>, <AC09>, 109 <AC10>, <AC11>, <BKSL> 110 }; 111 }; 112 row { 113 top= 58; 114 keys { { <LFSH>, "LFSH" }, <LSGT>, <AB01>, <AB02>, 115 <AB03>, <AB04>, <AB05>, <AB06>, <AB07>, <AB08>, 116 <AB09>, <AB10>, { <RTSH>, "RTSH" } 117 }; 118 }; 119 row { 120 top= 77; 121 keys { { <LCTL>, "LCTL" }, { <LALT>, "LALT" }, 122 { <LWIN>, "LMTA" }, 123 { <SPCE>, "SPCE" }, 124 { <RWIN>, "RMTA" }, 125 { <RALT>, "RALT" }, { <RCTL>, "RCTL" } 126 }; 127 }; 128 }; // End of "Alpha" section 129 130 section "Editing" { 131 top = 87; 132 left = 314; 133 row { 134 top= 1; 135 keys { <INS>, <HOME>, <PGUP> }; 136 }; 137 row { 138 top= 20; 139 keys { <DELE>, <END>, <PGDN> }; 140 }; 141 row { 142 top= 58; 143 left= 20; 144 keys { <UP> }; 145 }; 146 row { 147 top= 77; 148 keys { <LEFT>, <DOWN>, <RGHT> }; 149 }; 150 }; // End of "Editing" section 151 152 // Begin of "Keypad" section 153 section "Keypad" { 154 top = 87; 155 left = 380; 156 row { 157 top= 1; 158 keys { <NMLK>, <KPEQ>, <KPDV>, <KPMU> }; 159 }; 160 row { 161 top= 20; 162 keys { <KP7>, <KP8>, <KP9>, <KPSU> }; 163 }; 164 row { 165 top= 39; 166 keys { <KP4>, <KP5>, <KP6>, <KPAD> }; 167 }; 168 row { 169 top= 58; 170 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN" } }; 171 }; 172 row { 173 top= 77; 174 keys { { <KP0>, "KP0" }, <KPDL> }; 175 }; 176 }; // End of "Keypad" section 177 178}; // End of "default" geometry 179 180 181// This section describes the geometry of the "Apple Pro" keyboard 182// included with NewWorld desktop machines 183// 184// It adds four new keysyms, labeled SDDN, SDUP, SDNO, EJCT. 185// 186// 2005/10 -- Simon Vallet <svallet@gmail.com> 187 188xkb_geometry "applepro" { 189 190 description= "Apple Pro Keyboard"; 191 width = 455; 192 height = 150; 193 194 shape.cornerRadius= 1; 195 shape "NORM" { { [ 18, 18] }, { [2, 1], [ 16, 15] } }; 196 shape "FUNC" { { [ 18, 21] }, { [2, 1], [ 16, 16] } }; 197 shape "BKSP" { { [ 38, 18] }, { [2, 1], [ 36, 15] } }; 198 shape "TAB" { { [ 29, 18] }, { [2, 1], [ 26, 15] } }; 199 shape "LFSH" { { [ 28, 18] }, { [2, 1], [ 26, 15] } }; 200 shape "RTSH" { { [ 47, 18] }, { [2, 1], [ 45, 15] } }; 201 202 shape "RTRN" { 203 { [0,0],[27,0],[27,37],[4,37],[4,18],[0,18] }, 204 { [2,1],[25,1],[25,34],[6,34],[6,15],[2,15] } }; 205 206 shape "CAPS" { { [ 32, 18] }, { [2, 1], [ 26, 15] } }; 207 shape "LCTL" { { [ 28, 20] }, { [2, 1], [ 26, 17] } }; 208 shape "RCTL" { { [ 28, 20] }, { [2, 1], [ 26, 17] } }; 209 shape "LALT" { { [ 23, 20] }, { [2, 1], [ 21, 17] } }; 210 shape "RALT" { { [ 23, 20] }, { [2, 1], [ 21, 17] } }; 211 shape "LMTA" { { [ 28, 20] }, { [2, 1], [ 26, 17] } }; 212 shape "RMTA" { { [ 28, 20] }, { [2, 1], [ 26, 17] } }; 213 shape "SPCE" { { [121, 20] }, { [3, 1], [118, 17] } }; 214 shape "BOTM" { { [ 18, 20] }, { [2, 1], [ 16, 17] } }; 215 216 shape "KP0" { { [ 37, 20] }, { [2, 1], [ 35, 17] } }; 217 shape "KPEN" { { [ 18, 39] }, { [2, 1], [ 16, 36] } }; 218 219 section.left = 7; 220 row.left = 1; 221 key.gap = 1; 222 key.shape = "NORM"; 223 224 section "Function" { 225 key.shape = "FUNC"; 226 top = 26; 227 row { 228 top= 1; 229 keys { <ESC>, 230 { <FK01>, 14 }, <FK02>, <FK03>, <FK04>, 231 { <FK05>, 14 }, <FK06>, <FK07>, <FK08>, 232 { <FK09>, 14 }, <FK10>, <FK11>, <FK12>, 233 { <PRSC>, 11 }, <SCLK>, <PAUS>, 234 { <SDDN>, 11 }, <SDUP>, <SDNO>, <EJCT> 235 }; 236 }; 237 }; // End of "Function" section 238 239 240 section "Alpha" { 241 top = 48; 242 row { 243 top= 1; 244 keys { <TLDE>, <AE01>, <AE02>, <AE03>, 245 <AE04>, <AE05>, <AE06>, <AE07>, <AE08>, <AE09>, 246 <AE10>, <AE11>, <AE12>, { <BKSP>, "BKSP" } 247 }; 248 }; 249 row { 250 top= 20; 251 keys { { <TAB>, "TAB" }, <AD01>, <AD02>, <AD03>, 252 <AD04>, <AD05>, <AD06>, <AD07>, <AD08>, <AD09>, 253 <AD10>, <AD11>, <AD12>, { <RTRN>, "RTRN" } 254 }; 255 }; 256 row { 257 top= 39; 258 keys { { <CAPS>, "CAPS" }, <AC01>, <AC02>, <AC03>, 259 <AC04>, <AC05>, <AC06>, <AC07>, <AC08>, <AC09>, 260 <AC10>, <AC11>, <BKSL> 261 }; 262 }; 263 row { 264 top= 58; 265 keys { { <LFSH>, "LFSH" }, <LSGT>, <AB01>, <AB02>, 266 <AB03>, <AB04>, <AB05>, <AB06>, <AB07>, <AB08>, 267 <AB09>, <AB10>, { <RTSH>, "RTSH" } 268 }; 269 }; 270 row { 271 top= 77; 272 keys { { <LCTL>, "LCTL" }, { <LALT>, "LALT" }, 273 { <LWIN>, "LMTA" }, 274 { <SPCE>, "SPCE" }, 275 { <RWIN>, "RMTA" }, 276 { <RALT>, "RALT" }, { <RCTL>, "RCTL" } 277 }; 278 }; 279 }; // End of "Alpha" section 280 281 section "Editing" { 282 top = 48; 283 left = 303; 284 row { 285 top= 1; 286 keys { <INS>, <HOME>, <PGUP> }; 287 }; 288 row { 289 top= 20; 290 keys { <DELE>, <END>, <PGDN> }; 291 }; 292 row { 293 top= 58; 294 left= 20; 295 keys { <UP> }; 296 }; 297 row { 298 top= 77; 299 key.shape = "BOTM"; 300 keys { <LEFT>, <DOWN>, <RGHT> }; 301 }; 302 }; // End of "Editing" section 303 304 // Begin of "Keypad" section 305 section "Keypad" { 306 top = 48; 307 left = 370; 308 row { 309 top= 1; 310 keys { <NMLK>, <KPEQ>, <KPDV>, <KPMU> }; 311 }; 312 row { 313 top= 20; 314 keys { <KP7>, <KP8>, <KP9>, <KPSU> }; 315 }; 316 row { 317 top= 39; 318 keys { <KP4>, <KP5>, <KP6>, <KPAD> }; 319 }; 320 row { 321 top= 58; 322 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN" } }; 323 }; 324 row { 325 top= 77; 326 keys { { <KP0>, "KP0" }, { <KPDL>, "BOTM" } }; 327 }; 328 }; // End of "Keypad" section 329 330}; // End of "applepro" geometry 331 332xkb_geometry "macbook78" { 333 334 description= "Apple Laptop 78-key (US)"; 335 width= 273; 336 height= 110; 337 338 shape.cornerRadius= 0; 339 shape "ESC" { { [ 21,9] }, cornerRadius=1, { [0,1], [ 19,8] } }; 340 shape "FUNC" { { [ 18,9] }, cornerRadius=1, { [2,1], [ 16,8] } }; 341 shape "EJCT" { { [ 20,9] }, cornerRadius=1, { [2,1], [ 20,8] } }; 342 shape "DEGR" { { [ 16,18] }, cornerRadius=1, { [0,2], [ 14,16] } }; 343 shape "NORM" { { [ 18,18] }, cornerRadius=1, { [2,2], [ 16,16] } }; 344 shape "BKSP" { { [ 25,18] }, cornerRadius=1, { [2,2], [ 25,16] } }; 345 shape "TABK" { { [ 24,18] }, cornerRadius=1, { [0,2], [ 22,16] } }; 346 shape "BKSL" { { [ 17,18] }, cornerRadius=1, { [2,2], [17,16] } }; 347 shape "RTRN" { { [ 31,18] }, cornerRadius=1, { [2,2], [31,16] } }; 348 shape "CAPS" { { [ 29,18] }, cornerRadius=1, { [0,2], [ 27,16] } }; 349 shape "LFSH" { { [ 40,18] }, cornerRadius=1, { [0,2], [ 38,16] } }; 350 shape "RTSH" { { [ 39,18] }, cornerRadius=1, { [2,2], [ 39,16] } }; 351 shape "APPL" { { [ 23,18] }, cornerRadius=1, { [2,2], [ 21,16] } }; 352 shape "SPCE" { { [ 94,18] }, cornerRadius=1, { [2,2], [ 92,16] } }; 353 shape "ARRO" { { [ 17,9] }, cornerRadius=1, { [2,1], [ 15,8] } }; 354 355 shape "LED" { cornerRadius= 1, { [ 2, 2 ] } }; 356 357 indicator.onColor= "green"; 358 indicator.offColor= "gray"; 359 indicator.shape= "LED"; 360 indicator "Num Lock" { top=4; left= 119; }; 361 indicator "Caps Lock" { top=53; left= 4; }; 362 363 section.left=0; 364 row.left= 1; 365 key.shape= "FUNC"; 366 key.gap= 1; 367 section "Function" { 368 top= 0; 369 row { 370 top= 1; 371 keys { {<ESC>, "ESC" }, 372 <FK01>, <FK02>, <FK03>, <FK04>, 373 <FK05>, <FK06>, <FK07>, <FK08>, 374 <FK09>, <FK10>, <FK11>, <FK12>, 375 {<K6C>, "EJCT" } 376 }; 377 }; 378 }; // End of "Function" section 379 380 key.shape= "NORM"; 381 section "Alpha" { 382 top= 10; 383 row { 384 top= 1; 385 keys { {<TLDE>, "DEGR"}, 386 <AE01>, <AE02>, <AE03>, <AE04>, 387 <AE05>, <AE06>, <AE07>, <AE08>, 388 <AE09>, <AE10>, <AE11>, <AE12>, 389 { <BKSP>, "BKSP" } 390 }; 391 }; 392 row { 393 top= 20; 394 keys { { <TAB>, "TABK"}, 395 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 396 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 397 <AD11>, <AD12>, 398 { <BKSL>, "BKSL" } 399 }; 400 }; 401 row { 402 top= 39; 403 keys { { <CAPS>, "CAPS" }, 404 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 405 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 406 <AC11>, 407 { <RTRN>, "RTRN" } 408 }; 409 }; 410 row { 411 top= 58; 412 keys { { <LFSH>, "LFSH"}, 413 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 414 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 415 { <RTSH>, "RTSH" } 416 }; 417 }; 418 row { 419 top= 77; 420 keys { {<FN>, "DEGR"}, 421 <LCTL>, <LALT>, 422 {<LMTA>, "APPL"}, 423 {<SPCE>, "SPCE" }, 424 {<RMTA>, "APPL"}, 425 <KPEN> 426 }; 427 }; 428 429 }; // End of "Alpha" section 430 431 key.shape= "ARRO"; 432 section "Editing" { 433 top = 86; 434 left = 217; 435 row { 436 top= 1; 437 left= 19; 438 keys { <UP> }; 439 }; 440 row { 441 top= 10; 442 keys { <LEFT>, <DOWN>, <RGHT> }; 443 }; 444 }; // End of "Editing" section 445 446 alias <AC00> = <CAPS>; 447 alias <AA00> = <LCTL>; 448 449}; 450 451xkb_geometry "macbook79" { 452 453 description= "Apple Laptop 79-key (Intl)"; 454 width= 273; 455 height= 110; 456 457 shape.cornerRadius= 0; 458 shape "ESC" { { [ 21,9] }, cornerRadius=1, { [0,1], [ 19,8] } }; 459 shape "FUNC" { { [ 18,9] }, cornerRadius=1, { [2,1], [ 16,8] } }; 460 shape "EJCT" { { [ 20,9] }, cornerRadius=1, { [2,1], [ 20,8] } }; 461 shape "DEGR" { { [ 16,18] }, cornerRadius=1, { [0,2], [ 14,16] } }; 462 shape "NORM" { { [ 18,18] }, cornerRadius=1, { [2,2], [ 16,16] } }; 463 shape "BKSP" { { [ 25,18] }, cornerRadius=1, { [2,2], [ 25,16] } }; 464 shape "TABK" { { [ 24,18] }, cornerRadius=1, { [0,2], [ 22,16] } }; 465 shape "RTRN" { { [ 0,0], [17,0], [17,37], [5,37], [5, 18], [0,18], [0,0] }, 466 cornerRadius=1, 467 { [ 2,2], [15,2], [15,35], [7,35], [7, 16], [2,16] } 468 }; 469 shape "CAPS" { { [ 29,18] }, cornerRadius=1, { [0,2], [ 27,16] } }; 470 shape "LFSH" { { [ 21,18] }, cornerRadius=1, { [0,2], [ 19,16] } }; 471 shape "RTSH" { { [ 39,18] }, cornerRadius=1, { [2,2], [ 39,16] } }; 472 shape "APPL" { { [ 23,18] }, cornerRadius=1, { [2,2], [ 21,16] } }; 473 shape "SPCE" { { [ 94,18] }, cornerRadius=1, { [2,2], [ 92,16] } }; 474 shape "ARRO" { { [ 17,9] }, cornerRadius=1, { [2,1], [ 15,8] } }; 475 476 shape "LED" { cornerRadius= 1, { [ 2, 2 ] } }; 477 478 indicator.onColor= "green"; 479 indicator.offColor= "gray"; 480 indicator.shape= "LED"; 481 indicator "Num Lock" { top=4; left= 119; }; 482 indicator "Caps Lock" { top=53; left= 4; }; 483 484 section.left=0; 485 row.left= 1; 486 key.shape= "FUNC"; 487 key.gap= 1; 488 section "Function" { 489 top= 0; 490 row { 491 top= 1; 492 keys { {<ESC>, "ESC" }, 493 <FK01>, <FK02>, <FK03>, <FK04>, 494 <FK05>, <FK06>, <FK07>, <FK08>, 495 <FK09>, <FK10>, <FK11>, <FK12>, 496 {<K6C>, "EJCT" } 497 }; 498 }; 499 }; // End of "Function" section 500 501 key.shape= "NORM"; 502 section "Alpha" { 503 top= 10; 504 row { 505 top= 1; 506 keys { {<TLDE>, "DEGR"}, 507 <AE01>, <AE02>, <AE03>, <AE04>, 508 <AE05>, <AE06>, <AE07>, <AE08>, 509 <AE09>, <AE10>, <AE11>, <AE12>, 510 { <BKSP>, "BKSP" } 511 }; 512 }; 513 row { 514 top= 20; 515 keys { { <TAB>, "TABK"}, 516 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 517 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 518 <AD11>, <AD12>, { <RTRN>, "RTRN" } 519 }; 520 }; 521 row { 522 top= 39; 523 keys { { <CAPS>, "CAPS" }, 524 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 525 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 526 <AC11>, <BKSL> 527 }; 528 }; 529 row { 530 top= 58; 531 keys { { <LFSH>, "LFSH"}, 532 <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 533 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 534 { <RTSH>, "RTSH" } 535 }; 536 }; 537 row { 538 top= 77; 539 keys { {<FN>, "DEGR"}, 540 <LCTL>, <LALT>, 541 {<LWIN>, "APPL"}, 542 {<SPCE>, "SPCE" }, 543 {<RALT>, "APPL"}, 544 <KPEN> 545 }; 546 }; 547 548 }; // End of "Alpha" section 549 550 key.shape= "ARRO"; 551 section "Editing" { 552 top = 86; 553 left = 217; 554 row { 555 top= 1; 556 left= 19; 557 keys { <UP> }; 558 }; 559 row { 560 top= 10; 561 keys { <LEFT>, <DOWN>, <RGHT> }; 562 }; 563 }; // End of "Editing" section 564 565 alias <AC00> = <CAPS>; 566 alias <AA00> = <LCTL>; 567 568}; // End of "default" geometry 569 570 571// Aluminium Keyboard, ANSI model (United States, 109 keys) 572xkb_geometry "applealu_ansi" { 573 574 width= 430; 575 height= 113.5; 576 577 baseColor= "white"; 578 labelColor= "black"; 579 xfont= "-*-helvetica-medium-r-normal--*-80-*-*-*-*-iso8859-1"; 580 description= "Aluminium Keyboard (ANSI)"; 581 582 shape "NORM" { 583 corner= 1, 584 { [ 15.5, 15 ] } 585 }; 586 shape "FUNC" { 587 corner= 1, 588 { [ 16.1, 9 ] } 589 }; 590 shape "FUNS" { 591 corner= 1, 592 { [ 15.5, 9 ] } 593 }; 594 shape "BKSP" { 595 corner= 1, 596 { [ 24.5, 15 ] } 597 }; 598 shape "TAB" { 599 corner= 1, 600 { [ 24.5, 15 ] } 601 }; 602 shape "RTRN" { 603 corner= 1, 604 { [ 29.5, 15 ] } 605 }; 606 shape "CAPS" { 607 corner= 1, 608 { [ 29.5, 15 ] } 609 }; 610 shape "LCTL" { 611 corner= 1, 612 { [ 25, 18 ] } 613 }; 614 shape "LALT" { 615 corner= 1, 616 { [ 20, 18 ] } 617 }; 618 shape "LMTA" { 619 corner= 1, 620 { [ 25, 18 ] } 621 }; 622 shape "LFSH" { 623 corner= 1, 624 { [ 39, 15 ] } 625 }; 626 shape "RCTL" { 627 corner= 1, 628 { [ 25, 18 ] } 629 }; 630 shape "RALT" { 631 corner= 1, 632 { [ 20, 18 ] } 633 }; 634 shape "RMTA" { 635 corner= 1, 636 { [ 25, 18 ] } 637 }; 638 shape "RTSH" { 639 corner= 1, 640 { [ 39, 15 ] } 641 }; 642 shape "SPCE" { 643 corner= 1, 644 { [ 110.5, 18 ] } 645 }; 646 shape "KP0" { 647 corner= 1, 648 { [ 34.5, 18 ] } 649 }; 650 shape "KPEN" { 651 corner= 1, 652 { [ 15.5, 36.5 ] } 653 }; 654 shape "KPDT" { 655 corner= 1, 656 { [ 15.5, 18 ] } 657 }; 658 shape "LED" { 659 corner= 0.5, 660 { [ 1.5, 1.5 ] } 661 }; 662 663 section "Function" { 664 key.color= "white"; 665 priority= 7; 666 top= 4.5; 667 left= 4.7; 668 width= 420.5; 669 height= 10; 670 row { 671 top= 0; 672 left= 0; 673 keys { 674 { <ESC>, "FUNC", 0 }, { <FK01>, "FUNC", 3.6 }, 675 { <FK02>, "FUNC", 3.5 }, { <FK03>, "FUNC", 3.6 }, 676 { <FK04>, "FUNC", 3.5 }, { <FK05>, "FUNC", 3.6 }, 677 { <FK06>, "FUNC", 3.5 }, { <FK07>, "FUNC", 3.6 }, 678 { <FK08>, "FUNC", 3.5 }, { <FK09>, "FUNC", 3.6 }, 679 { <FK10>, "FUNC", 3.5 }, { <FK11>, "FUNC", 3.6 }, 680 { <FK12>, "FUNC", 3.5 }, { <I169>, "FUNC", 3.5 }, 681 { <FK13>, "FUNS", 11.5 }, { <FK14>, "FUNS", 3.5 }, 682 { <FK15>, "FUNS", 3.5 }, { <FK16>, "FUNS", 11.5 }, 683 { <FK17>, "FUNS", 3.5 }, { <FK18>, "FUNS", 3.5 }, 684 { <FK19>, "FUNS", 3.5 } 685 }; 686 }; 687 }; // End of "Function" section 688 689 section "Alpha" { 690 key.color= "white"; 691 priority= 8; 692 top= 17; 693 left= 5; 694 width= 271.5; 695 height= 92; 696 row { 697 top= 0; 698 left= 0; 699 keys { 700 { <TLDE>, "NORM", 0 }, { <AE01>, "NORM", 3.5 }, 701 { <AE02>, "NORM", 3.5 }, { <AE03>, "NORM", 3.5 }, 702 { <AE04>, "NORM", 3.5 }, { <AE05>, "NORM", 3.5 }, 703 { <AE06>, "NORM", 3.5 }, { <AE07>, "NORM", 3.5 }, 704 { <AE08>, "NORM", 3.5 }, { <AE09>, "NORM", 3.5 }, 705 { <AE10>, "NORM", 3.5 }, { <AE11>, "NORM", 3.5 }, 706 { <AE12>, "NORM", 3.5 }, { <BKSP>, "BKSP", 3.5 } 707 }; 708 }; 709 row { 710 top= 18.5; 711 left= 0; 712 keys { 713 { <TAB>, "TAB", 0 }, { <AD01>, "NORM", 3.5 }, 714 { <AD02>, "NORM", 3.5 }, { <AD03>, "NORM", 3.5 }, 715 { <AD04>, "NORM", 3.5 }, { <AD05>, "NORM", 3.5 }, 716 { <AD06>, "NORM", 3.5 }, { <AD07>, "NORM", 3.5 }, 717 { <AD08>, "NORM", 3.5 }, { <AD09>, "NORM", 3.5 }, 718 { <AD10>, "NORM", 3.5 }, { <AD11>, "NORM", 3.5 }, 719 { <AD12>, "NORM", 3.5 }, { <BKSL>, "NORM", 3.5 } 720 721 }; 722 }; 723 row { 724 top= 37; 725 left= 0; 726 keys { 727 { <CAPS>, "CAPS", 0 }, { <AC01>, "NORM", 3.5 }, 728 { <AC02>, "NORM", 3.5 }, { <AC03>, "NORM", 3.5 }, 729 { <AC04>, "NORM", 3.5 }, { <AC05>, "NORM", 3.5 }, 730 { <AC06>, "NORM", 3.5 }, { <AC07>, "NORM", 3.5 }, 731 { <AC08>, "NORM", 3.5 }, { <AC09>, "NORM", 3.5 }, 732 { <AC10>, "NORM", 3.5 }, { <AC11>, "NORM", 3.5 }, 733 { <RTRN>, "RTRN", 3.5 } 734 }; 735 }; 736 row { 737 top= 55.5; 738 left= 0; 739 keys { 740 { <LFSH>, "LFSH", 0 }, 741 { <AB01>, "NORM", 3.5 }, { <AB02>, "NORM", 3.5 }, 742 { <AB03>, "NORM", 3.5 }, { <AB04>, "NORM", 3.5 }, 743 { <AB05>, "NORM", 3.5 }, { <AB06>, "NORM", 3.5 }, 744 { <AB07>, "NORM", 3.5 }, { <AB08>, "NORM", 3.5 }, 745 { <AB09>, "NORM", 3.5 }, { <AB10>, "NORM", 3.5 }, 746 { <RTSH>, "RTSH", 3.5 } 747 }; 748 }; 749 row { 750 top= 74; 751 left= 0; 752 keys { 753 { <LCTL>, "LCTL", 0 }, { <LALT>, "LALT", 3.5 }, 754 { <LMTA>, "LMTA", 3.5 }, { <SPCE>, "SPCE", 3.5 }, 755 { <RMTA>, "RMTA", 3.5 }, { <RALT>, "RALT", 3.5 }, 756 { <RCTL>, "RCTL", 3.5 } 757 }; 758 }; 759 }; // End of "Alpha" section 760 761 section "Editing" { 762 key.color= "white"; 763 priority= 9; 764 top= 17; 765 left= 287.7; 766 width= 53.5; 767 height= 92; 768 row { 769 top= 0; 770 left= 0; 771 keys { 772 { <INS>, "NORM", 0 }, { <HOME>, "NORM", 3.5 }, 773 { <PGUP>, "NORM", 3.5 } 774 }; 775 }; 776 row { 777 top= 18.5; 778 left= 0; 779 keys { 780 { <DELE>, "NORM", 0 }, { <END>, "NORM", 3.5 }, 781 { <PGDN>, "NORM", 3.5 } 782 }; 783 }; 784 row { 785 top= 58.5; 786 left= 19; 787 keys { 788 { <UP>, "NORM", 0 } 789 }; 790 }; 791 row { 792 top= 77; 793 left= 0; 794 keys { 795 { <LEFT>, "NORM", 0 }, { <DOWN>, "NORM", 3.5 }, 796 { <RGHT>, "NORM", 3.5 } 797 }; 798 }; 799 }; // End of "Editing" section 800 801 section "Keypad" { 802 key.color= "white"; 803 priority= 10; 804 top= 17; 805 left= 352.7; 806 width= 72.5; 807 height= 92; 808 row { 809 top= 0; 810 left= 0; 811 keys { 812 { <NMLK>, "NORM", 0 }, { <KPEQ>, "NORM", 3.5 }, 813 { <KPDV>, "NORM", 3.5 }, { <KPMU>, "NORM", 3.5 } 814 }; 815 }; 816 row { 817 top= 18.5; 818 left= 0; 819 keys { 820 { <KP7>, "NORM", 0 }, { <KP8>, "NORM", 3.5 }, 821 { <KP9>, "NORM", 3.5 }, { <KPSU>, "NORM", 3.5 } 822 }; 823 }; 824 row { 825 top= 37; 826 left= 0; 827 keys { 828 { <KP4>, "NORM", 0 }, { <KP5>, "NORM", 3.5 }, 829 { <KP6>, "NORM", 3.5 }, { <KPAD>, "NORM", 3.5 } 830 }; 831 }; 832 row { 833 top= 55.5; 834 left= 0; 835 keys { 836 { <KP1>, "NORM", 0 }, { <KP2>, "NORM", 3.5 }, 837 { <KP3>, "NORM", 3.5 }, { <KPEN>, "KPEN", 3.5 } 838 }; 839 }; 840 row { 841 top= 74; 842 left= 0; 843 keys { 844 { <KP0>, "KP0", 0 }, { <KPDL>, "KPDT", 3.5 } 845 }; 846 }; 847 }; // End of "Keypad" section 848 849 indicator "Caps Lock" { 850 top= 56; 851 left= 6.7; 852 priority= 2; 853 onColor= "green"; 854 offColor= "gray"; 855 shape= "LED"; 856 }; 857 858}; 859 860// Aluminium Keyboard, ISO model (International, 110 keys) 861xkb_geometry "applealu_iso" { 862 863 width= 430; 864 height= 113.5; 865 866 baseColor= "white"; 867 labelColor= "black"; 868 xfont= "-*-helvetica-medium-r-normal--*-80-*-*-*-*-iso8859-1"; 869 description= "Aluminium Keyboard (ISO)"; 870 871 shape "NORM" { 872 corner= 1, 873 { [ 15.5, 15 ] } 874 }; 875 shape "FUNC" { 876 corner= 1, 877 { [ 16.1, 9 ] } 878 }; 879 shape "FUNS" { 880 corner= 1, 881 { [ 15.5, 9 ] } 882 }; 883 shape "BKSP" { 884 corner= 1, 885 { [ 24.5, 15 ] } 886 }; 887 shape "TAB" { 888 corner= 1, 889 { [ 24.5, 15 ] } 890 }; 891 shape "RTRN" { 892 corner= 1, 893 { [ 0, 0 ], [ 15.5 , 0 ], [ 15.5 , 33.5 ], [ 5, 33.5 ], 894 [ 5, 15 ], [ 0, 15 ] } 895 }; 896 shape "CAPS" { 897 corner= 1, 898 { [ 29.5, 15 ] } 899 }; 900 shape "LCTL" { 901 corner= 1, 902 { [ 25, 18 ] } 903 }; 904 shape "LALT" { 905 corner= 1, 906 { [ 20, 18 ] } 907 }; 908 shape "LMTA" { 909 corner= 1, 910 { [ 25, 18 ] } 911 }; 912 shape "LFSH" { 913 corner= 1, 914 { [ 20, 15 ] } 915 }; 916 shape "RCTL" { 917 corner= 1, 918 { [ 25, 18 ] } 919 }; 920 shape "RALT" { 921 corner= 1, 922 { [ 20, 18 ] } 923 }; 924 shape "RMTA" { 925 corner= 1, 926 { [ 25, 18 ] } 927 }; 928 shape "RTSH" { 929 corner= 1, 930 { [ 39, 15 ] } 931 }; 932 shape "SPCE" { 933 corner= 1, 934 { [ 110.5, 18 ] } 935 }; 936 shape "KP0" { 937 corner= 1, 938 { [ 34.5, 18 ] } 939 }; 940 shape "KPEN" { 941 corner= 1, 942 { [ 15.5, 36.5 ] } 943 }; 944 shape "KPDT" { 945 corner= 1, 946 { [ 15.5, 18 ] } 947 }; 948 shape "LED" { 949 corner= 0.5, 950 { [ 1.5, 1.5 ] } 951 }; 952 953 section "Function" { 954 key.color= "white"; 955 priority= 7; 956 top= 4.5; 957 left= 4.7; 958 width= 420.5; 959 height= 10; 960 row { 961 top= 0; 962 left= 0; 963 keys { 964 { <ESC>, "FUNC", 0 }, { <FK01>, "FUNC", 3.6 }, 965 { <FK02>, "FUNC", 3.5 }, { <FK03>, "FUNC", 3.6 }, 966 { <FK04>, "FUNC", 3.5 }, { <FK05>, "FUNC", 3.6 }, 967 { <FK06>, "FUNC", 3.5 }, { <FK07>, "FUNC", 3.6 }, 968 { <FK08>, "FUNC", 3.5 }, { <FK09>, "FUNC", 3.6 }, 969 { <FK10>, "FUNC", 3.5 }, { <FK11>, "FUNC", 3.6 }, 970 { <FK12>, "FUNC", 3.5 }, { <I169>, "FUNC", 3.5 }, 971 { <FK13>, "FUNS", 11.5 }, { <FK14>, "FUNS", 3.5 }, 972 { <FK15>, "FUNS", 3.5 }, { <FK16>, "FUNS", 11.5 }, 973 { <FK17>, "FUNS", 3.5 }, { <FK18>, "FUNS", 3.5 }, 974 { <FK19>, "FUNS", 3.5 } 975 }; 976 }; 977 }; // End of "Function" section 978 979 section "Alpha" { 980 key.color= "white"; 981 priority= 8; 982 top= 17; 983 left= 5; 984 width= 271.5; 985 height= 92; 986 row { 987 top= 0; 988 left= 0; 989 keys { 990 { <TLDE>, "NORM", 0 }, { <AE01>, "NORM", 3.5 }, 991 { <AE02>, "NORM", 3.5 }, { <AE03>, "NORM", 3.5 }, 992 { <AE04>, "NORM", 3.5 }, { <AE05>, "NORM", 3.5 }, 993 { <AE06>, "NORM", 3.5 }, { <AE07>, "NORM", 3.5 }, 994 { <AE08>, "NORM", 3.5 }, { <AE09>, "NORM", 3.5 }, 995 { <AE10>, "NORM", 3.5 }, { <AE11>, "NORM", 3.5 }, 996 { <AE12>, "NORM", 3.5 }, { <BKSP>, "BKSP", 3.5 } 997 }; 998 }; 999 row { 1000 top= 18.5; 1001 left= 0; 1002 keys { 1003 { <TAB>, "TAB", 0 }, { <AD01>, "NORM", 3.5 }, 1004 { <AD02>, "NORM", 3.5 }, { <AD03>, "NORM", 3.5 }, 1005 { <AD04>, "NORM", 3.5 }, { <AD05>, "NORM", 3.5 }, 1006 { <AD06>, "NORM", 3.5 }, { <AD07>, "NORM", 3.5 }, 1007 { <AD08>, "NORM", 3.5 }, { <AD09>, "NORM", 3.5 }, 1008 { <AD10>, "NORM", 3.5 }, { <AD11>, "NORM", 3.5 }, 1009 { <AD12>, "NORM", 3.5 }, { <RTRN>, "RTRN", 3.5 } 1010 }; 1011 }; 1012 row { 1013 top= 37; 1014 left= 0; 1015 keys { 1016 { <CAPS>, "CAPS", 0 }, { <AC01>, "NORM", 3.5 }, 1017 { <AC02>, "NORM", 3.5 }, { <AC03>, "NORM", 3.5 }, 1018 { <AC04>, "NORM", 3.5 }, { <AC05>, "NORM", 3.5 }, 1019 { <AC06>, "NORM", 3.5 }, { <AC07>, "NORM", 3.5 }, 1020 { <AC08>, "NORM", 3.5 }, { <AC09>, "NORM", 3.5 }, 1021 { <AC10>, "NORM", 3.5 }, { <AC11>, "NORM", 3.5 }, 1022 { <BKSL>, "NORM", 3.5 } 1023 }; 1024 }; 1025 row { 1026 top= 55.5; 1027 left= 0; 1028 keys { 1029 { <LFSH>, "LFSH", 0 }, { <LSGT>, "NORM", 3.5 }, 1030 { <AB01>, "NORM", 3.5 }, { <AB02>, "NORM", 3.5 }, 1031 { <AB03>, "NORM", 3.5 }, { <AB04>, "NORM", 3.5 }, 1032 { <AB05>, "NORM", 3.5 }, { <AB06>, "NORM", 3.5 }, 1033 { <AB07>, "NORM", 3.5 }, { <AB08>, "NORM", 3.5 }, 1034 { <AB09>, "NORM", 3.5 }, { <AB10>, "NORM", 3.5 }, 1035 { <RTSH>, "RTSH", 3.5 } 1036 }; 1037 }; 1038 row { 1039 top= 74; 1040 left= 0; 1041 keys { 1042 { <LCTL>, "LCTL", 0 }, { <LALT>, "LALT", 3.5 }, 1043 { <LMTA>, "LMTA", 3.5 }, { <SPCE>, "SPCE", 3.5 }, 1044 { <RMTA>, "RMTA", 3.5 }, { <RALT>, "RALT", 3.5 }, 1045 { <RCTL>, "RCTL", 3.5 } 1046 }; 1047 }; 1048 }; // End of "Alpha" section 1049 1050 section "Editing" { 1051 key.color= "white"; 1052 priority= 9; 1053 top= 17; 1054 left= 287.7; 1055 width= 53.5; 1056 height= 92; 1057 row { 1058 top= 0; 1059 left= 0; 1060 keys { 1061 { <INS>, "NORM", 0 }, { <HOME>, "NORM", 3.5 }, 1062 { <PGUP>, "NORM", 3.5 } 1063 }; 1064 }; 1065 row { 1066 top= 18.5; 1067 left= 0; 1068 keys { 1069 { <DELE>, "NORM", 0 }, { <END>, "NORM", 3.5 }, 1070 { <PGDN>, "NORM", 3.5 } 1071 }; 1072 }; 1073 row { 1074 top= 58.5; 1075 left= 19; 1076 keys { 1077 { <UP>, "NORM", 0 } 1078 }; 1079 }; 1080 row { 1081 top= 77; 1082 left= 0; 1083 keys { 1084 { <LEFT>, "NORM", 0 }, { <DOWN>, "NORM", 3.5 }, 1085 { <RGHT>, "NORM", 3.5 } 1086 }; 1087 }; 1088 }; // End of "Editing" section 1089 1090 section "Keypad" { 1091 key.color= "white"; 1092 priority= 10; 1093 top= 17; 1094 left= 352.7; 1095 width= 72.5; 1096 height= 92; 1097 row { 1098 top= 0; 1099 left= 0; 1100 keys { 1101 { <NMLK>, "NORM", 0 }, { <KPEQ>, "NORM", 3.5 }, 1102 { <KPDV>, "NORM", 3.5 }, { <KPMU>, "NORM", 3.5 } 1103 }; 1104 }; 1105 row { 1106 top= 18.5; 1107 left= 0; 1108 keys { 1109 { <KP7>, "NORM", 0 }, { <KP8>, "NORM", 3.5 }, 1110 { <KP9>, "NORM", 3.5 }, { <KPSU>, "NORM", 3.5 } 1111 }; 1112 }; 1113 row { 1114 top= 37; 1115 left= 0; 1116 keys { 1117 { <KP4>, "NORM", 0 }, { <KP5>, "NORM", 3.5 }, 1118 { <KP6>, "NORM", 3.5 }, { <KPAD>, "NORM", 3.5 } 1119 }; 1120 }; 1121 row { 1122 top= 55.5; 1123 left= 0; 1124 keys { 1125 { <KP1>, "NORM", 0 }, { <KP2>, "NORM", 3.5 }, 1126 { <KP3>, "NORM", 3.5 }, { <KPEN>, "KPEN", 3.5 } 1127 }; 1128 }; 1129 row { 1130 top= 74; 1131 left= 0; 1132 keys { 1133 { <KP0>, "KP0", 0 }, { <KPDL>, "KPDT", 3.5 } 1134 }; 1135 }; 1136 }; // End of "Keypad" section 1137 1138 indicator "Caps Lock" { 1139 top= 56; 1140 left= 6.7; 1141 priority= 2; 1142 onColor= "green"; 1143 offColor= "gray"; 1144 shape= "LED"; 1145 }; 1146 1147}; 1148 1149// Aluminium Keyboard, JIS model (Japanese, 112 keys) 1150xkb_geometry "applealu_jis" { 1151 1152 width= 430; 1153 height= 113.5; 1154 1155 baseColor= "white"; 1156 labelColor= "black"; 1157 xfont= "-*-helvetica-medium-r-normal--*-80-*-*-*-*-iso8859-1"; 1158 description= "Aluminium Keyboard (JIS)"; 1159 1160 shape "NORM" { 1161 corner= 1, 1162 { [ 15.5, 15 ] } 1163 }; 1164 shape "FUNC" { 1165 corner= 1, 1166 { [ 16.1, 9 ] } 1167 }; 1168 shape "FUNS" { 1169 corner= 1, 1170 { [ 15.5, 9 ] } 1171 }; 1172 shape "KEY1" { 1173 corner= 1, 1174 { [ 24.5, 15 ] } 1175 }; 1176 shape "BKSP" { 1177 corner= 1, 1178 { [ 15.5, 15 ] } 1179 }; 1180 shape "TAB" { 1181 corner= 1, 1182 { [ 15.5, 15 ] } 1183 }; 1184 shape "RTRN" { 1185 corner= 1, 1186 { [ 0, 0 ], [ 24.5 , 0 ], [ 24.5 , 33.5 ], [ 4.5, 33.5 ], 1187 [ 4.5, 15 ], [ 0, 15 ] } 1188 }; 1189 shape "CAPS" { 1190 corner= 1, 1191 { [ 35, 18 ] } 1192 }; 1193 shape "LCTL" { 1194 corner= 1, 1195 { [ 20, 15 ] } 1196 }; 1197 shape "LALT" { 1198 corner= 1, 1199 { [ 27, 18 ] } 1200 }; 1201 shape "LMTA" { 1202 corner= 1, 1203 { [ 27, 18 ] } 1204 }; 1205 shape "LFSH" { 1206 corner= 1, 1207 { [ 29.5, 15 ] } 1208 }; 1209 shape "EISU" { 1210 corner= 1, 1211 { [ 20, 18 ] } 1212 }; 1213 shape "RCTL" { 1214 corner= 1, 1215 { [ 27, 18 ] } 1216 }; 1217 shape "RALT" { 1218 corner= 1, 1219 { [ 27, 18 ] } 1220 }; 1221 shape "RMTA" { 1222 corner= 1, 1223 { [ 27, 18 ] } 1224 }; 1225 shape "RTSH" { 1226 corner= 1, 1227 { [ 29.5, 15 ] } 1228 }; 1229 shape "KANA" { 1230 corner= 1, 1231 { [ 20, 18 ] } 1232 }; 1233 shape "SPCE" { 1234 corner= 1, 1235 { [ 64, 18 ] } 1236 }; 1237 shape "KPDT" { 1238 corner= 1, 1239 { [ 15.5, 18 ] } 1240 }; 1241 shape "KPEN" { 1242 corner= 1, 1243 { [ 15.5, 36.5 ] } 1244 }; 1245 shape "LED" { 1246 corner= 0.5, 1247 { [ 1.5, 1.5 ] } 1248 }; 1249 1250 section "Function" { 1251 key.color= "white"; 1252 priority= 7; 1253 top= 4.5; 1254 left= 4.7; 1255 width= 420.5; 1256 height= 10; 1257 row { 1258 top= 0; 1259 left= 0; 1260 keys { 1261 { <ESC>, "FUNC", 0 }, { <FK01>, "FUNC", 3.6 }, 1262 { <FK02>, "FUNC", 3.5 }, { <FK03>, "FUNC", 3.6 }, 1263 { <FK04>, "FUNC", 3.5 }, { <FK05>, "FUNC", 3.6 }, 1264 { <FK06>, "FUNC", 3.5 }, { <FK07>, "FUNC", 3.6 }, 1265 { <FK08>, "FUNC", 3.5 }, { <FK09>, "FUNC", 3.6 }, 1266 { <FK10>, "FUNC", 3.5 }, { <FK11>, "FUNC", 3.6 }, 1267 { <FK12>, "FUNC", 3.5 }, { <I169>, "FUNC", 3.5 }, 1268 { <FK13>, "FUNS", 11.5 }, { <FK14>, "FUNS", 3.5 }, 1269 { <FK15>, "FUNS", 3.5 }, { <FK16>, "FUNS", 11.5 }, 1270 { <FK17>, "FUNS", 3.5 }, { <FK18>, "FUNS", 3.5 }, 1271 { <FK19>, "FUNS", 3.5 } 1272 }; 1273 }; 1274 }; // End of "Function" section 1275 1276 section "Alpha" { 1277 key.color= "white"; 1278 priority= 8; 1279 top= 17; 1280 left= 5; 1281 width= 271.5; 1282 height= 92; 1283 row { 1284 top= 0; 1285 left= 0; 1286 keys { 1287 { <AE01>, "KEY1", 0 }, 1288 { <AE02>, "NORM", 3.5 }, { <AE03>, "NORM", 3.5 }, 1289 { <AE04>, "NORM", 3.5 }, { <AE05>, "NORM", 3.5 }, 1290 { <AE06>, "NORM", 3.5 }, { <AE07>, "NORM", 3.5 }, 1291 { <AE08>, "NORM", 3.5 }, { <AE09>, "NORM", 3.5 }, 1292 { <AE10>, "NORM", 3.5 }, { <AE11>, "NORM", 3.5 }, 1293 { <AE12>, "NORM", 3.5 }, { <AE13>, "NORM", 3.5 }, 1294 { <BKSP>, "BKSP", 3.5 } 1295 }; 1296 }; 1297 row { 1298 top= 18.5; 1299 left= 0; 1300 keys { 1301 { <TAB>, "TAB", 0 }, { <AD01>, "NORM", 3.5 }, 1302 { <AD02>, "NORM", 3.5 }, { <AD03>, "NORM", 3.5 }, 1303 { <AD04>, "NORM", 3.5 }, { <AD05>, "NORM", 3.5 }, 1304 { <AD06>, "NORM", 3.5 }, { <AD07>, "NORM", 3.5 }, 1305 { <AD08>, "NORM", 3.5 }, { <AD09>, "NORM", 3.5 }, 1306 { <AD10>, "NORM", 3.5 }, { <AD11>, "NORM", 3.5 }, 1307 { <AD12>, "NORM", 3.5 }, { <RTRN>, "RTRN", 3.5 } 1308 }; 1309 }; 1310 row { 1311 top= 37; 1312 left= 0; 1313 keys { 1314 { <LCTL>, "LCTL", 0 }, { <AC01>, "NORM", 3.5 }, 1315 { <AC02>, "NORM", 3.5 }, { <AC03>, "NORM", 3.5 }, 1316 { <AC04>, "NORM", 3.5 }, { <AC05>, "NORM", 3.5 }, 1317 { <AC06>, "NORM", 3.5 }, { <AC07>, "NORM", 3.5 }, 1318 { <AC08>, "NORM", 3.5 }, { <AC09>, "NORM", 3.5 }, 1319 { <AC10>, "NORM", 3.5 }, { <AC11>, "NORM", 3.5 }, 1320 { <AC12>, "NORM", 3.5 } 1321 }; 1322 }; 1323 row { 1324 top= 55.5; 1325 left= 0; 1326 keys { 1327 { <LFSH>, "LFSH", 0 }, 1328 { <AB01>, "NORM", 3.5 }, { <AB02>, "NORM", 3.5 }, 1329 { <AB03>, "NORM", 3.5 }, { <AB04>, "NORM", 3.5 }, 1330 { <AB05>, "NORM", 3.5 }, { <AB06>, "NORM", 3.5 }, 1331 { <AB07>, "NORM", 3.5 }, { <AB08>, "NORM", 3.5 }, 1332 { <AB09>, "NORM", 3.5 }, { <AB10>, "NORM", 3.5 }, 1333 { <AB11>, "NORM", 3.5 }, { <RTSH>, "RTSH", 3.5 } 1334 }; 1335 }; 1336 row { 1337 top= 74; 1338 left= 0; 1339 keys { 1340 { <LALT>, "LALT", 0 }, { <LMTA>, "LMTA", 3.5 }, 1341 { <EISU>, "EISU", 3.5 }, { <SPCE>, "SPCE", 3.5 }, 1342 { <KANA>, "KANA", 3.5 }, { <RMTA>, "RMTA", 3.5 }, 1343 { <RALT>, "RALT", 3.5 }, { <CAPS>, "CAPS", 3.5 } 1344 }; 1345 }; 1346 }; // End of "Alpha" section 1347 1348 section "Editing" { 1349 key.color= "white"; 1350 priority= 9; 1351 top= 17; 1352 left= 287.7; 1353 width= 53.5; 1354 height= 92; 1355 row { 1356 top= 0; 1357 left= 0; 1358 keys { 1359 { <INS>, "NORM", 0 }, { <HOME>, "NORM", 3.5 }, 1360 { <PGUP>, "NORM", 3.5 } 1361 }; 1362 }; 1363 row { 1364 top= 18.5; 1365 left= 0; 1366 keys { 1367 { <DELE>, "NORM", 0 }, { <END>, "NORM", 3.5 }, 1368 { <PGDN>, "NORM", 3.5 } 1369 }; 1370 }; 1371 row { 1372 top= 58.5; 1373 left= 19; 1374 keys { 1375 { <UP>, "NORM", 0 } 1376 }; 1377 }; 1378 row { 1379 top= 77; 1380 left= 0; 1381 keys { 1382 { <LEFT>, "NORM", 0 }, { <DOWN>, "NORM", 3.5 }, 1383 { <RGHT>, "NORM", 3.5 } 1384 }; 1385 }; 1386 }; // End of "Editing" section 1387 1388 section "Keypad" { 1389 key.color= "white"; 1390 priority= 10; 1391 top= 17; 1392 left= 352.7; 1393 width= 72.5; 1394 height= 92; 1395 row { 1396 top= 0; 1397 left= 0; 1398 keys { 1399 { <NMLK>, "NORM", 0 }, { <KPEQ>, "NORM", 3.5 }, 1400 { <KPDV>, "NORM", 3.5 }, { <KPMU>, "NORM", 3.5 } 1401 }; 1402 }; 1403 row { 1404 top= 18.5; 1405 left= 0; 1406 keys { 1407 { <KP7>, "NORM", 0 }, { <KP8>, "NORM", 3.5 }, 1408 { <KP9>, "NORM", 3.5 }, { <KPSU>, "NORM", 3.5 } 1409 }; 1410 }; 1411 row { 1412 top= 37; 1413 left= 0; 1414 keys { 1415 { <KP4>, "NORM", 0 }, { <KP5>, "NORM", 3.5 }, 1416 { <KP6>, "NORM", 3.5 }, { <KPAD>, "NORM", 3.5 } 1417 }; 1418 }; 1419 row { 1420 top= 55.5; 1421 left= 0; 1422 keys { 1423 { <KP1>, "NORM", 0 }, { <KP2>, "NORM", 3.5 }, 1424 { <KP3>, "NORM", 3.5 }, { <KPEN>, "KPEN", 3.5 } 1425 }; 1426 }; 1427 row { 1428 top= 74; 1429 left= 0; 1430 keys { 1431 { <KP0>, "KPDT", 0 }, { <JPCM>, "KPDT", 3.5 }, 1432 { <KPDL>, "KPDT", 3.5 } 1433 }; 1434 }; 1435 }; // End of "Keypad" section 1436 1437 indicator "Caps Lock" { 1438 top= 93; 1439 left= 273.2; 1440 priority= 2; 1441 onColor= "green"; 1442 offColor= "gray"; 1443 shape= "LED"; 1444 }; 1445 1446}; 1447