gesture_callback_f
QNX SDP8.0Gestures Library ReferenceAPIDeveloperProgramming
Gesture callback function prototype
Synopsis:
#include <gestures/types.h>
typedef void(* gesture_callback_f)(struct gesture_base *gesture, mtouch_event_t *event, void *param, int async);
Arguments:
- gesture
- A pointer to the gesture.
- event
- A pointer to the last touch event.
- param
- A pointer to the parameter list.
- async
- Indicator of which thread invoked this callback:
async
== 0: the thread that calledgestures_set_process_event()
async
== 1: the timer thread
Library:
libgesturesDescription:
This callback function is invoked every time a gesture changes state, with the exception of the transition from UNRECOGNIZED to FAILED.
Note that if the event passed to the callback is NULL, it means the callback was invoked following a timer callback (as opposed to an event coming in).
Returns:
Nothing.
Page updated: