5
\$\begingroup\$

I am currently working on a 2D game in Unity3D with an option to play with a gamepad/controller. I would like the PS4/dualshock 4 controller to vibrate. I am on mac. I have looked into Xinput but I think it is only for Windows, I may be wrong.

\$\endgroup\$
1
  • \$\begingroup\$ Yes, XInput is Windows. Controllers are far from standardized, that's why you're best off using an existing library that offers controller support instead of spending months on your own implementation. One that supports Dualshock 4 vibration on OS X is guavaman.com/projects/rewired/docs/SupportedControllers.html \$\endgroup\$ Commented Mar 29, 2017 at 16:55

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.