XInput : detect device model

Discussion in 'Web development / Programming' started by secator, Oct 31, 2014.

  1. secator

    secator New Member

    Likes Received:

    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 !
  2. Advertisement

Share This Page