Skip to content

Commit

Permalink
Add mouse layer
Browse files Browse the repository at this point in the history
  • Loading branch information
Promytheos committed Aug 21, 2024
1 parent d77cab6 commit 3c5e4f8
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions config/splitkb_aurora_corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#define NUMBER 1
#define SYMBOL 2
#define FUNCTION 3
#define MOUSE 4
#define MO_TOG(layer) &mo_tog layer layer

&mt {
Expand Down Expand Up @@ -40,10 +41,10 @@
// | SHFT | Z | X | C | V | B | | N | M | , | . | / | ' |
// | FUN | NUM | SPC | | SPC | SYM | ALT |
bindings = <
&gresc &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&kp TAB &mt LGUI A &mt LALT S &mt LSHFT D &mt LCTRL F &kp G &kp H &mt RCTRL J &mt RSHFT K &mt RALT L &mt RGUI SEMI &kp SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RET
MO_TOG(FUNCTION) MO_TOG(NUMBER) &kp SPACE &kp SPACE &mo SYMBOL &kp RALT
&gresc &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&kp TAB &mt LGUI A &mt LALT S &mt LSHFT D &mt LCTRL F &kp G &kp H &mt RCTRL J &mt RSHFT K &mt RALT L &mt RGUI SEMI &kp SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RET
MO_TOG(FUNCTION) MO_TOG(NUMBER) &kp SPACE &kp SPACE &mo SYMBOL MO_TOG(MOUSE)
>;
};
number_layer {
Expand Down Expand Up @@ -87,5 +88,19 @@
&kp LGUI &trans &kp SPACE &kp RET &trans &kp RALT
>;
};

mouse_layer {
// -----------------------------------------------------------------------------------------
// | | | | | | | split | | | | | | |
// | | | | | | | split | MOVE_LEFT | MOVE_DOWN | MOVE_UP | MOVE_RIGHT | | |
// | | | | | | | split | | | | | | |
// | | | RCLK | split | LCLK | | |
bindings = <
&none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &mmv MOVE_LEFT &mmv MOVE_DOWN &mmv MOVE_UP &mmv MOVE_RIGHT &none &none
&none &none &none &none &none &none &none &none &none &none &none &none
&none &none &mkp RCLK &mkp LCLK &none &none
>;
};
};
};

0 comments on commit 3c5e4f8

Please sign in to comment.