Finding out whether a DirectInput device supports XInput (with mingw/gcc)
- by Mr. Wonko
I'm working on an input system, wrapping DirectInput and XInput. Currently XInput devices are enumerated twice, once as XInput and once as DirectInput (since they support both).
How can I find out if a given DirectInput device also supports XInput? There is this MSDN page on the topic, but it requires wbemidl.h and wmsstd.h which aren't available in mingw/gcc (and for some reason I want to avoid msvc - probably by habit).
I don't think blacklisting device names/guids is a good solution, but is there a better one?
Thanks.