Rename DUMMY to CANCEL
This commit is contained in:
parent
b9a19625be
commit
ebfe3a2f47
1 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
||||||
#define ___ &trans
|
#define ___ &trans
|
||||||
#define DSK_PREV &kp LG(LC(LEFT))
|
#define DSK_PREV &kp LG(LC(LEFT))
|
||||||
#define DSK_NEXT &kp LG(LC(RIGHT))
|
#define DSK_NEXT &kp LG(LC(RIGHT))
|
||||||
#define DUMMY &kp K_CANCEL // cancels caps_word and does nothing else
|
#define CANCEL &kp K_CANCEL // cancels caps_word and does nothing else
|
||||||
|
|
||||||
#define DEF 0
|
#define DEF 0
|
||||||
#define NAV 1
|
#define NAV 1
|
||||||
|
@ -71,7 +71,7 @@ TODOs and ISSUES
|
||||||
bindings = <&kp LG(X) &kp U &kp S>;
|
bindings = <&kp LG(X) &kp U &kp S>;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Make sticky shift cancel capsword. Alternatively: mod-morph ss_cw into DUMMY
|
// Make sticky shift cancel capsword. Alternatively: mod-morph ss_cw into CANCEL
|
||||||
// to cancel capsword without triggering sticky-shift when capsword is active.
|
// to cancel capsword without triggering sticky-shift when capsword is active.
|
||||||
sticky_shift: sticky_shift {
|
sticky_shift: sticky_shift {
|
||||||
wait-ms = <0>;
|
wait-ms = <0>;
|
||||||
|
@ -79,7 +79,7 @@ TODOs and ISSUES
|
||||||
compatible = "zmk,behavior-macro";
|
compatible = "zmk,behavior-macro";
|
||||||
label = "STICKY_SHIFT_CANCEL_CAPSWORD";
|
label = "STICKY_SHIFT_CANCEL_CAPSWORD";
|
||||||
#binding-cells = <0>;
|
#binding-cells = <0>;
|
||||||
bindings = <¯o_tap DUMMY> // cancel caps_word;
|
bindings = <¯o_tap CANCEL> // cancel caps_word;
|
||||||
, <¯o_press &sk LSHFT> // then tap sticky-shift and hold
|
, <¯o_press &sk LSHFT> // then tap sticky-shift and hold
|
||||||
, <¯o_pause_for_release> // until key release to enable
|
, <¯o_pause_for_release> // until key release to enable
|
||||||
, <¯o_release &sk LSHFT>; // holding shift
|
, <¯o_release &sk LSHFT>; // holding shift
|
||||||
|
@ -138,7 +138,7 @@ TODOs and ISSUES
|
||||||
label = "STICKY_SHIFT_CAPSWORD";
|
label = "STICKY_SHIFT_CAPSWORD";
|
||||||
#binding-cells = <0>;
|
#binding-cells = <0>;
|
||||||
tapping-term-ms = <200>;
|
tapping-term-ms = <200>;
|
||||||
bindings = <&sticky_shift>, <&caps_word>, <DUMMY>;
|
bindings = <&sticky_shift>, <&caps_word>, <CANCEL>;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue