Set a gesture timer from a timestamp.
#include "gestures/timer.h"
int gesture_timer_set_ms(struct gesture_base *gesture, int timer_id, unsigned ms, _Uint64t base_nsec)
A pointer to the gesture.
The timer to set. 8
The expiry time in milliseconds.
The base time in nanoseconds. The ms parameter is compared to this time to determine whether the timer has expired.
This function sets a timer using a timestamp as the reference time.
0 on success, or -1 on failure.