Skip to content

fix(mod-morph): Only mask/clear mods when mod-morph is configured to do so - #3488

Open
urob wants to merge 2 commits into
zmkfirmware:mainfrom
urob:fix-mod-morph
Open

fix(mod-morph): Only mask/clear mods when mod-morph is configured to do so#3488
urob wants to merge 2 commits into
zmkfirmware:mainfrom
urob:fix-mod-morph

Conversation

@urob

@urob urob commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

This fixes a small inconsistency in mod-morph which currently always applies and clears the mod mask, even when configured not to mask anything. This matters in interaction with other mod-morph instances or other behaviors that modify the mod mask (example: #3161 (comment)). The fix adds a small conditional so that the mod mask is only set when cfg->masked_mods is.

@urob
urob requested a review from a team as a code owner August 28, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant