Skip to main content
Participant
June 27, 2015

Problem with OVRGamepadController

I'm seeing a strange issue when I make the following call:
float rightAxisY = OVRGamepadController.GPC_GetAxis(OVRGamepadController.Axis.RightYAxis);

When I move the right stick up on my gamepad, it does as expected going from 0.0 to -1.0.

However, when I move the stick down, the value of rightAxisY goes from 0.0 to about 0.95, and then it all of a sudden jumps to -1.000042 when the stick is all the way down, making it seem like the stick is actually all the way up. Has anyone else seen this, and is there a solution? Am I using OVRGamepadController wrong?
    This topic has been closed for replies.

    1 reply

    dustumsAuthor
    Participant
    June 27, 2015
    To solve my issue, I just switched to using standard Input calls and don't use OVRGamepadController at all.
    float rightAxisY = Input.GetAxis ("Desktop_Right_Y_Axis");

    Does OVRGamepadController provide anything that standard Input calls doesn't?