Skip to content

Commit

Permalink
added mouse layer
Browse files Browse the repository at this point in the history
  • Loading branch information
keymap-editor[bot] committed Jan 26, 2025
1 parent 36b820f commit eb11daa
Showing 1 changed file with 15 additions and 22 deletions.
37 changes: 15 additions & 22 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/pointing.h>
#include <dt-bindings/zmk/pointing.h>
#include <dt-bindings/zmk/pointing.h>
#include <dt-bindings/zmk/rgb.h>

//-------------------------------------------------------COMBO-1-----------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -63,7 +65,7 @@
combo_qwerty {
timeout-ms = <50>;
key-positions = <1 2 3 4 >;
bindings = <&tog 3 CLCK>;
bindings = <&tog 4 CLCK>;
};

combo_BC {
Expand All @@ -81,7 +83,7 @@
combo_fnbt {
timeout-ms = <50>;
key-positions = <7 8 9 10>;
bindings = <&mo 4>;
bindings = <&mo 5>;
};

Talt {
Expand Down Expand Up @@ -240,7 +242,7 @@
&tp LA(TAB) TAB &kp Q &kp W &kp F &tp LC(P) P &tp LC(V) V &kp J &kp L &kp U &kp Y &kp SEMI &kp ESCAPE
&tp LSHFT CAPS &kp A &kp R &kp S &kp T &kp G &kp M &kp N &kp E &kp I &kp O &kp SQT
&kp LCTRL &tp LC(Y) Z &tp LC(Z) X &tp LC(X) C &tp LC(C) D &kp B &kp K &kp H &kp COMMA &kp DOT &tp FSLH RS(FSLH) &kp LALT
&mo 1 &mo 2 &mo 4 &kp SPACE &kp RET &kp LEFT_GUI
&mo 1 &mo 2 &mo 3 &kp SPACE &kp RET &kp LEFT_GUI
>;
};

Expand All @@ -254,7 +256,7 @@
bindings = <
&kp TILDE &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp KP_MULTIPLY &kp N7 &kp N8 &kp N9 &kp BACKSPACE &kp BSPC
&kp AMPS &kp UNDER &kp BSLH &kp PIPE &trans &kp KP_CLEAR &kp MINUS &kp N4 &kp N5 &kp N6 &kp N0 &trans
&kp K_APP &tog 3 &trans &kp COMMA &kp DOT &kp EQUAL &kp PLUS &kp N1 &kp N2 &tp DOT N3 &kp LBRC &kp LALT
&kp K_APP &tog 4 &trans &kp COMMA &kp DOT &kp EQUAL &kp PLUS &kp N1 &kp N2 &tp DOT N3 &kp LBRC &kp LALT
&mo 1 &mo 2 &kp ESC &kp SPACE &kp RET &kp N0
>;
};
Expand All @@ -274,6 +276,15 @@
>;
};

mouse {
bindings = <
&rgb_ug RGB_TOG &bl BL_TOG &trans &msc SCRL_UP &trans &trans &none &trans &mmv MOVE_UP &trans &trans &soft_off
&rgb_ug RGB_EFF &rgb_ug RGB_BRI &msc SCRL_LEFT &msc SCRL_DOWN &msc SCRL_RIGHT &trans &trans &mmv MOVE_LEFT &mmv MOVE_DOWN &mmv MOVE_RIGHT &trans &bootloader
&rgb_ug RGB_EFR &rgb_ug RGB_BRD &trans &trans &trans &trans &mkp MB1 &mkp LCLK &mkp MB2 &mkp RCLK &trans &sys_reset
&trans &trans &trans &mkp MB1 &trans &trans
>;
};

layer_Qwerty {
// ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
// | TAB | Q | W | E | R | T | | Y | U | I | O | P | \ | BKSP |
Expand Down Expand Up @@ -304,15 +315,6 @@
>;
};

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 &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans
>;
};

layer_6 {
bindings = <
&kp TAB &kp Q &kp W &kp F &kp P &kp V &kp J &kp L &kp U &kp Y &kp SEMICOLON &trans
Expand All @@ -321,14 +323,5 @@
&trans &trans &trans &kp SPACE &kp ENTER &kp LEFT_GUI
>;
};

mouse {
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 &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans
>;
};
};
};

0 comments on commit eb11daa

Please sign in to comment.