MrMarble / zmk-viewer

cli tool to generate preview images from a zmk .keymap file
MIT License
135 stars 7 forks source link

Is this the expected output? #15

Open MikiVanousek opened 1 year ago

MikiVanousek commented 1 year ago

Not so much an issue, as a discussion.

I used this script to generate my keyboard layout. I have a custom keyboard, that is not part of ZMK by default. I ran:

./zmk-viewer generate -u -f prototype-config/config/prototype.keymap -l zmk/prototype/info.json cradio -o ./keymap_pictures

I got this: image As you can see, it is not very readable. I do have 4 layers, but that isn't too much, is it?

My keyboard has nothing to do with cradio. I just used it as a placeholder. The generated image looks more like my keyboard than cradio, I believe, thanks to the info.json.

MrMarble commented 1 year ago

Hi, currently it is the expected output, I'm aware of the text overlay, but I'm not sure about how to solve it, maybe using the symbols instead of the name...

There's the option to generate a different image for each layer, "solving" this issue, but I agree this needs a real solution