How to use the joystick vibration motor?

Hello everyone.

I need to make the joystick vibrate in certain parts of the game, but I didn’t find anything about it in the Novo Input System doc.
Unfortunately I don’t know how to solve this problem, if someone can help me I will be very grateful.

In the past, you had to use a separate XInput library, but it looks like the new Input system’s Gamepad class has haptics support: SetMotorSpeeds.

See github for some examples of it in use.

1 Like

Thank you very much @idbrii I managed to solve the problem with the link to the examples you posted =)

1 Like