Hello,
I'm trying to extract gesture information when multiple touchpoints (fingers) are active on a touch screen. I'm running IE11 on Win81 preview with javascript and a touch-capable monitor. My code sets ms-touch-action to none. This is not a store app, so I don't have access to the GestureRecognizer.
Questions:
1. Is MSGesture meant to be used with only single-finger touch, or with multi-finger touch as well? Should there be one MSGesture object per pointer type (touch, mouse, etc), or one per pointer Id? Gesture events fire in both cases, but the documentation [see below] isn't quite clear about the right usage.
2. I am not able to get MSManipulationXX events to fire all. According to the msdn documentation, there is an MSManipulationStateChanged event and an MSManipulation event. I've tried both the syntax from the msdn documentation[element.addEventListener("MSManipulationEvent", manipulationListener,false) and element.addEventListener("MSManipulationStateChanged", manipulationListener,false)], neither appears to fire when I swipe 2 fingers on the screen.
Any pointers will be appreciated.
Documentation on MSGesture : "There can be only one pointer per MSGesture object. If more than one pointer type (mouse, touch, pen) is recognized, you must create aMSGesture object for each pointer. If more than one pointer is added to aMSGesture object, it results in an InvalidStateError exception."
http://msdn.microsoft.com/en-us/library/windows/apps/hh441217.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/hh465887.aspx
Thanks!