Build kmap.h as part of a build process
This commit is contained in:
parent
dba6fb37c1
commit
a6f823612a
@ -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 New Issue
Block a user