Clean up
This commit is contained in:
parent
84ba28a46a
commit
d3b02851bd
1 changed files with 13 additions and 20 deletions
|
@ -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
|
< { // layer tap config
|
||||||
< {
|
|
||||||
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,
|
||||||
, <¯o_pause_for_release>
|
, <¯o_pause_for_release>
|
||||||
, <¯o_release &mo UC &kp LSHFT>;
|
, <¯o_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>;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue