Skip to content

Commit

Permalink
try #778
Browse files Browse the repository at this point in the history
  • Loading branch information
dryice committed Sep 28, 2024
1 parent 4dad29c commit c8c5d0e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
23 changes: 22 additions & 1 deletion config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,27 @@
};
};


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


// This is for https://github.com/zmkfirmware/zmk/pull/778
mouse_layer {
// -----------------------------------------------------------------------------------------
// | | | | | | | | MClick | LClick | RClick | | | |
Expand All @@ -136,7 +157,7 @@
bindings = <
&trans &trans &trans &trans &trans &trans &mkp MCLK &mkp LCLK &mkp RCLK &none &none &none
&trans &trans &trans &trans &trans &mkp LCLK &mkp LCLK &mmv MOVE_DOWN &mmv MOVE_UP &mmv MOVE_LEFT &mmv MOVE_RIGHT &none
&trans &none &none &none &none &none &none &msc SCRL_DOWN &msc SCRL_UP &msc SCRL_LEFT &msc SCRL_RIGHT &trans
&trans &none &none &none &none &none &none &mwh SCROLL_DOWN &mwh SCROLL_UP &mwh SCROLL_LEFT &mwh SCROLL_RIGHT &trans
&trans &trans &trans &trans &trans &trans
>;
};
Expand Down
6 changes: 4 additions & 2 deletions config/west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ manifest:
url-base: https://github.com/zmkfirmware
- name: petejohanson
url-base: https://github.com/petejohanson
- name: krikun98
url-base: https://github.com/krikun98
projects:
- name: zmk
remote: petejohanson
revision: d45cb3c26fc113357dfc035965e51c84e13e218d
remote: krikun98
revision: mouse-pr
import: app/west.yml
self:
path: config

0 comments on commit c8c5d0e

Please sign in to comment.