rusty-xinput
rusty-xinput copied to clipboard
XInputGetStateEx?
There's a bunch of hidden xinput functions in later XInput versions - in particular I'm wondering if you'd be interested in a PR to get XInputGetStateEx (ordinal 100) available, which exposes the Guide button on xbox 360 controllers.
http://reverseengineerlog.blogspot.com/2016/06/xinputs-hidden-functions.html
If so, there's also the question of what the behavior should be when the function is missing. On the one hand, implementing it as just yet another optional function would let the end user detect when it's missing. On the other hand, you're almost certain to just fall back on regular XInputGetState in those cases...