This release fixes the package installation issue due to breaking changes in Poetry 2.0. (If you really need a backport of the fix to previous versions, let me know.)
Features
- Add a logging mechanism and a debug flag
keymap -d
to the CLI, where it prints debug-level logs to the stderr by default
Drawing
- Add
left
andright
key fields, to draw on left and right side of the key.- Also add new aliases
top
andbottom
forshifted
andheld
respectively. - Initial implementation contributed by @magicDGS
- Also add new aliases
- Add automatic line breaking based on word boundaries
- Line breaking using spaces is still respected, but additional line breaks can be added if line is too long
- Desired line length is controlled by
draw_config.shrink_wide_legends
, set to 0 to disable
Parsing
- Support
zmk,physical-layout
selections in ZMK keymaps'chosen
nodes, similar tozmk,matrix-transform
Fixes
- Fix package installation bug due to breaking change in Poetry 2.0, where
resources
files weren't installed when installing from a wheel (e.g. usingpip install
) - Fix validation of
draw_config
field in keymap YAML files
Misc
- Add
forager
physical layout
Full Changelog: v0.19.0...v0.20.0