Skip to content

Commit

Permalink
rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
potter-man committed Jun 11, 2024
1 parent 0da23ed commit 781020e
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions config/boards/shields/ergonaut_one/ergonaut_one.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,11 @@
#include <dt-bindings/zmk/mouse.h>
#include <dt-bindings/zmk/outputs.h>

#define ZMK_MOUSE_DEFAULT_MOVE_VAL 1500 // 600
#define ZMK_MOUSE_DEFAULT_SCRL_VAL 20 // 10

&mmv {
acceleration-exponent = <1>; // 1
time-to-max-speed-ms = <500>; // 40
delay-ms = <0>; // 0
};

&msc {
acceleration-exponent = <1>; // 0
time-to-max-speed-ms = <40>; // 500
delay-ms = <0>; // 10
};

#define U_MS_U &mmv MOVE_UP
#define U_MS_D &mmv MOVE_DOWN
#define U_MS_L &mmv MOVE_LEFT
#define U_MS_R &mmv MOVE_RIGHT
#define U_WH_U &msc SCRL_UP
#define U_WH_D &msc SCRL_DOWN
#define U_WH_L &msc SCRL_LEFT
#define U_WH_R &msc SCRL_RIGHT

#define DEF 0
#define LWR 1
#define RSE 2
#define ADJ 3
#define CON 4
#define MOUSE 5

&lt {
quick-tap-ms = <200>;
Expand Down Expand Up @@ -95,7 +70,7 @@
default_layer {
bindings = <
&kp GRAVE &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &mt BSLH LBKT
&lt MOUSE ESC &hmt LSHFT A &hmt LCTRL S &hmt LALT D &hmt LCMD F &kp G &kp H &hmt RCMD J &hmt RALT K &hmt RCTRL L &hmt RSHFT SEMI &kp SQT
&kp ESC &hmt LSHFT A &hmt LCTRL S &hmt LALT D &hmt LCMD F &kp G &kp H &hmt RCMD J &hmt RALT K &hmt RCTRL L &hmt RSHFT SEMI &kp SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &mt RBKT M &kp COMMA &kp DOT &kp FSLH &kp MINUS
&lt RSE TAB &mt LCMD SPACE &lt LWR SPACE &lt LWR SPACE &mt RCMD BSPC &lt RSE RET
>;
Expand Down Expand Up @@ -136,14 +111,5 @@
&none &none &none &none &none &none
>;
};

mouse_layer {
bindings = <
&none &none &none &none &none &none &none &mkp LCLK &mkp MCLK &mkp RCLK &none &none
&none &kp LSHFT &kp LCTRL &kp LALT &kp LCMD &none &mmv MOVE_LEFT &mmv MOVE_DOWN &mmv MOVE_UP &mmv MOVE_RIGHT &none &none
&none &none &none &none &none &none &msc SCRL_LEFT &msc SCRL_DOWN &msc SCRL_UP &msc SCRL_RIGHT &none &none
&trans &trans &trans &trans &trans &trans
>;
};
};
};

0 comments on commit 781020e

Please sign in to comment.