Jump to content
 
Alloystorm

Unable to click with Trigger on Valve Index controller

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

Share this post


Link to post
Share on other sites

@Alloystorm Could I know what other plugin SDKs you have imported to the project?

Did you try any of VIU example scene?

Could you provide any sample project for verification?

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
Posted (edited)

It seems I can't change the post title. Can moderators update my title to replace "Vive" with "Valve Index"?  Don't want to mislead others.

 

Very sorry for the misleading title.

Edited by Alloystorm

Share this post


Link to post
Share on other sites

@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

Share this post


Link to post
Share on other sites

@Alloystorm This is a temporary fix for you not to obstruct your development.

Please wait for VIU formal release in the future, thanks!

You can always get the latest update from VIU GitHub.

Edited by chengnay

Share this post


Link to post
Share on other sites

Please sign in to comment

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

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...