Share via


Built-In Gesture Recognizer (Compact 2013)

3/26/2014

The built-in gesture recognizer receives touch events from the gesture core, and notifies the gesture core whenever it detects a gesture.

The object file for this module is TouchRecognizer.lib, which is located in %_WINCEROOT%\public\common\oak\lib\<arch>\<build type>\. The following table describes some of the classes in the module.

Object file name

Description

TouchRecognizer.lib

Defines the Configuration class, which has methods to load recognizer configuration values (for example, the tap time-out) from the registry, and to get and set them.

Defines the DMRecognizer class, which performs direct manipulation gesture recognition.

Defines the FlickRecognizer class, which performs flick gesture recognition.

Defines the GestureRecognizer class. When there is a touch event, gesture core calls the RecognizeGesture function (in entry.cpp), and that function calls the GestureRecognizer::RecognizeGesture method to perform gesture recognition.

Defines the HoldRecognizer class, which performs hold gesture recognition.

Defines the SelectRecognizer class, which performs select (tap) and double-select gesture recognition.

Defines the TimerManager class, which provides timer callback capabilities.

Defines the TouchGesture class, which performs gesture recognition for all gesture types except direct manipulation gestures. It uses the FlickRecognizer class and the other classes for specific gestures. The DMRecognizer class performs direct manipulation gesture recognition.

Implements the Configuration class, whose definition is in Configuration.hpp.

Implements the DMRecognizer class, whose definition is in DMRecognizer.hpp.

Provides the exported functions of the module: DLLMain, Init, RecognizeGesture, and ConfigSettings.

Implements the FlickRecognizer class, whose definition is in FlickRecognizer.hpp.

Implements the GestureRecognizer class, whose definition is in GestureRecognizer.hpp.

Implements the HoldRecognizer class, whose definition is in FlickRecognizer.hpp.

Implements the SelectRecognizer class, whose definition is in SelectRecognizer.hpp.

Implements the TimerManager class, whose definition is in TimerManager.hpp.

Implements the TouchGesture class, whose definition is in TouchRecognizer.h.

See Also

Concepts

Gesture Recognition Architecture