Revive icon indicating copy to clipboard operation
Revive copied to clipboard

Quill/Medium - Possible to improve trigger sensitivity?

Open chemb0t opened this issue 9 years ago • 7 comments

Hi there,

I had a chance to try out Quill and Medium and noticed that there may be an issue with the way trigger sensitivity is mapped to the Vive controllers. In both of these apps, it is possible to vary the brush size or transparency based on how much you squeeze the trigger. However it seems like there is a jump when the trigger is fully pressed. You can go from about 10% to 60% size/opacity while lightly squeezing the trigger, then beyond that point, it feels like a physical button is engaged/clicked in the Vive controller and the brush would jump to 100%. It would be nice if there could be a smoother transition, perhaps setting the smooth trigger motion from 0-100% and then leaving the fully pressed position at 100%.

To reproduce this behavior in medium, go to the clay brush settings and turn on "Trigger" under the Feather heading. For Quill, it should be enabled by default.

2017-01-10 17_00_31

chemb0t avatar Jan 11 '17 01:01 chemb0t

The problem is that Revive gets the trigger value directly from OpenVR. This means that the behaviour you're describing is a SteamVR issue. I could work around this issue by multiplying the value by 1.67, but that's an ugly hack.

You could try posting about it on one of the following forums and hopefully get the attention of someone at Valve:

SteamVR Forums SteamVR Developer Forums OpenVR Issue Tracker

CrossVR avatar Jan 11 '17 01:01 CrossVR

Thanks for the quick response. I did a little more digging and it seems that this behavior could be coming from a bug fix; http://steamcommunity.com/app/358720/discussions/0/615086038684288967/

Added early trigger press to the SteamVR controller that is included with the HTC Vive Developer Edition. The triggers should now report as "pressed" when they get close to the bottom even if the hardware switch hasn't actually been pressed yet.

That probably explains why it jumps. Sounds like developers are implementing their own trigger values to compensate for the default behavior as well. Considering that this may be an issue specific to Oculus based apps, would it be possible to add a "Disable early trigger press" option to Revive so that it maps a smooth curve? Or would that still be in OpenVR's domain?

chemb0t avatar Jan 11 '17 02:01 chemb0t

Hi, I tested it today in Medium and found the same issue, so I hope this can be enabled! Everything else seems to work, the thumbstick emulation is a bit tricky but workable.

boberfly avatar Jan 15 '17 04:01 boberfly

Yeah, I'm hoping for an improvement as well. I'm especially having trouble with the sensitivity of the touch-pad that increases your brush size in Medium. It's very imprecise and almost impossible to vary the width of your stroke as you begin.

bczreasons avatar Jan 25 '17 17:01 bczreasons

Signed up to plead for this hack - override its really hard to get much subtlety out of Medium with the current situation :/

RygorX avatar Feb 18 '17 23:02 RygorX

@chemb0t That's not why it jumps, the hardware trigger is causing it to jump. The bugfix just made it so the "trigger pressed" event is not bound to the hardware trigger, but that has nothing to do with this issue.

The problem with the trigger is that it's not properly calibrated, causing it to jump at the end when the hardware trigger is pressed. It would be much better if this curve was calibrated on the OpenVR side rather than hacks implemented in Revive.

@RygorX Please plead for a proper fix on the forums I linked to before pleading for a hack here.

CrossVR avatar Feb 18 '17 23:02 CrossVR

On top of this being over a year old, I am 99.9% sure that this can now be done easily through the SteamVR binding system. Closing ticket as its no longer relevant.

Please post a new ticket in the new issue format for any further / new issues.

Dragoboss avatar Dec 22 '18 20:12 Dragoboss