Forum Discussion
tbkuno
8 years agoExplorer
How to disable xbox input?
Hi,
I'm using the OVRPlayerController for my project, and I would like disable the xbox controller input so it's not being used for locomotion. Through the Input Preferences in Unity I've already managed to assign the x and y axis input to other functions, but I'm still moving around when using the xbox controller.
Is there a way to disable the xbox input and continue using the touch input?
I'm using the OVRPlayerController for my project, and I would like disable the xbox controller input so it's not being used for locomotion. Through the Input Preferences in Unity I've already managed to assign the x and y axis input to other functions, but I'm still moving around when using the xbox controller.
Is there a way to disable the xbox input and continue using the touch input?
- There is not a great way to do this currently, but you can disable gamepad support within OVRPlayerController and OVRInput (which it is using internally) by modifying OVRInput.cs.
You can comment out this line: "new OVRControllerGamepadPC()," in the static OVRInput() constructor to prevent the gamepad from being added into the supported controllers list.
2 Replies
Replies have been turned off for this discussion
- kerskMeta EmployeeThere is not a great way to do this currently, but you can disable gamepad support within OVRPlayerController and OVRInput (which it is using internally) by modifying OVRInput.cs.
You can comment out this line: "new OVRControllerGamepadPC()," in the static OVRInput() constructor to prevent the gamepad from being added into the supported controllers list. - tbkunoExplorerThanks guys, I'm going to give this a try!
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
- 2 months ago
- 2 years ago
- 3 months ago
- 2 years ago
- 8 months ago