CANCEL is obsolete
Caps-words deactivates on mod-presses in my ZMK testing branch
This commit is contained in:
parent
48e420b1f0
commit
2e982d484f
1 changed files with 0 additions and 11 deletions
|
@ -97,20 +97,9 @@ ZMK_BEHAVIOR(hmr, hold_tap, // right-hand HRMs
|
||||||
|
|
||||||
/* custom keys and macros */
|
/* custom keys and macros */
|
||||||
|
|
||||||
// sticky-shift that cancels capsword (used in ss_cw below). Alternatively: mod-morph ss_cw into CANCEL to swallow sticky-shift when capsword is active
|
|
||||||
ZMK_BEHAVIOR(sticky_shift, macro,
|
|
||||||
wait-ms = <0>;
|
|
||||||
tap-ms = <1>;
|
|
||||||
bindings = <¯o_tap CANCEL> // cancel caps_word;
|
|
||||||
, <¯o_press &sk LSHFT> // then tap sticky-shift and hold
|
|
||||||
, <¯o_pause_for_release> // until key release to enable
|
|
||||||
, <¯o_release &sk LSHFT>; // holding shift
|
|
||||||
)
|
|
||||||
|
|
||||||
// tap: sticky shift | double tap: capsword | triple tap: cancel capsword
|
// tap: sticky shift | double tap: capsword | triple tap: cancel capsword
|
||||||
ZMK_BEHAVIOR(ss_cw, tap_dance,
|
ZMK_BEHAVIOR(ss_cw, tap_dance,
|
||||||
tapping-term-ms = <200>;
|
tapping-term-ms = <200>;
|
||||||
// bindings = <&sticky_shift>, <&caps_word>, <CANCEL>;
|
|
||||||
bindings = <&sk LSHFT>, <&caps_word>, <CANCEL>;
|
bindings = <&sk LSHFT>, <&caps_word>, <CANCEL>;
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue