Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

iOS Game Controller button pressure is either 0 or 1?

Discussion in 'Unity 5 Pre-order Beta' started by JJC1138, Feb 24, 2015.

  1. JJC1138

    JJC1138

    Joined:
    Feb 23, 2012
    Posts:
    89
    Hello. I noticed in one of the Unity 5 release notes that iOS "Game controller button pressure is now also exposed as axis (float) value" and I'm testing that out, but the values I'm getting seem to always be 0 or 1 with nothing in between.

    I'm using Unity 5.0.0f3, getting the values by doing Input.GetAxisRaw("joystick 1 axis 14") and I'm using a steelseries Stratus controller on an iPhone 6 Plus on the latest iOS 8.1.3.

    I know that this controller definitely does report analog pressure for the face buttons, because I can see variable pressure being reported in the Game Controller Tester app.

    Am I doing something wrong, or has anyone else had any success with this?