v0.18.0: ZMK modules support and layer key styling #109
caksoylar
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This release adds support for parsing ZMK configs that use modules like zmk-helpers with additional config options, along with adding special styling to layer key legends and making them clickable.
Edit:
zmk-helpers
now have docs on usingkeymap-drawer
with it using below changes.Features
Drawing
Breaking change: Add new config option
draw_config.style_layer_activators
which defaults to true. This marks layer activators legends by adding a link that goes to the corresponding layer (might not work for embedded SVGs), and adding an underline by default.draw_config: { style_layer_activators: false }
Add a new CSS class
alternate
so you can define separate styling for extra activators marked by theparse_config.mark_alternate_layer_activators
config (no styling defined by default) (Feature request: Display multiple keys that could activate a layer #98)Add
hidden
property to the combo spec, so you can avoid drawing certain combos that the parser outputs by addinghidden: true
(for instance throughparse_config.zmk_combos
) (Feature request: toggle rendering inComboSpec
#104)Support using underscore instead of space as split separator for the cols+thumbs notation spec in order to reduce command line quoting issues
keymap draw -n 33333+2_3+233331 my_asymmetric_keymap.yaml
Implement support for
layout_aliases
inqmk_keyboard
physical layout definitionsParsing
parse_config.zmk_additional_includes
to augment the preprocessor include path (allow additional includes to be specified in the parse config #105)zmk-helpers
using the module functionality, since#include
s aren't using relative paths in that case. Example:west_config_path
argument to the workflow (Feature/add west config path to workflow #107) so that the modules defined in thewest.yml
file are automatically fetched. (You still need the above value in the config.) Example:parse_config.zmk_preamble
config option which is text inserted at the beginning of the keymap, usually used to modify preprocessor behavior. It defaults to#define KEYMAP_DRAWER
(Allow me to pass custom preprocessor flags to the "keymap" CLI #103)LC(LEFT)
inparse_config.*_keycode_map
that was removed in v0.16 (Bug(?):LS(LC(LALT))
type mappings inzmk_keycode_map
stopped working #106)Fixes
<...>, <...>;
blocks (Can't map "&rgb_ug RGB_COLOR_HSB(0, 0, 60)" using "raw_binding_map" on the config #102)Misc
hummingbird
keyboardfingerpunch/ffkb
andrufous
, change the default physical layout to avoid all keys being rotated. This should improve readability by sacrificing faithfulness to the actual layoutfingerpunch/ffkb_rotated
andrufous_rotated
Full Changelog: v0.17.0...v0.18.0
This discussion was created from the release v0.18.0: ZMK modules support and layer key styling.
Beta Was this translation helpful? Give feedback.
All reactions