mirror of
https://xff.cz/git/pinephone-keyboard/
synced 2024-11-09 22:15:42 +01:00
Build kmap.h as part of a build process
This commit is contained in:
parent
dba6fb37c1
commit
a6f823612a
2 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
php map-to-c.php factory-keymap.txt > kmap.h
|
||||
gcc -o ppkbd main.c || exit 1
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*/
|
||||
|
||||
$pmap = file_get_contents("physical-map.txt");
|
||||
$kmap = file_get_contents("factory-keymap.txt");
|
||||
$kmap = file_get_contents($argv[1]);
|
||||
|
||||
// high nibble = row, low nibble col
|
||||
$el_phys_map = [];
|
||||
|
|
Loading…
Reference in a new issue