Skip to content

Controller test: polling rate and a tip about button pictures - #36

Merged
narkotrxll merged 2 commits into
mainfrom
feature/polling-rate
Oct 16, 2026
Merged

narkotrxll merged 2 commits into
mainfrom
feature/polling-rate

Conversation

@narkotrxll

@narkotrxll narkotrxll commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

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 measurePollingRate starts a thread that reads XInput as fast as it can for two seconds and counts packet-number changes, then emits a pollingRate event (the RPC returns at once, so the ping watchdog is unaffected). Not yet tried on real Windows.

'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.
@narkotrxll
narkotrxll merged commit 65666d4 into main Oct 16, 2026
3 checks passed
@narkotrxll
narkotrxll deleted the feature/polling-rate branch October 16, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant