Updated: October 28, 2024 |
Clear an armed timer
#include <gestures/timer.h>
int gesture_timer_clear(struct gesture_base *gesture, int timer_id)
This function clears an armed timer (a timer previously set by one of the gesture_timer_set_*() functions). If the timer is unarmed, this function does nothing and returns 0.
0 on success, or -1 on failure.