Search Unity

XBox controller Input mapping

Discussion in 'Input System' started by TH3_M3CH, Nov 23, 2020.

  1. TH3_M3CH

    TH3_M3CH

    Joined:
    Apr 20, 2019
    Posts:
    2
    I've been trying to figure out the mappings for each button and joystick for bluetooth controllers on macOS. The input map for wired and bluetooth connected controllers seem to be completely different, but I've managed to figure out most of them. The only one I haven't figured out is for the left and right triggers.

    Left stick:
    Horizontal = X axis
    Vertical = Y axis
    Press = JoystickButton14

    Right stick:
    Horizontal = 3rd axis
    Vertical = 4th axis
    Press = JoystickButton15

    Buttons:
    Button screen = JoystickButton16
    Button list = JoystickButton12
    Button A = JoystickButton1
    Button B = JoystickButton2
    Button X = JoystickButton4
    Button Y = JoystickButton5
    Button LB = JoystickButton7
    Button RB = JoystickButton8

    Triggers:
    Trigger LT =
    Trigger RT =
     
  2. anamaux

    anamaux

    Joined:
    Mar 6, 2015
    Posts:
    20
    I'm having the same issue as you, I can't find anything for the triggers, but can find the rest. Did you end up finding these mappings?
     
  3. TH3_M3CH

    TH3_M3CH

    Joined:
    Apr 20, 2019
    Posts:
    2
    No, I couldn't figure it out. I ended up just using the bumpers instead.