PS3 joystick axes - what are they for Windows?

I’m trying to get a second player in my game controllable via a connected PS3 controller.

The controller is detected by Unity already, and I’m able to make the second player fire with the R1 button. Also, I when I set input type of the axis to “Joystick Axis”, setting the axis as “X” allows use of the left/right directional buttons, and the same applies to the use of “Y” and the up/down directional buttons.

However, I really want/need the use of the joysticks. I want the left joystick to move the player and the right stick to rotate the player.

Thank you.

Bump… please help me :cry:

If you’re using Windows, you have to be using a 3rd party driver to even get the PS3 controller to work. That critical information to know because each driver will likely have a completely different mapping.

All you really need to do is use a tool that will show you in real-time as you move your controls around. Here is a free one on the asset store. However, don’t expect the mappings to work on your customers’ computers unless they use the same driver you are.