Jump to content
 
Sign in to follow this  
arjun

How to get input from tracker when the controllers are connected

Recommended Posts

I tried everything and I am not able to receive any input from tracker when the controllers are on. If I turn them off, I receive the input. I dont need to get the inputs from Left and Right controller, I only need to track them. What can I do to make this possible?

 

SteamVR 2.2

VIU v.1.10.4

HTC Vive

Share this post


Link to post
Share on other sites

 What type of input you want from tracker?

Are you using any accessories for tracker?

Share this post


Link to post
Share on other sites

I've also reach the same situration.
i am using the hyper blaster with the tracker (2018), i cannot get the trigger/pag/menu/grip input from the tracker once the controllers are connected.

Share this post


Link to post
Share on other sites

 Didn't you mention that you can get at least one tracker input?

I am still verifying the multiple trackers case.

Share this post


Link to post
Share on other sites

For unity 2019.1, i can get input from 2 controllers and 2 trackers poco input at most, usually 2 controllers and 1 tracker poco input only.

For unity 2018.3, i only can get 2 devices input.
e.g. 2 x controllers OR 1 controller and 1 tracker poco OR 2 trackers poco
If i turn on the controller, the controller will take over the trackers input immediately, which means i can only use either 2 of controller or trackers input.
p.s. if i turn on 2 controllers, trackers are not able to get input but still can track the position.

Share this post


Link to post
Share on other sites

 I was using Unity 2018.3.5f1, I can get 2 controllers with 1 tracker input.

You can try modify the role of tracker and play your app again.

Not sure why sometimes tracker will not be able to get input, after I switched role, it works again.

Share this post


Link to post
Share on other sites

  Thank you for your reply.
Is it only support 1 trackers input? Could you please help to try get input from 4 trackers or more at the same time? 

Share this post


Link to post
Share on other sites

 I still working on multiple tracker input debugging. Sorry for the delay.

Share this post


Link to post
Share on other sites

 I got the same result for Unity 2019.1.7f1 and 2018.3.5f1.

Two controllers and one tracker input.

Even I turn off 2 controllers, I can only get 1 tracker input.

I couldn't get 2 trackers input. 

Share this post


Link to post
Share on other sites

 I am rolling back SteamVR version to double check. I will need more time to debug this part.

Share this post


Link to post
Share on other sites

I found something strange.

In SteamVR Input Debugger I was able to see the tracker input being pressed.

But, in Unity app, I couldn't see anything. At most I can see is 1 tracker input.

I just sent Steam message to see if they can help resolving this issue.

Share this post


Link to post
Share on other sites

  I found the root cause for not getting tracker input.

Could you follow below steps to fix the issue?

 

1. Replace all files in zip file(PartialInputBindings.zip) attached to the Assets\HTC.UnityPlugin\ViveInputUtility\Scripts\Misc\SteamVRExtension\PartialInputBindings

2. Remove json files in your project root path

  - actions.json, bindings_*.json

3. Remove Assets\SteamVR_Input folder

4. Go to Edit>Preferences>VIU Settings, uncheck and check the VIVE option to allow "View Recommended Settings" to appear.

5. Click on View Recommended Settings and click Use recommended to Apply VIU Action Set

 

Let me know whether above steps work for you, thanks!

Share this post


Link to post
Share on other sites

 Thank you for your help, but it still doesn't work
i am testing with 3 trackers, i can see the input debugger received all 3 inputs from trackers. But There is still only one trackers input was received in unity.
p.s. I did the test with a new project.

Share this post


Link to post
Share on other sites

 Could you show me your project root directory?

Do you have these files(.json) as shown in the image?

Also, could you show me the Manage Tracker screenshot?

Are you using your own scene or any of VIU example scenes?

Could you share your project to me?

Share this post


Link to post
Share on other sites

 i've try again and it works! 3 trackers were using and i am going to try with more. Waiting for the delivery~

Share this post


Link to post
Share on other sites
Posted (edited)

 

On 6/24/2019 at 11:21 PM, chengnay said:

PartialInputBindings.zip

Hello, 

May I ask where I can get these replacement json files? 

 

Thanks

Edited by Pandiabolism

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
Sign in to follow this  

×
×
  • Create New...