Gestures on T35?

Is it possible to do the slide left/right gesture in Glide?

Using the (partial) code below, trying to slide on display on the right side going left. I always seem to get 7 for the gesture which corresponds to Left. In my tests (which I very well am be doing something wrong) it seems as if only the last touch point is being registered.

Is the Pan/zoom/etc gestures for other displays or am I missing something?


              // other code to setup the window

               Window.GestureEvent += new OnGesture(Window_GestureEvent);
        }

        void Window_GestureEvent(object sender, TouchGestureEventArgs args)
        {
            if (args.Gesture == TouchGesture.Pan)
            {
                txtBlck.Text = "Pan";
                Window.Invalidate();
            }
        }

Pan and zoom require multitouch which t35 is not

1 Like

Tom

I can see how zoom requires multi-touch, but I would think pan/swipe would only require tracking of a single touch.

That was my thinking as well.

Swipe does only require a single touch. Zoom and pan are both multitouch as defined by the API http://msdn.microsoft.com/en-us/library/ee436832.aspx

MS calls Pan a multitouch scroll option.

Thanks for that reference … I interpreted “Left” as a touch occured on the left side of the screen. The doc says “Moving left.”

For some reason I assumed Pan was swipe, as there was no “swipe” in the enumeration.