From 9aa31ed145262fc983e91eb295e0454b3a68cea1 Mon Sep 17 00:00:00 2001 From: NikodemMarek Date: Fri, 6 Sep 2024 11:35:44 +0200 Subject: [PATCH] special layer cleanup and soft-off relocation --- config/cradio.keymap | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 3ba3db2..990cdc7 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -4,7 +4,9 @@ #include #include -&mt { tapping-term-ms = <800>; }; +&mt { tapping-term-ms = <500>; }; + +&soft_off { hold-time-ms = <3000>; }; / { combos { @@ -57,22 +59,6 @@ key-positions = <31 32>; layers = <0 2 6>; }; - - soft_off_left { - bindings = <&soft_off>; - key-positions = <0 20>; - layers = <0>; - require-prior-idle-ms = <3000>; - slow-release; - }; - - soft_off_right { - bindings = <&soft_off>; - key-positions = <9 29>; - layers = <0>; - require-prior-idle-ms = <3000>; - slow-release; - }; }; macros { @@ -208,10 +194,10 @@ special { bindings = < -&none &kp K_MUTE &kp C_VOLUME_DOWN &kp C_VOLUME_UP &bootloader &bootloader &none &none &none &bt BT_CLR -&kp K_STOP &kp K_PREVIOUS &kp K_PLAY_PAUSE &kp K_NEXT &sys_reset &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 -&out OUT_USB &out OUT_BLE &out OUT_TOG &ext_power EP_TOG &none &sys_reset &none &none &none &none - &tog 5 &trans &trans &trans +&none &kp K_MUTE &kp C_VOLUME_DOWN &kp C_VOLUME_UP &soft_off &soft_off &none &none &none &bt BT_CLR +&kp K_STOP &kp K_PREVIOUS &kp K_PLAY_PAUSE &kp K_NEXT &none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 +&out OUT_USB &out OUT_BLE &out OUT_TOG &ext_power EP_TOG &none &none &none &none &none &none + &tog 5 &trans &trans &trans >; display-name = "special";