Return the elapsed time between two events.
#include <sys/queue.h> #include "input/event_types.h" #include "gestures/bucket.h"
int32_t diff_time_ms(gesture_coords_t *coords1, gesture_coords_t *coords2)
This function returns the elapsed time between the two specified gesture events. You will likely need this function only if you are defining your own gestures.
The elapsed time in milliseconds.