forked from AlaaSaadAbdo/zmk-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
47 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#define ZMK_MOUSE_DEFAULT_MOVE_VAL 1500 // 600 | ||
#define ZMK_MOUSE_DEFAULT_SCRL_VAL 20 // 10 | ||
|
||
#include <dt-bindings/zmk/mouse.h> | ||
|
||
// Config from @caksoylar, defaults in comments | ||
&mmv { | ||
acceleration-exponent = <1>; // 1 | ||
time-to-max-speed-ms = <500>; // 300 | ||
delay-ms = <0>; // 0 | ||
}; | ||
|
||
&msc { | ||
acceleration-exponent = <1>; // 0 | ||
time-to-max-speed-ms = <40>; // 300 | ||
delay-ms = <0>; // 0 | ||
}; | ||
|
||
#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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters