mirror of
https://github.com/zoriya/abyss.git
synced 2026-08-15 18:44:47 +00:00
Add reset on both sides
This commit is contained in:
+23
-12
@@ -96,7 +96,18 @@
|
||||
hold-trigger-on-release;
|
||||
};
|
||||
|
||||
reset: reset_tap_dance {
|
||||
lt_caps: layer_tap_cap {
|
||||
compatible = "zmk,behavior-hold-tap";
|
||||
flavor = "balanced";
|
||||
#binding-cells = <2>;
|
||||
bindings = <&mo>, <&caps_word>;
|
||||
tapping-term-ms = <TAPPING_TERM>;
|
||||
quick-tap-ms = <QUICK_TAP>;
|
||||
hold-trigger-key-positions = <KEYR>;
|
||||
hold-trigger-on-release;
|
||||
};
|
||||
|
||||
reset: tap_dance_rst {
|
||||
compatible = "zmk,behavior-tap-dance";
|
||||
#binding-cells = <0>;
|
||||
tapping-term-ms = <TAPPING_TERM>;
|
||||
@@ -109,15 +120,15 @@
|
||||
|
||||
default_layer {
|
||||
bindings = <
|
||||
// ╭─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────╮
|
||||
&kp COMMA &kp DOT &kp P &kp Y &kp F &kp G &kp C &kp R
|
||||
//╭─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────╮
|
||||
&hml LALT A &hml LGUI O &hml LSFT E &hml LCTL U &kp I &kp D &hmr LCTL H &hmr LSFT T &hmr LGUI N &hmr LALT S
|
||||
//├─────────────┼─────────────┼─────────────┼─────────────┼─────────────╯ ╰─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
|
||||
&kp SQT &kp Q &kp J &kp K &kp M &kp W &kp V &kp L
|
||||
//╰───────────────────────────┼─────────────┼─────────────┼─────────────╮ ╭─────────────┼─────────────┼─────────────┼───────────────────────────╯
|
||||
&left_shift <_spc SY 0 < OT TAB &caps_word <_bspc SY 0 &up_del
|
||||
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
|
||||
// ╭─────────────┬─────────────┬─────────────┬─────────────╮ ╭──────────────┬─────────────┬─────────────┬─────────────╮
|
||||
&kp COMMA &kp DOT &kp P &kp Y &kp F &kp G &kp C &kp R
|
||||
//╭─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├──────────────┼── ───────────┼─────────────┼─────────────┼─────────────╮
|
||||
&hml LALT A &hml LGUI O &hml LSFT E &hml LCTL U &kp I &kp D &hmr LCTL H &hmr LSFT T &hmr LGUI N &hmr LALT S
|
||||
//├─────────────┼─────────────┼─────────────┼─────────────┼─────────────╯ ╰──────────────┼── ───────────┼─────────────┼─────────────┼─────────────┤
|
||||
&kp SQT &kp Q &kp J &kp K &kp M &kp W &kp V &kp L
|
||||
//╰───────────────────────────┼─────────────┼─────────────┼─────────────╮ ╭──────────────┼── ───────────┼─────────────┼───────────────────────────╯
|
||||
&left_shift <_spc SY 0 < OT TAB <_caps OT 0 <_bspc SY 0 &up_del
|
||||
// ╰─────────────┴─────────────┴─────────────╯ ╰──────────────┴── ───────────┴─────────────╯
|
||||
>;
|
||||
};
|
||||
|
||||
@@ -138,13 +149,13 @@
|
||||
others {
|
||||
bindings = <
|
||||
// ╭───────────────┬────────────────┬────────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────╮
|
||||
&none &none &none &reset &none &kp C_MUTE &kp VOLDWN &kp VOLUP
|
||||
&none &none &none &reset &reset &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
|
||||
//├─────────────────┼───────────────┼────────────────┼────────────────┼─────────────╯ ╰─────────────┼─────────────┼─────────────┼─────────────┼────────────────┤
|
||||
&none &none &none &none &none &none &none &bt BT_CLR
|
||||
//╰─────────────────────────────────┼────────────────┼────────────────┼─────────────╮ ╭─────────────┼─────────────┼─────────────┼──────────────────────────────╯
|
||||
&trans &trans &trans &trans &kp C_PP &trans
|
||||
&trans &trans &trans &kp C_PREV &kp C_PP &kp C_NEXT
|
||||
// ╰────────────────┴────────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
|
||||
>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user