Gamepads polling rate and synthetic latency tester
Based on the method of Christian P.: https://github.com/chrizonix/XInputTest
Pyhon code written by John Punch
A website with a catalog of tested gamepads: https://gamepadla.com
ABOUT POLLING
Polling is an easy way to check the polling rate of your gamepad. This tool will help you get accurate data about your controller's performance, which can be useful for gamers, game developers, and enthusiasts.
Polling works with most popular gamepads and supports DInput and XInput protocols, making it a versatile solution for testing different types of controllers.
DISCLAMER
Polling measures the latency between successive changes in the position of the analog stick on the gamepad, rather than the traditional input latency, which measures the time between pressing a button on the gamepad and a response in a program or game.
This method of measurement can be affected by various factors, including the quality of the gamepad, the speed of the computer's processor, the speed of event processing in the Pygame library, and so on.
Therefore, although Polling can give a general idea of the "response" of a gamepad, it cannot accurately measure input latency in the traditional sense. The results obtained from Polling should be used as a guide, not as an exact measurement of input latency.
Here's how to use Polling: