Ciantic / keymapceditor

Preview and edit the QMK Firmware keymap.c files from a GUI
http://ciantic.github.io/keymapceditor/
MIT License
45 stars 18 forks source link

Doesn't work with Let's Split #7

Closed LazaroFilm closed 3 years ago

LazaroFilm commented 3 years ago

I tried to load the Let's Split layout and I get an error both on VS Code and the Browser version. This keymap.c has different amount of keys than in a chosen keyboard Missing token at: 2032

Ciantic commented 3 years ago

Do you use \ at the end of code line? Sometimes the layout you give is not parseable because my parser is not C compliant, one of things is escaping. It can't handle new line escaping.

Ciantic commented 3 years ago

Remove these:

image

Ant it will work, you can try it here: http://ciantic.github.io/keymapceditor/#lets_split||https%3A%2F%2Fraw.githubusercontent.com%2Fqmk%2Fqmk_firmware%2F91e8e8d916eca4fb9db69876d91d7987946cf540%2Fkeyboards%2Flets_split%2Fkeymaps%2Fdefault%2Fkeymap.c

The example file has same problem. Useless \ chars.