qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
18.24k stars 39.32k forks source link

KLE (keyboard-layout-editor.com) code generation from keymap.c #17004

Closed mnesarco closed 2 years ago

mnesarco commented 2 years ago

I have published a KLE generator for keymaps. It is based on my previous generator for KMonad. It is a simple python script that parse layers and some comments in your keymap file and generates the code required for visualization in KLE.

example_output

I know that everyone is moving to VIA now to create keymaps, but this can be useful for someone who wants to go in the opposite direction.

Here is the code: https://github.com/mnesarco/qmk_kle

tzarc commented 2 years ago

Nice.

I know that everyone is moving to VIA now to create keymaps

Not really, VIA is all but dead at this point. There's just no simple viable (heh) alternative... yet.