Jump to content

Unable to click with Trigger on Valve Index controller


Alloystorm

Recommended Posts

Attached image is my raycaster setup, pretty much out of the box. This works fine in Windows Mix Reality, and possibly other headsets but a user with Vive reports that he can't interact with UI, it has the laser pointer but the trigger button it doesn't click. 

I don't have a Vive setup to verify that, just wondering if someone else had this issue before? 

 

Also, is there any channel to get access to VIVE headset & controller for development purpose without having to buy it? It feels a bit outdated to get a vive in 2019 even if funding is not an issue. 

 

 

Screen Shot 2019-08-26 at 10.30.55 am.png

 

@chengnay

Link to comment
Share on other sites

After surveying other users, I'm thinking the user probably confused Valve with Vive, other users also reported the same problem with Valve Index controllers, the pointer works but they can't click with Trigger on the Index controller.

Has this been reported by others before? Is there any solution for Valve Index controls? 

 

I'm not using any other VR plugin or SDK. just pure Unity with Vive Input Utility. It works fine on almost all other systems, just not on Index.

 

@chengnay

Link to comment
Share on other sites

  • 2 weeks later...

@Alloystorm Currently, VIU does not support Valve Index controller.

I was able to borrow an Index device, and I make it working.

Please update the following file script(Assets\HTC.UnityPlugin\VRModule\VRModuleBase.cs) and you are good to go.

I added the followings,

line 23,

private static readonly Regex s_indexRgx = new Regex("^.*(index).*$", RegexOptions.IgnoreCase);

line 225,

else if (deviceState.deviceClass == VRModuleDeviceClass.Controller && (s_knucklesRgx.IsMatch(deviceState.modelNumber) || s_indexRgx.IsMatch(deviceState.modelNumber)))

VRModuleBase.cs

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...