playMaker

Author Topic: Xbox One & PS4 input  (Read 2151 times)

Moonwall

  • Playmaker Newbie
  • *
  • Posts: 11
Xbox One & PS4 input
« on: November 28, 2016, 12:59:23 PM »
Hi guys!
I understand that in Get Key Down action keys marked as "Joystick Button" represent specific buttons on Xbox One and PS4 controllers. But how do I know which button represents specific button on actual controllers?
Let me give you an example - if I want to open an in-game menu when player hits LT on Xbox One controller how do I know which "Joystick Button to use?

Thank you very much!

mr.ffish

  • Playmaker Newbie
  • *
  • Posts: 9
Re: Xbox One & PS4 input
« Reply #1 on: November 29, 2016, 06:57:24 PM »
I use a PS4 controller and this map helped me out a ton.

https://www.reddit.com/r/Unity3D/comments/1syswe/ps4_controller_map_for_unity/

Also, your triggers will be joystick axis, not button. just do some googling to figure out which axis is the left and right trigger. If nothing else, you can always do trial and error. they are most likely the 5th and 6th, or the 7th and 8th.

--mr.ffish