504 | | local keyboardLayouts = [ Glob $(keyboardLayoutsDir) : [^.]* ] ; |
505 | | AddFilesToHaikuImage system data KeyboardLayouts : $(keyboardLayouts) ; |
| 505 | local keyboardLayoutFiles = |
| 506 | "Generic 104-key" |
| 507 | "Generic 105-key International" |
| 508 | "IBM Laptop International" |
| 509 | "Kinesis Advantage" |
| 510 | "Kinesis Ergo Elan International" |
| 511 | "TypeMatrix 2030" ; |
| 512 | keyboardLayoutFiles = $(keyboardLayoutFiles:G=keyboard-layout) ; |
| 513 | SEARCH on $(keyboardLayoutFiles) = $(keyboardLayoutsDir) ; |
| 514 | AddFilesToHaikuImage system data KeyboardLayouts |
| 515 | : $(keyboardLayoutFiles) ; |
| 516 | |
| 517 | # Add Apple Aluminum keyboard layout files to the image in an Apple Aluminum |
| 518 | # subdirectory. The subdirectory is turned into a submenu in the Layout menu |
| 519 | # of the Keymap preference app. |
| 520 | local appleAluminumFiles = |
| 521 | "Apple Aluminium Extended International" |
| 522 | "Apple Aluminium International" |
| 523 | "Apple Aluminum (US)" |
| 524 | "Apple Aluminum Extended (US)" ; |
| 525 | appleAluminumFiles = $(appleAluminumFiles:G=keyboard-layout) ; |
| 526 | SEARCH on $(appleAluminumFiles) = $(keyboardLayoutsDir) ; |
| 527 | AddFilesToHaikuImage system data KeyboardLayouts Apple\ Aluminum |
| 528 | : $(appleAluminumFiles) ; |