mirror of
https://xff.cz/git/pinephone-keyboard
synced 2024-12-22 21:08:48 -05:00
Build kmap.h as part of a build process
This commit is contained in:
parent
dba6fb37c1
commit
a6f823612a
@ -1,3 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
php map-to-c.php factory-keymap.txt > kmap.h
|
||||||
gcc -o ppkbd main.c || exit 1
|
gcc -o ppkbd main.c || exit 1
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$pmap = file_get_contents("physical-map.txt");
|
$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
|
// high nibble = row, low nibble col
|
||||||
$el_phys_map = [];
|
$el_phys_map = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user