sharpdx / SharpDX

SharpDX GitHub Repository
http://sharpdx.org
MIT License
1.7k stars 639 forks source link

[XInput] Gamepad States sometimes omitted #1018

Open auxua opened 6 years ago

auxua commented 6 years ago

Hello everyone,

I am using SharpDX within WPF/Win10 to access xbox controller data using polling the GetState(..) method. When pressing a button shortly, I am not able to detect the button press. The State packetnumber increases by 4 between the two states polled but no flags for the button press can be detected by that. (tested down to 100kHz polling - which I do not think is the actual refresh rate of the controller)

In comparison, the Windows Gamecontroller utility detects the button presses.

Is there any buffering of the states of at least an internal history to tackle that problem?