save_coords()

Save the touch event coordinates.

Synopsis:

#include <gestures/types.h>
 
void save_coords(mtouch_event_t *event,
                 gesture_coords_t *coords)

Arguments:

event

A pointer to the event for which to save the coordinates.

coords

A pointer to the gesture coordinates structure to use for saving.

Library:

libgestures

Description:

This function saves the coordinates of a touch event in the specified gesture_coords_t data structure. You will likely need this function only if you are defining your own gestures.

Returns:

Nothing.