Further tune/tweak combos for layer/tk activation

This commit is contained in:
KemoNine 2021-05-01 20:39:38 +00:00
parent 253036c260
commit 16cead08ed
2 changed files with 15 additions and 7 deletions

View file

@ -10,7 +10,7 @@
#include <dt-bindings/zmk/rgb.h>
#include <dt-bindings/zmk/ext_power.h>
#define TIMEOUT_COMBO 175
#define TIMEOUT_COMBO 250
#define LAYER_ID_DEFAULT 0
#define LAYER_ID_NAV 1
@ -35,21 +35,25 @@
timeout-ms = <TIMEOUT_COMBO>;
key-positions = <31 18 33>;
bindings = <&tog LAYER_ID_NAV>;
layers = <LAYER_ID_NAV LAYER_ID_FUNC LAYER_ID_MISC>;
};
combo_layer_navigation_right {
timeout-ms = <TIMEOUT_COMBO>;
key-positions = <36 23 38>;
bindings = <&tog LAYER_ID_NAV>;
layers = <LAYER_ID_NAV LAYER_ID_FUNC LAYER_ID_MISC>;
};
combo_shift_lock_left {
timeout-ms = <TIMEOUT_COMBO>;
key-positions = <18 32>;
bindings = <&kt LSHFT>;
layers = <LAYER_ID_NAV LAYER_ID_FUNC LAYER_ID_MISC>;
};
combo_shift_lock_right {
timeout-ms = <TIMEOUT_COMBO>;
key-positions = <23 37>;
bindings = <&kt RSHFT>;
layers = <LAYER_ID_NAV LAYER_ID_FUNC LAYER_ID_MISC>;
};
};

View file

@ -8,7 +8,7 @@
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#define TIMEOUT_COMBO 175
#define TIMEOUT_COMBO 250
#define LAYER_ID_DEFAULT 0
#define LAYER_ID_NAV 1
@ -41,21 +41,25 @@
timeout-ms = <TIMEOUT_COMBO>;
key-positions = <34 19 36>;
bindings = <&tog LAYER_ID_NAV>;
layers = <LAYER_ID_NAV LAYER_ID_FUNC LAYER_ID_MISC>;
};
combo_layer_navigation_right {
timeout-ms = <TIMEOUT_COMBO>;
key-positions = <39 24 41>;
bindings = <&tog LAYER_ID_NAV>;
layers = <LAYER_ID_NAV LAYER_ID_FUNC LAYER_ID_MISC>;
};
combo_shift_lock_left {
timeout-ms = <TIMEOUT_COMBO>;
key-positions = <19 35>;
bindings = <&kt LSHFT>;
layers = <LAYER_ID_NAV LAYER_ID_FUNC LAYER_ID_MISC>;
};
combo_shift_lock_right {
timeout-ms = <TIMEOUT_COMBO>;
key-positions = <24 40>;
bindings = <&kt LSHFT>;
layers = <LAYER_ID_NAV LAYER_ID_FUNC LAYER_ID_MISC>;
};
};
@ -70,7 +74,7 @@
bindings = <
&tildeesc &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS &kp EQUAL &kp BSPC &kp HOME
&kp C_MUTE &kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT &kp RBKT &kp BSLH &kp PG_UP
&to 3 &mo LAYER_ID_ALT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT &kp RET &kp PG_DN
&to LAYER_ID_FUNC &mo LAYER_ID_ALT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT &kp RET &kp PG_DN
&trans &kp LSHFT &none &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT &kp UP &kp END
&trans &kp LCTRL &kp LGUI &kp LALT &kp SPACE &mo LAYER_ID_FUNC &kp RCTRL &kp RALT &kp LEFT &kp DOWN &kp RIGHT
>;