Vive Tracker (Hyperblaster) haptic feedback is too long if used as Vive controller

mmorselli
Settler

Vive Tracker (Hyperblaster) haptic feedback is too long if used as Viv...

The Hyperblaster haptic feedback works fine when used with a few (5) compatible games, such as Arizona Sunshine or The American Dream, but redirecting controller input to tracker via OpenVR Input Emulator, or using it as controller after role change (Vive Tracker Role Changer) any haptic events (typically a shot) last about 3 seconds instead of a few milliseconds as in the original controller. I tried to read the tracker  pin 1 (output)  directly and I can confirm that it remains high for about 3 seconds. Tested with two trackers (v1.0)

 

That's sad because it prevents using the hyperblaster or other guns in any games except for those 5

is there anything I can try to fix it?

 
Highlighted
Vive Staff

Re: Vive Tracker (Hyperblaster) haptic feedback is too long if used as...

@foo, any thoughts on this? 


David R

Technical Specialist - San Francisco, CA; Monday-Friday

Click here to send me a PM

mmorselli
Settler

Re: Vive Tracker (Hyperblaster) haptic feedback is too long if used as...

I've done more tests, it lasts exactly two seconds, even with a very short pulse. In the video below I'm driving a solenoid, but with the hyperblaster is the same


https://youtu.be/g_TSzzmVDwU

mmorselli
Settler

Re: Vive Tracker (Hyperblaster) haptic feedback is too long if used as...

well, another night of testing and now I know what is the problem

 

The OpenVR function TriggerHapticPulse() acts  in a different way if sent to Vive Tracker or a Vive Controller

the third parameter (usDurationMicroSec) if sent to a tracker acts (almost) as you expect, the pulse lasts as many milliseconds as the indicated microseconds (sic!)

when sent to a controller, it acts as a pulse intensity, not a pulse duration, the pulse is always very short, a value of 50 is barely noticeable, a value of 2000 is quite strong. When a developer places a gun in a game he obviously wants robust feedback, so he sets >2000, which means "2 seconds" for the tracker

any hints to fix the problem?

mmorselli
Settler

Re: Vive Tracker (Hyperblaster) haptic feedback is too long if used as...

Labels