Search Unity

how to set a non xbox joystick to rumble/vibrate in unity 5.1.2f1 with any library?

Discussion in 'Windows' started by Monstermash28425R1, Sep 14, 2017.

  1. Monstermash28425R1


    Sep 8, 2016
    I played Need For Speed Most Wanted and saw that when the car turn my joystick vibrates .... that's not the important thing! the truth is that my joystick is not an xbox console, it is a normal usb control created for pc, it looks like the Playstation controls line, I will leave an image below, it is done is that I have used several libraries in unity to make it my control vibrates but those libraries are only for an xbox controller I used XInputDotNetPure.dll and other scripts created by users of Unity ... I think the way to do this is using the DirectX library since GTA san andreas also works with my controller, so when I thought about using unity, it throws an error ... using Microsoft.DirectX.DirectInput; Unity tells me that the library can not be found, is there any way to use DirectX in Unity? some serious reference for help thanks and sorry for my bad english

    this is mi controller