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

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

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

I haven't tried, but ironically the tracker should work better with this bug, because it interprets duration... as a duration, not as a force, so a limit to usDurationMicroSec should be a good workaround.

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

Well like I said it's been fixed in a just updated OpenVR update (yet to be included in SteamVR or the Unity beta plugin).

But regarding "redirecting controller input to tracker via OpenVR Input Emulator, or using it as controller after role change (Vive Tracker Role Changer) " please note that both of these can now be considered EOL due to the new button/role bindings in the new input system in SteamVR.

That being said, once you do map a hand role to a tracker (the bindings can be customized by the user via settings within the headset or at the desktop running SteamVR at http://127.0.0.1:8998/dashboard/controllerbinding.html ) then the class id will be changed from generic_tracker to controller according to the latest release notes for the latest release version of SteamVR. Technically this would break existing apps that used the generic tracker class id for hand roles however it can now role change to identify as a controller (left/right or both) and allow any shooter game use a tracker with a Hyperblaster. Moving forward, these SteamVR apps that broke should get updated and specify default action mappings. The beta SteamVR Unity plugin creates templates for you to edit if you need examples.

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

But regarding "redirecting controller input to tracker via OpenVR Input Emulator, or using it as controller after role change (Vive Tracker Role Changer) " please note that both of these can now be considered EOL due to the new button/role bindings in the new input system in SteamVR.

Since the SteamVR Input interface is not so clear, I would like to ask for some clarification.

With SteamVR Input, could I:

1 - redirect tracker to controller, so the game believes the tracker is the controller?2 - change the tracker offset (x,y,z and yaw,roll,pitch) to match ingame weapons position?3 - remap the tracker button (system) to trigger?