Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
AltairEON's avatar
AltairEON
Explorer
4 years ago

How do I map a gesture pinch to an index trigger?

I'm using Hands only/Hand tracking for Oculus Quest.

Currently the only way I can press a button via pinch is by registering the button press delegate during pointer enter and then invoking it upon reaching pinch threshold.

I'd like to know if there's a more general approach where I fire an input event as if pressing the index button of the touch controller i.e. OVRInput.Button.PrimaryIndexTrigger. Is there a way to map this pinch gesture to the primary index trigger via settings or can it be done programmatically? 

1 Reply

  • Hi AltairEON 

    I am also looking for a similar utility. Any update on the general approach in achieving it?