gestures_set_fail_f

Updated: April 19, 2023

Callback function for gesture set failure

Synopsis:

#include <gestures/set.h>
typedef void(* gestures_set_fail_f)(struct gestures_set *set,
             struct event_list *list,
             int async);

Arguments:

set
A pointer to the gesture set.
list
A pointer to the event list.
async
Indicator of the originating thread (see description).

Library:

libgestures

Description:

This callback function is invoked when the gesture set fails. The gesture set fails when all gestures in the set transition to the FAILED state. The callback is passed the list of events leading up to the failure, so that those events can be passed to another gesture set, if necessary.

The async parameter indicates which thread invoked the callback:

Returns:

Nothing.