Skip to content

Commit

Permalink
disable mouse layer
Browse files Browse the repository at this point in the history
As I've got a trackpad replacement
  • Loading branch information
dryice committed Oct 24, 2024
1 parent 4d73279 commit 653bf0a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion config/corne.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY=y
CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y

# enable mouse movements
CONFIG_ZMK_MOUSE=y
# CONFIG_ZMK_MOUSE=y
32 changes: 16 additions & 16 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define NAVIGATION 2
#define BLUETOOTH 3
#define FUNCTIONS 4
#define MOUSE 5
// #define MOUSE 5

// Macro to apply momentary-layer-on-hold/toggle-layer-on-tap to a specific layer
#define MO_TOG(layer) &mo_tog layer layer
Expand Down Expand Up @@ -74,7 +74,7 @@
&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp MINUS
&kp CAPS &bhm LSHIFT A &bhm LALT S &bhm LGUI D &bhm LCTRL F &kp G &kp H &bhm RCTRL J &bhm RGUI K &bhm RALT L &bhm RSHIFT SEMI &kp SQT
&to DEFAULT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &mo_tog BLUETOOTH FUNCTIONS
&mo_tog SYMBOLS MOUSE &kp TAB &kp BSPC &kp RET &kp SPACE MO_TOG(NAVIGATION)
MO_TOG(SYMBOLS) &kp TAB &kp BSPC &kp RET &kp SPACE MO_TOG(NAVIGATION)
>;
};

Expand Down Expand Up @@ -134,20 +134,20 @@
>;
};

// This is for https://github.com/zmkfirmware/zmk/pull/2027
mouse_layer {
// -----------------------------------------------------------------------------------------
// | | | | | | | | MClick | RClick | MOVE_UP | | | |
// | | none | none | none | none| LClick | | LClick | MOVE_LEFT | MOVE_DOWN | MOVE_RIGHT | none | none |
// | | none | none | none | none | none | | none | SCRL_UP | SCRL_DOWN | SCRL_LEFT | SCRL_RIGHT | |
// | | | | | | | |
bindings = <
&trans &trans &trans &trans &trans &trans &mkp MCLK &mkp RCLK &mmv MOVE_UP &none &none &none
&trans &trans &trans &trans &trans &mkp LCLK &mkp LCLK &mmv MOVE_LEFT &mmv MOVE_DOWN &mmv MOVE_RIGHT &trans &trans
&trans &trans &trans &trans &trans &trans &trans &msc SCRL_UP &msc SCRL_DOWN &msc SCRL_LEFT &msc SCRL_RIGHT &trans
&trans &trans &trans &trans &trans &trans
>;
};
// // This is for https://github.com/zmkfirmware/zmk/pull/2027
// mouse_layer {
// // -----------------------------------------------------------------------------------------
// // | | | | | | | | MClick | RClick | MOVE_UP | | | |
// // | | none | none | none | none| LClick | | LClick | MOVE_LEFT | MOVE_DOWN | MOVE_RIGHT | none | none |
// // | | none | none | none | none | none | | none | SCRL_UP | SCRL_DOWN | SCRL_LEFT | SCRL_RIGHT | |
// // | | | | | | | |
// bindings = <
// &trans &trans &trans &trans &trans &trans &mkp MCLK &mkp RCLK &mmv MOVE_UP &none &none &none
// &trans &trans &trans &trans &trans &mkp LCLK &mkp LCLK &mmv MOVE_LEFT &mmv MOVE_DOWN &mmv MOVE_RIGHT &trans &trans
// &trans &trans &trans &trans &trans &trans &trans &msc SCRL_UP &msc SCRL_DOWN &msc SCRL_LEFT &msc SCRL_RIGHT &trans
// &trans &trans &trans &trans &trans &trans
// >;
// };



Expand Down
4 changes: 2 additions & 2 deletions config/west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ manifest:
url-base: https://github.com/krikun98
projects:
- name: zmk
remote: petejohanson
revision: feat/pointers-move-scroll
remote: zmkfirmware
revision: main
import: app/west.yml
self:
path: config

0 comments on commit 653bf0a

Please sign in to comment.