Forum Discussion
dustums
10 years agoHonored Guest
Problem with OVRGamepadController
I'm seeing a strange issue when I make the following call:
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?
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?
1 Reply
Replies have been turned off for this discussion
- dustumsHonored GuestTo 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?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago
- 8 months ago