From e35f62a84e88123ccfa75a04ba23765f0900cc94 Mon Sep 17 00:00:00 2001 From: Nicolas Symeou <30805864+Incblob@users.noreply.github.com> Date: Mon, 4 Nov 2024 11:38:40 +0100 Subject: [PATCH] timings --- config/boards/shields/horizon/behaviors.dtsi | 15 +++++++++------ config/boards/shields/horizon/combos.dtsi | 2 +- config/boards/shields/horizon/horizon.keymap | 5 +++++ config/boards/shields/horizon/horizon_layers.dtsi | 2 +- config/boards/shields/horizon/horizon_layout.dtsi | 2 +- config/boards/shields/horizon/macros.dtsi | 6 +++--- 6 files changed, 20 insertions(+), 12 deletions(-) diff --git a/config/boards/shields/horizon/behaviors.dtsi b/config/boards/shields/horizon/behaviors.dtsi index 218ea9c..bc97f0b 100644 --- a/config/boards/shields/horizon/behaviors.dtsi +++ b/config/boards/shields/horizon/behaviors.dtsi @@ -65,12 +65,6 @@ behaviors { bindings = <&semi_space>, <&comma_space>; }; - td_r: td_r{ - TD_template; - bindings = << l_R R> - , <&kp LS(R)>; - }; - td_qu: td_qu { TD_template; bindings = <&mt_qu Q U> @@ -81,6 +75,15 @@ behaviors { my_lk_config; bindings = <¯o_QU_cap>, <¯o_QU>; }; +// ----- LAYER + td_r: td_r{ + compatible = "zmk,behavior-tap-dance"; + #binding-cells = <0>; + tapping-term-ms = <100>; + bindings = << l_L R> + , <&kp LS(R)>; + }; + // shift_qu: shift_qu_macro { // my_lk_config; // bindings = <¯o_QU_cap>, <¯o_QU>; diff --git a/config/boards/shields/horizon/combos.dtsi b/config/boards/shields/horizon/combos.dtsi index 60f22cd..90a91ad 100644 --- a/config/boards/shields/horizon/combos.dtsi +++ b/config/boards/shields/horizon/combos.dtsi @@ -3,7 +3,7 @@ bindings = ; \ key-positions = ; \ layers = LAYERS; \ - timeout-ms = <55>; \ + timeout-ms = <35>; \ }; // #define COMBO_ROLL(NAME, BINDINGS, KEYPOS, LAYERS) \ diff --git a/config/boards/shields/horizon/horizon.keymap b/config/boards/shields/horizon/horizon.keymap index 9962660..87b380c 100644 --- a/config/boards/shields/horizon/horizon.keymap +++ b/config/boards/shields/horizon/horizon.keymap @@ -31,6 +31,11 @@ lazy; }; +< { + tapping-term-ms = <100>; +}; + + &caps_word { continue-list = ; }; diff --git a/config/boards/shields/horizon/horizon_layers.dtsi b/config/boards/shields/horizon/horizon_layers.dtsi index cd1bc8c..31d4ead 100644 --- a/config/boards/shields/horizon/horizon_layers.dtsi +++ b/config/boards/shields/horizon/horizon_layers.dtsi @@ -22,7 +22,7 @@ coding_layer { &kp ESC AS(F12) AS(W) AS(M) AS(G) AS(J) &td_qu &td_dot &td_qu AS(Y) &as LC(G) LC(F) &kp LC(HOME) &kp LSHFT AS(X) AS(C) AS(N) AS(T) AS(K) &td_comma AS(A) AS(E) AS(I) AS(F) &kp LC(END) AS(TAB) AS(S) AS(P) AS(L) AS(D) AS(V) &kp LS(LC(LALT)) &caps_word AS(NON_US_HASH) AS(U) AS(O) AS(Z) AS(H) AS(RET) -&kp LCTRL AS(B) &kp LGUI &kp LG(LS(S)) &mt LALT ESC < l_L SPACE &kp BSPC &mt LSHIFT DELETE &td_r AS(FSLH) &kp LEFT &kp UP &kp DOWN &kp RIGHT +&kp LCTRL AS(B) &kp LGUI &kp LG(LS(S)) &mt LALT ESC &td_r &kp BSPC &mt LSHIFT DELETE < l_R SPACE AS(FSLH) &kp LEFT &kp UP &kp DOWN &kp RIGHT >; }; diff --git a/config/boards/shields/horizon/horizon_layout.dtsi b/config/boards/shields/horizon/horizon_layout.dtsi index eae440b..53d362a 100644 --- a/config/boards/shields/horizon/horizon_layout.dtsi +++ b/config/boards/shields/horizon/horizon_layout.dtsi @@ -4,7 +4,7 @@ │ X W M G J │ │ #$ .: /* "[ '] │ │ S C N T K | | ,; A E I H │ │ B P L D V │ │ -+ U O Y F │ -╰──────────╮ SPC BSC │ │ R - ╭──────────────╯ +╰──────────╮ R BSC │ │ Space - ╭──────────────╯ ╰────────────╯ ╰───────────╯ */ diff --git a/config/boards/shields/horizon/macros.dtsi b/config/boards/shields/horizon/macros.dtsi index 4c80ef3..a007842 100644 --- a/config/boards/shields/horizon/macros.dtsi +++ b/config/boards/shields/horizon/macros.dtsi @@ -1,6 +1,6 @@ -#define MACRO_WAIT 15 -#define MACRO_TAP 10 -#define MACRO_TAP_Q 5 +#define MACRO_WAIT 5 +#define MACRO_TAP 5 +#define MACRO_TAP_Q 3 macros { ZMK_MACRO(line_select,