Skip to content

Conversation

@gonX
Copy link
Member

@gonX gonX commented Jan 25, 2025

Fixes #1947 for 0.6.x. Will warn the user if 10 consecutive resets have been hit. Unsure if this should error instead.

Alternative fixes could have been calculating a ratio, maybe >10%? It would help detect resets times that are marginally too low, especially in the case of 200hz tablets that alternate between 4 and 6ms reports (as seen in 200Hz USB1.1 Wacoms).

Enabling data validation in the UI seems like a larger undertaking: https://gist.github.com/cwensley/8348615c67618dc46102 We can actually just check in ApplySettings() if needed. Propagating it back into the UI is the hard part.

@gonX gonX added enhancement New feature or request core OpenTabletDriver core library labels Jan 25, 2025
@gonX gonX added this to the v0.6.5.1 milestone Jan 25, 2025
@gonX gonX linked an issue Jan 25, 2025 that may be closed by this pull request
@gonX gonX added the needs-forward-port PR or its features needs to be ported to development branch label Jan 25, 2025
@gonX gonX marked this pull request as draft January 27, 2025 14:11
@gonX
Copy link
Member Author

gonX commented Jan 27, 2025

Apparently saving with a reset time of 0 resets your entire config, this will need fixing before merge.

@gonX
Copy link
Member Author

gonX commented Jan 27, 2025

Fixed the above config reset issue. You can still save with a zero reset time, but loading a profile with a zero resettime just "invisibly" sets it to the default (100ms). I am unable to figure out how to propagate this into the UI.

@gonX gonX marked this pull request as ready for review January 27, 2025 21:00
@gonX gonX force-pushed the 06x-relativeoutputmode-warn-low-reset-times branch from 4ee669f to fcf5609 Compare January 27, 2025 21:06
@gonX
Copy link
Member Author

gonX commented Jan 27, 2025

Thinking further about it, I just tore out the zero resettime logic. We can revisit this later - the PR is already a significant improvement over existing behavior.

@gonX gonX requested a review from jamesbt365 January 27, 2025 21:22
@gonX gonX merged commit 3c5941d into OpenTabletDriver:0.6.x Jan 29, 2025
9 checks passed
@gonX gonX deleted the 06x-relativeoutputmode-warn-low-reset-times branch January 29, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core OpenTabletDriver core library enhancement New feature or request needs-forward-port PR or its features needs to be ported to development branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Relative mode no movement with very low reset times.

2 participants