Skip to main content
Inspiring
April 21, 2018

In OculusUtilities' OVRPlayerController, is there a way to modify the D pad buttons for the xbox1?

When yuo load the OVR player controller, movement is already available with the joysticks. PLUS the D pad also does movement, like faster running. But i don't want that. I want to use the D pad for my own actions. Is there a way to edit it?
This topic has been closed for replies.

2 replies

Inspiring
April 24, 2018
Thank you very much. I know about the names of the Buttons and how to check them if pressed. But what i'm saying is, by default the PlayerControllerOVR already has actions mapped to those buttons. Specifically moving forward fast. But i don't want that action for the Dpad UP. I want my own action.
Inspiring
April 30, 2018
Like all the scripts in the Assets/Oculus/VR/Scripts/Util folder, OVRPlayerController makes some assumptions about your use case and is designed to be easy for you to modify and replace. Please feel free to edit the script and change the buttons that are checked by the code - for example, UpdateMovement checks OVRInput.Get(OVRInput.Button.DpadUp)), which you could change to something else, like Input.GetButton("Forward") if there is a "Forward" button defined in your input settings.