Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

VR Controller Button Inputs?

Hello scriptinghelpers, I am trying to figure out the names and ids of the Enum codes for Virtual Reality Controllers. For exmaple, if I am trying to detect when a user presses the "Next tool" button on their controller (HTC Vive or Oculus Rift), and when that button is executed, it runs some code...

If any more information is needed, please reply. Thanks!

1 answer

✓ Accepted answer

Im havent tested this method so I’m sorry if it doesn’t work. I think that the controller buttons are “paired up” with the xbox controller buttons. Scroll down to the bottom of the page to see the comparison photos.

https://en.help.roblox.com/hc/en-us/articles/208260046-Roblox-VR

2 comments

0

Never thought of it that way, sounds valid since there are the same number of controls on each device(vr controller and xbox controller), Thanks!

0

No problem, good luck coding!

This discussion is preserved as it was. New answers, comments, and votes are closed.