Closed iicurtis closed 3 years ago
+1
Since this was opened we have introduced the qmk info
command, which will show you a graphical representation of the layout if given a -l
flag, and will show you the matrix locations if given the -m
flag. You can build on this if you want to include it in your own keymap.
An example:
You can also use keymap.json
instead of keymap.c
. You can create/edit these files in QMK Configurator which gives you a nice way to both visualize and edit your keymap. We are actively working on adding support for more features and custom code to JSON keymaps.
We currently have almost 1500 keyboards in QMK Firmware. That extrapolates out into thousands, maybe tens of thousands, of keymaps. The likelyhood of someone creating hand-crafted ascii art for all of those keymaps is small.
There are lots of good
keymap.c
files in the qmk_firmware repo. Many of them, such as the redox keyboard, or the ergodox have nice graphically readable keyboard layouts in them. I think that it would be awesome to have a human readable keymap.c file that used the keyboard layout either in a full comment block like the ergodox keymapsor in a comment/code block like the redox uses.
There are already tools out there for this, such as the keymapviz project.