Fix up/down swapped and space delay

This commit is contained in:
2024-04-12 00:52:31 +02:00
parent 092c27354f
commit f101e8a932
2 changed files with 32 additions and 12 deletions
+30 -10
View File
@@ -53,32 +53,52 @@
bindings = <&kp SPACE>, <&kp RIGHT>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};
up_bspc: up_dspc_morph {
down_bspc: down_dspc_morph {
compatible = "zmk,behavior-mod-morph";
#binding-cells = <0>;
bindings = <&kp BSPC>, <&kp UP>;
bindings = <&kp BSPC>, <&kp DOWN>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};
down_ret: down_ret_morph {
up_ret: up_ret_morph {
compatible = "zmk,behavior-mod-morph";
#binding-cells = <0>;
bindings = <&kp RET>, <&kp DOWN>;
bindings = <&kp RET>, <&kp UP>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};
lt_spc: layer_tap_spc {
compatible = "zmk,behavior-hold-tap";
label = "LAYER_TAP_SPACE";
flavor = "balanced";
#binding-cells = <2>;
bindings = <&mo>, <&right_space>;
tapping-term-ms = <150>;
tapping-term-ms = <280>;
quick-tap-ms = <150>;
require-prior-idle-ms = <150>;
// all keys on the right hands and thumbs
hold-trigger-key-positions = <
4 5 6 7
13 14 15 16 17
22 23 24 25
26 27 28 29 30 31
>;
hold-trigger-on-release;
};
lt_bspc: layer_tap_bspc {
compatible = "zmk,behavior-hold-tap";
label = "LAYER_TAP_BACKSPACE";
flavor = "balanced";
#binding-cells = <2>;
bindings = <&mo>, <&up_bspc>;
tapping-term-ms = <150>;
bindings = <&mo>, <&down_bspc>;
tapping-term-ms = <280>;
quick-tap-ms = <150>;
require-prior-idle-ms = <150>;
// all keys on the left hands and thumbs
hold-trigger-key-positions = <
0 1 2 3
8 9 10 11 12
18 19 20 21
26 27 28 29 30 31
>;
hold-trigger-on-release;
};
};
@@ -94,7 +114,7 @@
//├─────────────┼─────────────┼─────────────┼─────────────┼─────────────╯ ╰─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp SQT &kp Q &kp J &kp K &kp M &kp W &kp V &kp L
//╰───────────────────────────┼─────────────┼─────────────┼─────────────╮ ╭─────────────┼─────────────┼─────────────┼───────────────────────────╯
&left_tab &lt_spc SY 0 &kp ESC &kp RET &lt_bspc SY 0 &down_ret
&left_tab &lt_spc SY 0 &kp ESC &kp RET &lt_bspc SY 0 &up_ret
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
>;
};
+2 -2
View File
@@ -241,12 +241,12 @@ path.combo {
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">BSPC</text>
<text x="0" y="24" class="key hold">symbols</text>
<text x="0" y="-24" class="key shifted">UP</text>
<text x="0" y="-24" class="key shifted">DOWN</text>
</g>
<g transform="translate(510, 196)" class="key keypos-31">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">RET</text>
<text x="0" y="-24" class="key shifted">DOWN</text>
<text x="0" y="-24" class="key shifted">UP</text>
</g>
<g class="combo combopos-0">
<rect rx="6" ry="6" x="106" y="15" width="28" height="26" class="combo"/>

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB