This commit is contained in:
urob 2022-08-05 18:09:36 -04:00
parent 84ba28a46a
commit d3b02851bd

View file

@ -1,6 +1,6 @@
/* /*
ISSUES, WORKAROUNDS and a "ZMK-WISHLIST" ISSUES, WORKAROUNDS and a "ZMK-WISHLIST"
* tap-only combos not yet possible (#544), prevents rapid chording of HRMs * no tap-only combos (#544), prevents rapid chording of HRMs on combo positions
* &bootloader doesn't work with Planck_rev6 (#1086) * &bootloader doesn't work with Planck_rev6 (#1086)
* sticky-hold swallows OS shift when typing quickly, using sticky-tap for now * sticky-hold swallows OS shift when typing quickly, using sticky-tap for now
* native sleep key doesn't work with windows (#1077), using sleep-macro for now * native sleep key doesn't work with windows (#1077), using sleep-macro for now
@ -38,34 +38,28 @@ ISSUES, WORKAROUNDS and a "ZMK-WISHLIST"
#define FN 4 #define FN 4
#define UC 5 #define UC 5
#define QUICK_TAP_MS 175
#include "combos.dtsi" // source after layer shortcuts #include "combos.dtsi" // source after layer shortcuts
#include "mouse.dtsi" #include "mouse.dtsi"
// sticky key config #define QUICK_TAP_MS 175
&sk {
release-after-ms = <550>; // release after 0.55s &sk { // sticky key config
quick-release; // no double capitalization when rolling keys release-after-ms = <600>; // release after 0.6s
quick-release; // no double capitalization when rolling keys
}; };
// sticky layer config &sl { // sticky layer config
&sl { ignore-modifiers; // no double capitalization when rolling keys
// release-after-ms = <550>; // release after 0.55s
ignore-modifiers; // no double capitalization when rolling keys
}; };
// layer tap config &lt { // layer tap config
&lt {
flavor = "balanced"; flavor = "balanced";
tapping-term-ms = <200>; tapping-term-ms = <200>;
quick-tap-ms = <QUICK_TAP_MS>; // double-tap + hold repeats tap-key quick-tap-ms = <QUICK_TAP_MS>; // double-tap + hold repeats tap-key
// global-quick-tap;
}; };
// caps word &caps_word { // caps-word config
&caps_word { /delete-property/ ignore-modifiers; // mods deactivate caps word, requires PR #1422
/delete-property/ ignore-modifiers;
}; };
/* homerow mods */ /* homerow mods */
@ -114,7 +108,7 @@ ZMK_BEHAVIOR(win_sleep, macro,
bindings = <&kp LG(X) &kp U &kp S>; bindings = <&kp LG(X) &kp U &kp S>;
) )
// Sticky layer + sticky shift // Sticky layer + sticky shift (workaround for issue #1421)
ZMK_BEHAVIOR(uc_shift, macro, ZMK_BEHAVIOR(uc_shift, macro,
wait-ms = <0>; wait-ms = <0>;
tap-ms = <1>; tap-ms = <1>;
@ -122,7 +116,6 @@ ZMK_BEHAVIOR(uc_shift, macro,
, <&macro_pause_for_release> , <&macro_pause_for_release>
, <&macro_release &mo UC &kp LSHFT>; , <&macro_release &mo UC &kp LSHFT>;
) )
ZMK_BEHAVIOR(sls, sticky_key, ZMK_BEHAVIOR(sls, sticky_key,
release-after-ms = <1000>; release-after-ms = <1000>;
bindings = <&uc_shift>; bindings = <&uc_shift>;