Skip to content
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

Merged
merged 18 commits into from
Feb 19, 2025
Merged

V4.1 timer #42

merged 18 commits into from
Feb 19, 2025

Conversation

jakemcivor
Copy link
Member

No description provided.

-Fix interval timer running every loop
- Add commenting
Integrate timer
@jakemcivor
Copy link
Member Author

Things to fix to integrate (fixed) timers into 4.1 code:

  1. Adjusting poll timers to match previous version
  2. Fixing Bluetooth no-connection blink
  3. Check full calibration

jakemcivor and others added 14 commits February 12, 2025 10:35
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
@jversloot
Copy link
Contributor

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.

@jversloot jversloot linked an issue Feb 18, 2025 that may be closed by this pull request
Copy link
Contributor

@jversloot jversloot left a 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.

@jversloot jversloot linked an issue Feb 19, 2025 that may be closed by this pull request
Variable cleanup and commenting
@jakemcivor jakemcivor merged commit 76a7948 into v4.1 Feb 19, 2025
@jakemcivor jakemcivor deleted the v4.1-timer branch February 19, 2025 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants