-
Notifications
You must be signed in to change notification settings - Fork 0
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
V4.1 timer #42
V4.1 timer #42
Conversation
-Fix interval timer running every loop - Add commenting
Integrate timer
Things to fix to integrate (fixed) timers into 4.1 code:
|
Clarify action mapping
Add comments for main timer loop
…hange/LipSync into v4.1-timer" This reverts commit 52b0640, reversing changes made to f576da1.
Re-add new timer code.
Put numRuns++ before function call in timer, since some functions use that to determine operation.
Updated hardcoded values with named constants
Fix bug where timers were not deleting after running a set number of times
Moved where timers were being incremented so they would run the correct number of times and then delete the timer. Also reformatted the switch case to a shorter if statement.
Added small delay to allow sip and puff to work more consistently on startup
Clean up comments
In mouse "click" function (both USB and BT), should a delay be added between button press and release? Currently, a mouse report is sent to press the button and then immediately to release it. Check if this causes clicks to not always be registered, such as middle click. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes timer delays, causing poll speed to be affected by defined poll delays. Seems to maintain performance with current poll speeds.
Variable cleanup and commenting
No description provided.