Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | – | X |
Detect a VR button:
- One
- Two
- Three
- Four
- PrimaryThumb
- SecondaryThumb
- TouchL
- TouchR
Parameters:
- button
- A string value
returns a Boolean (true or false) value
Example:
1 | obj.buttonVR(button) |