Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Why can Android player recognize DInput devices, while Windows can only recognize XInput devices?

Discussion in 'Input System' started by emredesu, Nov 27, 2022.

  1. emredesu

    emredesu

    Joined:
    Aug 12, 2021
    Posts:
    50
    Hey, I just bought a Logitech F310 to test out how both the XInput and DInput modes would function. While the XInput function seems to perform flawlessly, the DInput mode does not work at all. The input system recognizes it and assigns it to the correct input scheme, however none of the buttons work at all. Nothing happens. However, if I build for Android and connect the same controller on the phone, whether the controller is on DInput or XInput mode, the game works without any issues. What is the difference between these platforms that causes this? Is it possible for me to fix this issue on Windows to have support for DInput gamepads as well?