urob / zmk-helpers

Convenience macros simplifying ZMK's keymap configuration
MIT License
235 stars 79 forks source link

Is there a command to preview the preprocessed code? #28

Closed Urie96 closed 10 months ago

Urie96 commented 10 months ago

I tried gcc -E corne.keymap but nothing happened

urob commented 10 months ago

Give pcpp --passthru-unfound-includes corne.keymap a try (install with pip if needed).

The option prevents it from complaining about missing zmk includes

Urie96 commented 10 months ago

Give pcpp --passthru-unfound-includes corne.keymap a try (install with pip if needed).

The option prevents it from complaining about missing zmk includes

It works. Thank you so much!