Joined
·
1 Posts
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 !
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 !