fix(docs): ignore-modifiers clarification

* Clarify the potential need of adding the ignore-modifiers setting for new sticky key behaviors.
* Add ignore-modifiers setting to skq example
* Update docs/docs/behaviors/sticky-key.md

Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
This commit is contained in:
Josep Roca 2023-04-16 10:04:49 +03:00 committed by GitHub
parent f1b138cbf0
commit 71855af14f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ Some typists may find that using a sticky shift key interspersed with rapid typi
#### `ignore-modifiers` #### `ignore-modifiers`
This setting is enabled by default. It ensures that if a sticky key modifier is pressed before a previously pressed sticky key is released, the modifiers will get combined so you can add more sticky keys or press a regular key to apply the modifiers. This is to accommodate _callum-style mods_ where you are prone to rolling sticky keys. If you want sticky key modifiers to only chain after release, you can disable this setting. This setting is enabled by default. It ensures that if a sticky key modifier is pressed before a previously pressed sticky key is released, the modifiers will get combined so you can add more sticky keys or press a regular key to apply the modifiers. This is to accommodate _callum-style mods_ where you are prone to rolling sticky keys. If you want sticky key modifiers to only chain after release, you can disable this setting. Please note that activating multiple modifiers via [modifier functions](https://zmk.dev/docs/codes/modifiers#modifier-functions) such as `&sk LS(LALT)`, require `ignore-modifiers` enabled in order to function properly.
#### Example #### Example
@ -66,6 +66,7 @@ This configuration would apply to all sticky keys. This may not be appropriate i
bindings = <&kp>; bindings = <&kp>;
release-after-ms = <1000>; release-after-ms = <1000>;
quick-release; quick-release;
ignore-modifiers;
}; };
}; };