• Stars
    star
    229
  • Rank 174,666 (Top 4 %)
  • Language
    C++
  • License
    GNU General Publi...
  • Created about 6 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Xbox 360 Controller (XInput) Polling Rate Checker

Xbox 360 Controller (XInput) Polling Rate Checker

GitHub Release Github Downloads Github Commits (since latest release) GitHub Repo Size in Bytes Github License

Simple Tool to Check the Latency and Update Rate of a Xbox 360 Controller, or Virtual XInput Device (DualShock 3/4)

Changelog v1.2.0.0 (Latest Version)

  • Added Filter for Latencies below 0.5 ms
  • Added 64-bit Binaries

Changelog v1.0.0.2 (Download)

  • Added Rapid Outlier Detection (thanks to Mahito Sugiyama)
  • Added XInput Controller Class (thanks to Minalien)
  • Added Jitter Calculation

Why?

I wanted to measure the Latency of my DualShock 3/4 Controllers via USB and Bluetooth, but haven't found a Tool which let me do this. Although you can find Videos and Articles about the Update Rates, I wanted to check them by myself.

I'm using the XInput Library, because most of the Games are using it for Xbox 360 Controllers. And I wanted to measure the Latency that the Game is "seeing". Furthermore it allowed me to test various Controllers, without rewriting Code.

How Does It Work?

This Tool polls the Gamepad Status several thousand Times a Second, and measures the Time between two distinct Gamepad Reports, aggregates the Data (Average, Min, Max), calculates the Jitter and detects Hiccups (Outliers).

Although you might get slightly different Results every Time you run the Test (because of the Distance to your Dongle, Hardware, etc) it's generally a good way to compare the Performance of your Gamepad and/or Bluetooth Devices.

Credits