Remaining DD keymap_extras migration (#19110)

* Parse headers to data

* Regen headers from data
This commit is contained in:
Joel Challis 2022-12-21 23:35:23 +00:00 committed by GitHub
parent 89b72017a0
commit e5721bbd37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
133 changed files with 27668 additions and 4679 deletions

8
util/lang_gen.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
for lang in $(find data/constants/keycodes/extras/ -type f -printf "%f\n" | sed "s/keycodes_//g" | sed "s/_[0-9].*//"); do
data=$(qmk generate-keycode-extras --version latest --lang $lang)
if [ "$?" == "0" ]; then
echo "$data" > quantum/keymap_extras/keymap_$lang.h
fi
done