No description
- Swift 87.5%
- C 9.8%
- JavaScript 1.6%
- Objective-C 0.6%
- Shell 0.3%
- Other 0.2%
|
Some checks are pending
Build / build (push) Waiting to run
## Summary Allow Logitech gesture-button controls to behave like regular mouse buttons when no gesture is detected. Previously, Logitech virtual/gesture controls were treated as fully handled as soon as the gesture transformer saw them. That prevented the Logitech fallback synthetic click from being posted, so a configured gesture button could trigger gestures but would not preserve normal click behavior. This changes Logitech control handling from a boolean handled/not-handled result to a small enum so handlers can distinguish between: - controls that are fully handled internally - controls that are not handled - gesture controls that are handled for gesture tracking but should still allow synthetic fallback click events With this, a Logitech gesture button can: - fall through as a click when released without crossing the gesture threshold - trigger the configured gesture when dragged past the threshold - suppress the click action after a gesture fires ## Testing - `xcodebuild test -project LinearMouse.xcodeproj -scheme LinearMouse` - `swiftformat --lint` on changed Swift files - `swiftlint --strict` on changed non-legacy Swift files |
||
|---|---|---|
| .github | ||
| .vscode | ||
| Documentation | ||
| LinearMouse | ||
| LinearMouse.xcodeproj | ||
| LinearMouseUnitTests | ||
| Modules | ||
| Scripts | ||
| .gitignore | ||
| .swift-version | ||
| .swiftformat | ||
| .swiftlint.yml | ||
| ACCESSIBILITY.md | ||
| CLAUDE.md | ||
| CODE_OF_CONDUCT.md | ||
| Config.xcconfig | ||
| CONTRIBUTING-cn.md | ||
| CONTRIBUTING.md | ||
| crowdin.yml | ||
| ExportOptions.plist | ||
| LICENSE | ||
| logo.svg | ||
| Makefile | ||
| package-lock.json | ||
| package.json | ||
| README-cn.md | ||
| README.md | ||
| Signing.xcconfig.tpl | ||
LinearMouse
The mouse and trackpad utility for Mac.
Get started
Please visit https://linearmouse.app.
Contribute
Please read the contributing guide before making a pull request.
Help translate
Please sign up for Crowdin and join our Crowdin project to translate LinearMouse into supported languages. It is recommended to sign in Crowdin using GitHub, so that I can add you as a co-author when I merge the pull request.
If you want to add a new language, please create a new issue and I will be happy to enable that language for you to translate.
I'm not a native English speaker, so if you find any English localization issues, feel free to correct me by creating a pull request.
Sponsors
Please visit https://go.linearmouse.app/donate.
Credits
- Mac Mouse Fix - The way to modify the pointer speed (sensitivity) is inspired by Mac Mouse Fix.