openvr icon indicating copy to clipboard operation
openvr copied to clipboard

Oculus Rift Touch Buttons and Haptic Feedback

Open plmayer opened this issue 10 years ago • 3 comments

Hi,

I'm trying to integrate the Oculus Rift Touch controllers from within the SteamVR Unity Scripts. While the Grip, Trigger, and TrackpadPress buttons can be checked via the SteamVR_Controller.GetPress() method, the B, Y, and App Menu buttons don't seem to register at all. The A and X buttons register as "ApplicationMenu". Furthermore, haptic rumble feedback doesn't seem to do anything.

To be clear, this code:

device = SteamVR_Controller.Input(...someIndex...); print(device.GetState().ulButtonPressed)

simply returns all zeroes if the B, Y, and app menu are pressed.

Is this a known issue? Has anyone got the Touch controllers working with OpenVR?

Thanks!

-plmx

plmayer avatar Nov 28 '16 14:11 plmayer

Try the latest SteamVR beta update. The B and Y buttons register as k_EButton_ApplicationMenu. A and X register as k_EButton_A. Haptics should also be functional now.

JeffLeinbaugh avatar Dec 02 '16 01:12 JeffLeinbaugh

Confirmed. Thanks!

plmayer avatar Dec 02 '16 08:12 plmayer

There is still an issue with haptics and Oculus Touch controllers, I've created a new thread about it: #639

JohnAlcatraz avatar Oct 01 '17 23:10 JohnAlcatraz