Next Generation Emulation banner

XInput : detect device model

1K views 0 replies 1 participant last post by  secator 
#1 ·
Hi,

I'm programming a game, and I would like to display the name of the pad device currently in use.
When using XInput (the API I could have vibrations working with), I could not find a way to detect the device model, or name or whatever.

In the case of a single connected device, I could get that information via other APIs (winmm, hid...).
But supposing I connected a X360 pad and a XBoxOne pad, I don't know how to match XInput detected devices with information I got from other APIs.

Would someone know some trick for this ?

Thanks !
 
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top