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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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-helpersnow have docs on usingkeymap-drawerwith it using below changes.Features
Drawing
Breaking change: Add new config option
draw_config.style_layer_activatorswhich 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
alternateso you can define separate styling for extra activators marked by theparse_config.mark_alternate_layer_activatorsconfig (no styling defined by default) (Feature request: Display multiple keys that could activate a layer #98)Add
hiddenproperty 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.yamlImplement support for
layout_aliasesinqmk_keyboardphysical layout definitionsParsing
parse_config.zmk_additional_includesto augment the preprocessor include path (allow additional includes to be specified in the parse config #105)zmk-helpersusing the module functionality, since#includes aren't using relative paths in that case. Example:west_config_pathargument to the workflow (Feature/add west config path to workflow #107) so that the modules defined in thewest.ymlfile are automatically fetched. (You still need the above value in the config.) Example:parse_config.zmk_preambleconfig 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_mapthat was removed in v0.16 (Bug(?):LS(LC(LALT))type mappings inzmk_keycode_mapstopped working #106)Fixes
<...>, <...>;blocks (Can't map "&rgb_ug RGB_COLOR_HSB(0, 0, 60)" using "raw_binding_map" on the config #102)Misc
hummingbirdkeyboardfingerpunch/ffkbandrufous, change the default physical layout to avoid all keys being rotated. This should improve readability by sacrificing faithfulness to the actual layoutfingerpunch/ffkb_rotatedandrufous_rotatedFull 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