-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Downloads
Posts posted by SolidJuho
-
-
@chengnayHey, I am using Unity 2019.4.17f.
And yes, trigger is not working at all. GetPress, GetAxis nor GetTrigger. -
Hello,
I am using HTC Vive Trackers, VIU 1.12.2, SteamVR 2.7.4.
I am trying to get data when trigger is pressed by connecting pin 1 to pin 4, but I am not getting logs.
It is working and logging data for all other pins correctly, only pin 4/trigger is one not working.
I have tested and checked that all pins are working correctly in SteamVR test mode.
This is my current code to log all tracker data for debug purposes only:foreach (TrackerRole track in Enum.GetValues(typeof(TrackerRole))) { foreach (ControllerButton item in Enum.GetValues(typeof(ControllerButton))) { if (ViveInput.GetAnyPress(track, new ControllerButtonMask(item))) { Debug.Log("GetPress: " + track.ToString()+" " + item.ToString()); } } foreach (ControllerAxis item in Enum.GetValues(typeof(ControllerAxis))) { if (ViveInput.GetAxisEx(track, item) > 0.5f) { Debug.Log("GetAxis: " + track.ToString() + " " + item.ToString()); } } if (ViveInput.GetTriggerValueEx(track) > 0.5f) { Debug.Log("GetTrigger: " + track.ToString()); } }
Vive Tracker Pogo pin 4 no input with VIU.
in VIVE Input Utility
Posted
@chengnay Yes, I just tested on VIU Example 0. Tutorial scene.
All other pins are working, expect trigger.