-
-
Notifications
You must be signed in to change notification settings - Fork 442
[06x] RelativeOutputMode warn on reset spam #3750
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
[06x] RelativeOutputMode warn on reset spam #3750
Conversation
|
Apparently saving with a reset time of 0 resets your entire config, this will need fixing before merge. |
|
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. |
… due to too low reset time
Co-authored-by: jamesbt365 <jamesbt365@gmail.com>
4ee669f to
fcf5609
Compare
|
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. |
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/8348615c67618dc46102We can actually just check inApplySettings()if needed. Propagating it back into the UI is the hard part.