Fix weird nav keys

This commit is contained in:
2024-04-15 23:57:30 +02:00
parent 3ea797035a
commit b0adb35cd4
2 changed files with 26 additions and 19 deletions
+12 -4
View File
@@ -55,7 +55,7 @@
left_tab: left_tab_morph {
compatible = "zmk,behavior-mod-morph";
#binding-cells = <0>;
bindings = <&kp TAB>, <&kp LEFT>;
bindings = <&none>, <&kp LEFT>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};
right_space: right_space_morph {
@@ -131,11 +131,11 @@
symbols {
bindings = <
// ╭───────────────┬────────────────┬────────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────╮
&kp EXCL &kp AT &kp HASH &kp FSLH &kp MINUS &kp N7 &kp N8 &kp N9
&kp EXCL &kp AT &kp HASH &kp BSLH &kp QMARK &kp N7 &kp N8 &kp N9
//╭─────────────────┼───────────────┼────────────────┼────────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼────────────────╮
&hml LALT TILDE &hml LGUI DLLR &hml LSFT PRCNT &hml LCTL CARET &kp QMARK &kp EQUAL &hmr LCTL N4 &hmr LSFT N5 &hmr LGUI N6 &hmr LALT PLUS
&hml LALT COLON &hml LGUI DLLR &hml LSFT PRCNT &hml LCTL CARET &kp FSLH &kp EQUAL &hmr LCTL N4 &hmr LSFT N5 &hmr LGUI N6 &hmr LALT PLUS
//├─────────────────┼───────────────┼────────────────┼────────────────┼─────────────╯ ╰─────────────┼─────────────┼─────────────┼─────────────┼────────────────┤
&kp GRAVE &kp AMPS &kp STAR &kp PIPE &kp N1 &kp N2 &kp N3 &kp BSLH
&kp GRAVE &kp AMPS &kp STAR &kp PIPE &kp N1 &kp N2 &kp N3 &kp TILDE
//╰─────────────────────────────────┼────────────────┼────────────────┼─────────────╮ ╭─────────────┼─────────────┼─────────────┼──────────────────────────────╯
&trans &trans &trans &trans &trans &kp N0
// ╰────────────────┴────────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
@@ -183,6 +183,14 @@
require-prior-idle-ms = <ALPHA_COMBO_REQUIRE_DELAY>;
layers = <0>;
};
combo_z {
// pressing both g and c does z
key-positions = <5 6>;
bindings = <&kp Z>;
timeout-ms = <20>;
require-prior-idle-ms = <ALPHA_COMBO_REQUIRE_DELAY>;
layers = <0>;
};
combo_z_btm {
// pressing both s and l does z
key-positions = <17 25>;
+14 -15
View File
@@ -220,7 +220,6 @@ path.combo {
</g>
<g transform="translate(180, 196)" class="key keypos-26">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">TAB</text>
<text x="0" y="-24" class="key shifted">LEFT</text>
</g>
<g transform="translate(240, 196)" class="key keypos-27">
@@ -258,21 +257,21 @@ path.combo {
<text x="180" y="28" class="combo tap">X</text>
</g>
<g class="combo combopos-2">
<rect rx="6" ry="6" x="496" y="15" width="28" height="26" class="combo"/>
<text x="510" y="28" class="combo tap">Z</text>
</g>
<g class="combo combopos-3">
<rect rx="6" ry="6" x="556" y="15" width="28" height="26" class="combo"/>
<text x="570" y="28" class="combo tap">B</text>
</g>
<g class="combo combopos-4">
<rect rx="6" ry="6" x="16" y="127" width="28" height="26" class="combo"/>
<text x="30" y="140" class="combo tap">:</text>
<g class="combo combopos-3">
<rect rx="6" ry="6" x="496" y="15" width="28" height="26" class="combo"/>
<text x="510" y="28" class="combo tap">Z</text>
</g>
<g class="combo combopos-5">
<g class="combo combopos-4">
<rect rx="6" ry="6" x="646" y="127" width="28" height="26" class="combo"/>
<text x="660" y="140" class="combo tap">Z</text>
</g>
<g class="combo combopos-5">
<rect rx="6" ry="6" x="16" y="127" width="28" height="26" class="combo"/>
<text x="30" y="140" class="combo tap">:</text>
</g>
<g class="combo combopos-6">
<rect rx="6" ry="6" x="136" y="43" width="28" height="26" class="combo"/>
<text x="150" y="56" class="combo tap">[</text>
@@ -324,11 +323,11 @@ path.combo {
</g>
<g transform="translate(270, 56)" class="key keypos-3">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">/</text>
<text x="0" y="0" class="key tap">\</text>
</g>
<g transform="translate(420, 56)" class="key keypos-4">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">-</text>
<text x="0" y="0" class="key tap">?</text>
</g>
<g transform="translate(480, 28)" class="key keypos-5">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
@@ -344,7 +343,7 @@ path.combo {
</g>
<g transform="translate(30, 112)" class="key keypos-8">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">~</text>
<text x="0" y="0" class="key tap">:</text>
<text x="0" y="24" class="key hold">LALT</text>
</g>
<g transform="translate(90, 84)" class="key keypos-9">
@@ -364,7 +363,7 @@ path.combo {
</g>
<g transform="translate(270, 112)" class="key keypos-12">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">?</text>
<text x="0" y="0" class="key tap">/</text>
</g>
<g transform="translate(420, 112)" class="key keypos-13">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
@@ -420,7 +419,7 @@ path.combo {
</g>
<g transform="translate(660, 168)" class="key keypos-25">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">\</text>
<text x="0" y="0" class="key tap">~</text>
</g>
<g transform="translate(180, 196)" class="key trans keypos-26">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key trans"/>
@@ -565,7 +564,7 @@ path.combo {
</g>
<g transform="translate(450, 196)" class="key keypos-30">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">PLAY</text>
<text x="0" y="0" class="key tap">PP</text>
</g>
<g transform="translate(510, 196)" class="key trans keypos-31">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key trans"/>

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB