From 5472154a0f70324e919cfaf62b79095b53d78cfc Mon Sep 17 00:00:00 2001 From: HeeTuic <135221481+HeeTuic@users.noreply.github.com> Date: Tue, 30 Jul 2024 12:36:25 +0800 Subject: [PATCH] kehu2 --- config/charybdis.keymap | 92 ++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 62 deletions(-) diff --git a/config/charybdis.keymap b/config/charybdis.keymap index 7ecbee9..bdff9a0 100644 --- a/config/charybdis.keymap +++ b/config/charybdis.keymap @@ -10,89 +10,57 @@ }; / { - combos { - compatible = "zmk,combos"; - - escc { - bindings = <&kp ESC>; - key-positions = <17 18>; - layers = <0>; - }; - }; + combos { compatible = "zmk,combos"; }; keymap { compatible = "zmk,keymap"; Base { bindings = < -&kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC -&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BACKSLASH -&kp LEFT_SHIFT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp APOS -&kp LCTRL < 3 Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT < 3 SLASH &kp DELETE - &kp LEFT_ARROW &kp UP_ARROW < 1 LEFT_WIN < 2 ENTER &kp RIGHT_ARROW - &kp LEFT_ALT &kp SPACE &kp DOWN_ARROW +&none &none &none &none &none &none &none &none &none &none &none &none +&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BACKSPACE +&kp LCTRL &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp ENTER +&kp LEFT_SHIFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SLASH &kp LEFT_WIN + &kp LEFT_ALT &mkp LCLK &mo 1 &mo 2 &kp SPACE + &none &none &none >; trackball-bindings = <&tmv_coarse>; }; - layer_1 { - bindings = < -&kp TILDE &kp EXCLAMATION &kp HASH &kp DOLLAR &kp DOLLAR &kp PERCENT &kp CARET &kp AMPERSAND &kp ASTERISK &kp LEFT_PARENTHESIS &kp RIGHT_PARENTHESIS &kp UNDERSCORE -&kp GRAVE &kp NUMBER_1 &kp NUMBER_2 &kp NUMBER_3 &kp NUMBER_4 &kp LBKT &kp RBKT &kp F1 &kp F2 &kp F3 &kp F4 &kp DEL -&kp LEFT_CONTROL &kp NUMBER_5 &kp NUMBER_6 &kp NUMBER_7 &kp NUMBER_8 &none &kp BSLH &kp F5 &kp F6 &kp F7 &kp F8 &kp PAGE_UP -&kp LSHFT &kp NUMBER_9 &kp NUMBER_0 &kp MINUS &kp EQUAL &none &trans &kp F9 &kp F10 &kp F11 &kp F12 &kp PAGE_DOWN - &kp LEFT_WIN &kp SPACE &trans &kp ENTER &kp BACKSPACE - &none &none &trans - >; - }; - - layer_2 { + nLay { bindings = < -&kp F12 &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 -&kp LS(GRAVE) &kp LS(N1) &kp LS(N2) &kp LS(N3) &kp LS(N4) &kp LS(LBKT) &kp LS(RBKT) &none &trans &none &none &trans -&kp LEFT_CONTROL &kp LS(N5) &kp LS(N6) &kp LS(N7) &kp LS(N8) &none &kp LS(BSLH) &trans &kp UP &trans &trans &trans -&kp LEFT_SHIFT &kp LS(N9) &kp LS(N0) &kp LS(MINUS) &kp LS(EQUAL) &none &none &kp LEFT &kp DOWN &kp RIGHT &none &trans - &kp LEFT_ALT &kp SPACE &kp ENTER &trans &kp BACKSPACE - &trans &trans &none +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans +&trans &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp GRAVE &kp N7 &kp N8 &kp N9 &kp MINUS &kp DELETE +&trans &kp F4 &kp F5 &kp F6 &mkp MB2 &trans &kp BACKSLASH &kp NUMBER_4 &kp N5 &kp NUMBER_6 &kp EQUAL &kp SQT +&trans &kp F1 &kp F2 &kp F3 &kp F12 &kp ESC &trans &kp NUMBER_1 &kp NUMBER_2 &kp NUMBER_3 &kp LEFT_BRACKET &kp RIGHT_BRACKET + &trans &trans &trans &trans &kp N0 + &trans &trans &trans >; +trackball-bindings = <&tmv_fine>; }; - Mouse { + dLay { bindings = < -&none &none &none &none &none &none &none &none &none &none &none &none -&none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &none &bt BT_CLR &bt BT_CLR &none &bt BT_SEL 2 &bt BT_SEL 1 &bt BT_SEL 0 &none -&none &trans &trans &mkp MCLK &trans &none &none &trans &mkp MCLK &trans &trans &none -&bootloader &trans &mkp RCLK &mo 4 &mkp LCLK &mo 5 &mo 5 &mkp LCLK &mo 4 &mkp RCLK &trans &bootloader - &mo 5 &mkp LCLK &mkp RCLK &mkp RCLK &mkp LCLK - &none &trans &trans +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans +&trans &kp C_VOLUME_UP &kp K_SCROLL_UP &kp HOME &kp PAGE_UP &trans &trans &trans &kp UP_ARROW &trans &trans &trans +&trans &kp C_VOLUME_DOWN &kp K_SCROLL_DOWN &kp END &kp PAGE_DOWN &trans &trans &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT_ARROW &trans &trans +&trans &kp C_MUTE &kp C_FAST_FORWARD &kp C_PLAY &kp C_FAST_FORWARD &trans &trans &trans &trans &trans &trans &trans + &trans &trans &trans &trans &tog 3 + &trans &trans &trans >; +trackball-bindings = <&tsl>; }; - layer_4 { + Bluetooth { bindings = < -&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -&trans &trans &trans &mkp MCLK &trans &trans &trans &trans &mkp MCLK &trans &trans &trans -&trans &trans &mkp RCLK &trans &mkp LCLK &trans &trans &mkp LCLK &trans &mkp RCLK &trans &trans - &trans &mkp LCLK &mkp RCLK &mkp RCLK &mkp LCLK - &trans &trans &trans +&none &none &none &none &none &none &none &none &none &none &none &none +&none &none &none &none &none &none &none &none &none &none &none &none +&none &none &none &none &none &none &none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_CLR &bootloader +&none &none &none &none &none &none &none &none &none &none &none &none + &none &none &none &none &tog 3 + &none &none &none >; - - trackball-bindings = <&tsl>; - }; - - layer_5 { - bindings = < -&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -&trans &trans &trans &mkp MCLK &trans &trans &trans &trans &mkp MCLK &trans &trans &trans -&trans &trans &mkp RCLK &trans &mkp LCLK &trans &trans &mkp LCLK &trans &mkp RCLK &trans &trans - &trans &mkp LCLK &mkp RCLK &mkp RCLK &mkp LCLK - &trans &trans &trans - >; - - trackball-bindings = <&tmv_fine>; }; }; };