I want to detect when certain buttons are pressed on varying types of VR controls. I’m currently testing with a Vive headset, but I’m looking to make it also Oculus + Index
You can find out the keycodes by using
game:GetService("UserInputService").InputBegan:connect(function(inputobject)
print(inputobject.KeyCode.Name, inputobject.UserInputType.Name)
end)
Can’t use logs while in VR- it’s also making debugging very tricky
There are some things wrong. For one what are ButtonR3 and L3? Second on the right controller, you wrote R2 and L2. But I think I get the idea. But seriously. What’s R3 and L3
When you click on the thumbstick instead of moving them? Possibly, but unsure. I’ll look into it as well to make sure
Sorry for the old thread bump, but would there be an Oculus Rift / Oculus Rift S diagram I could use as well??
Aren’t all the oculus controllers the same?
The hand-drawn diagram, as posted above, was modelled off of one of the legacy Vive Controllers. The Oculus Touch line-up of controllers are all more or less laid out the same way but the Vive Controllers are not, and work differently than the Touch controllers. This also applies to the Valve Index controllers.
I do not need the diagram anymore (as I’ve just fallen back to trial & error), though, so this doesn’t matter. Also, no need to bump a three year old for a question you could’ve asked ChatGPT or Googled
I tried it but it did not show any user input does it only work for vr