-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Toggle Function #63
Conversation
- added logging of the global mouse hook
- enable/disable controls when they would conflict the settings
- updated UI - added intelligent tolerance mode
@JannesStroehlein Thank you very much for your contribution! I appreciate it 🙏🏽 |
The typos should be fixed now. |
Hey @JannesStroehlein, I started to review your code and have some notes:
|
@JannesStroehlein hey, I reviewed all code and decided that the toggle feature is great, but the other feature should be split to a separate PR and needs more work. If you want to continue on it just revert the last commit I pushed (47eea86) |
Toggle Autoclicker and Auto stop on mouse movement
Currently I'm "playing" lots of CookieClicker and got repeatedly confused about the start/stop buttons - so I added a button that could do both. I also had a few autoclicker mishaps where I moved my mouse with the autoclicker enabled into another window with unintended results. That's why I added a option to stop clicking when the mouse moves.
Both functions work in hand with the existing code base. The new hotkey is editable in the settings window and also gets saved and unregistered. The hotkey id as well as the button label are saved in the Constants.cs file. The new checkbox's value also gets saved and loaded. I also added a slider to change the tolerance of the mouse movement detection.