Share via


Gesture Recognizers (Compact 2013)

3/26/2014

A gesture recognizer converts touch data gathered by the touch driver to gesture events. The recognizer calls gesture core function RegisterGesture to register the gesture types that it will recognize and report. When GWES receives touch data from the touch driver, it forwards the data to all recognizers. When a recognizer recognizes a gesture it calls Gesture to report it. This call causes GWES to generate a WM_GESTURE message.

Compact 2013 provides a built-in recognizer that recognizes pan, flick, hold, tap, double-tap, and direct manipulation gestures. OEMs can modify this gesture recognizer, or provide additional gesture recognizers to handle additional gesture types. For more information, see Custom Gesture Recognition.

The code for the built-in gesture recognizer is in TouchRecognizer.dll.

See Also

Concepts

Gesture Architecture