1
0
mirror of https://github.com/tcaxle/zmk-config.git synced 2024-11-22 07:11:56 +00:00

testing out tap dance mods for ctrl/alt/meta

This commit is contained in:
keymap-editor[bot] 2023-04-27 13:27:15 +00:00 committed by GitHub
parent 6df96bb62c
commit 3da7c66a43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,16 +13,21 @@
/ {
behaviors {
hm: homerow_mods {
compatible = "zmk,behavior-hold-tap";
label = "HOMEROW_MODS";
#binding-cells = <2>;
tapping-term-ms = <150>;
quick-tap-ms = <0>;
flavor = "tap-preferred";
lmod: lmod {
compatible = "zmk,behavior-tap-dance";
label = "LMOD";
#binding-cells = <0>;
bindings =
<&kp>,
<&kp>;
<&kp LCTRL>,
<&kp LALT>;
};
rmod: rmod {
compatible = "zmk,behavior-tap-dance";
label = "RMOD";
#binding-cells = <0>;
bindings =
<&kp LCTRL>,
<&kp LEFT_META>;
};
};
@ -33,16 +38,6 @@
bindings = <&kp CAPS>;
key-positions = <24 35>;
};
lctrl {
bindings = <&kp LCTRL>;
key-positions = <38 24>;
};
rctrl {
bindings = <&kp RCTRL>;
key-positions = <35 39>;
};
};
macros {
@ -56,7 +51,7 @@
&kp TAB &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp SEMI &kp INS
&kp BACKSPACE &kp A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &kp O &kp DEL
&kp LEFT_SHIFT &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
&kp LALT &mo 1 &kp SPACE &kp ENTER &mo 2 &kp LEFT_META
&lmod &mo 1 &kp SPACE &kp ENTER &mo 2 &rmod
>;
};