Repository navigation
Controller test: polling rate and a tip about button pictures - #36
Merged
Merged
Conversation
'Measure polling rate' counts how often the controller sends new data for two seconds while a stick moves (the helper reads XInput as fast as it can on its own thread) and explains what the number means. A short tip explains why games can show Xbox buttons for a PlayStation controller and what usually helps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before: people could not tell whether their Bluetooth controller was slow, and games showing Xbox buttons for a PlayStation controller had no explanation anywhere.
After: the controller test has "Measure polling rate": move a stick for two seconds and InputSplit shows about how many updates per second the controller sends, with a hint on what is normal (Bluetooth 125–250, USB 250–1000) and when a cable helps. A short tip under the test explains why button pictures can be wrong and what usually helps.
How: the helper's
measurePollingRatestarts a thread that reads XInput as fast as it can for two seconds and counts packet-number changes, then emits apollingRateevent (the RPC returns at once, so the ping watchdog is unaffected). Not yet tried on real Windows.