Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

GestureRecognizer only sending navigation events on Y axis?

FlarbFlarb
edited June 2016 in Questions And Answers

So is there some kind of limitation with GestureRecognizer that it can only recognize navigation on one axis?

I'm trying to use a virtual joystick kind of control where you move your finger around to indicate up, down, left, right, in, and out.

So, I enable all of the navigation inputs like this:

_gestureRecognizer.SetRecognizableGestures(GestureSettings.NavigationRailsX);
_gestureRecognizer.SetRecognizableGestures(GestureSettings.NavigationRailsY);
_gestureRecognizer.SetRecognizableGestures(GestureSettings.NavigationRailsZ);

(I've also tried the non rails version, and the same thing happens except it only sends values on the z axis)

But in NavigationUpdated (the delegate for the updated event) I only ever get a value in the y axis for up and down movement in the normalizedOffset argument (it's always 0, x, 0 where X is some nonzero value)

Is there a proper way to enable gesture recognition on all axes?

ralphbarbagallo.com - flarb.com - @flarb

Tagged:

Best Answer

Answers

  • Options

    Oh my god I just realized these were flags--duh! Thanks a lot though! :)

    ralphbarbagallo.com - flarb.com - @flarb

Sign In or Register to comment.