Add reset button

This commit is contained in:
2024-08-23 16:30:38 +02:00
parent 16c27f4699
commit c528f5e8a5
+9 -2
View File
@@ -23,7 +23,7 @@
#define COMBO_REQUIRE_DELAY 150
&caps_word {
continue-list = <UNDERSCORE MINUS>;
continue-list = <UNDERSCORE MINUS BACKSPACE DELETE>;
/delete-property/ ignore-modifiers;
};
@@ -95,6 +95,13 @@
hold-trigger-key-positions = <KEYL>;
hold-trigger-on-release;
};
reset: reset_tap_dance {
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
tapping-term-ms = <TAPPING_TERM>;
bindings = <&sys_reset>, <&bootloader>;
};
};
keymap {
@@ -131,7 +138,7 @@
others {
bindings = <
// ╭───────────────┬────────────────┬────────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────╮
&none &none &none &none &none &kp C_MUTE &kp VOLDWN &kp VOLUP
&none &none &none &reset &none &kp C_MUTE &kp VOLDWN &kp VOLUP
//╭─────────────────┼───────────────┼────────────────┼────────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼────────────────╮
&none &none &none &none &none &bt BT_SEL 4 &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3
//├─────────────────┼───────────────┼────────────────┼────────────────┼─────────────╯ ╰─────────────┼─────────────┼─────────────┼─────────────┼────────────────┤