SensiMouse CLI
May 3, 2023 ยท View on GitHub
CLI tool for setting system-wide mouse sensitivity and acceleration on macOS.
Usage
sensi-mouse [-s <sensitivity>] [-a <acceleration>]
Options
-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
Example
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
Build from source
Dev dependencies:
- llvm
- clang
- rust
Install dependencies:
xcode-select --install
Build
make
Install
sudo make install
Uninstall
sudo make uninstall
Run at startup
Add to launchd
make launchd-add
Remove from launchd
make launchd-remove
Library
mac-mouse-sys - Tiny wrapper for mouse-related functions in macOS IOKit/hidsystem
License
This project is licensed under the MIT License - see the LICENSE file for details