Oculus Touch controls?

How would I bind buttons on the Oculus Touch controllers to execute functions?

1 Like

Assuming you have an Oculus Touch yourself, you could try connecting some event handlers to UserInputService’s methods (i.e. InputBegan), and print what keycodes/input types are triggered when you test and press some of the buttons on the controllers. You would then know what keycodes you have to listen to. If nothing is printed for any UserInputService method, it might be that the controllers are not properly supported.

There are also a couple of open-sourced VR games here by Roblox that might help development in VR:
https://www.roblox.com/users/118201647/profile#!/creations

Thanks :smiley:
Found out that the controllers use normal controller inputs like the Dualshock 4 or Xbox controller.

I’d like to know if it’s possible to disable the blue line created by the right controller in game, I tried to look it up but didn’t find anything.

image

EDIT:

I found out that I can disable the blue line by using this function

StarterGui:SetCore(“VRLaserPointerMode”, 0)

5 Likes