Use helper for sticky-key setup
This commit is contained in:
parent
6326048e47
commit
329583d1e6
1 changed files with 5 additions and 13 deletions
|
@ -118,19 +118,11 @@ ZMK_BEHAVIOR(uc_shift, macro,
|
|||
, <¯o_release &mo UC &kp LSHFT>;
|
||||
)
|
||||
|
||||
/ {
|
||||
behaviors {
|
||||
sls: sticky_uc_shift {
|
||||
compatible = "zmk,behavior-sticky-key";
|
||||
label = "STICKY_UC_SHIFT";
|
||||
#binding-cells = <1>;
|
||||
release-after-ms = <1000>;
|
||||
bindings = <&uc_shift>;
|
||||
ignore-modifiers;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ZMK_BEHAVIOR(sls, sticky_key,
|
||||
release-after-ms = <1000>;
|
||||
bindings = <&uc_shift>;
|
||||
ignore-modifiers;
|
||||
)
|
||||
|
||||
/* keymap */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue