CLI tool for setting system-wide mouse sensitivity and acceleration on macOS.
sensi-mouse [-s <sensitivity>] [-a <acceleration>]
-s <sensitivity>
: Set mouse sensitivity, range is 10-1990-a <acceleration>
: Set mouse acceleration, range is 0-10000000, default is 45056, 0 means disable acceleration-d
: Run as daemon, will check and re-apply mouse settings if system settings are changed or affected by other programs-h
: Show help
sensi-mouse # set sensitivity to 190 and disable acceleration
sensi-mouse -s 180 # set sensitivity to 180 and disable acceleration
sensi-mouse -s 100 -a 50000 # set sensitivity to 100 and acceleration to 50000
sensi-mouse -s 190 -a 0 -d # set sensitivity to 190 and disable acceleration, run as daemon, program will not quit
Dev dependencies:
- llvm
- clang
- rust
Install dependencies:
xcode-select --install
make
sudo make install
sudo make uninstall
make launchd-add
make launchd-remove
mac-mouse-sys - Tiny wrapper for mouse-related functions in macOS IOKit/hidsystem
This project is licensed under the MIT License - see the LICENSE file for details