From 2e982d484fb88e80efb65ffb97329018b128c843 Mon Sep 17 00:00:00 2001 From: urob <978080+urob@users.noreply.github.com> Date: Sat, 30 Jul 2022 16:12:00 -0400 Subject: [PATCH] CANCEL is obsolete Caps-words deactivates on mod-presses in my ZMK testing branch --- config/base.keymap | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/config/base.keymap b/config/base.keymap index 214974f..0b6dd3e 100644 --- a/config/base.keymap +++ b/config/base.keymap @@ -97,20 +97,9 @@ ZMK_BEHAVIOR(hmr, hold_tap, // right-hand HRMs /* 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 ZMK_BEHAVIOR(ss_cw, tap_dance, tapping-term-ms = <200>; - // bindings = <&sticky_shift>, <&caps_word>, ; bindings = <&sk LSHFT>, <&caps_word>, ; )