Retrieve mtouch event data from a screen event.
#include <input/screen_helpers.h>
static int screen_get_mtouch_event(screen_event_t screen_event, mtouch_event_t *mtouch_event, int screen_abs)
The Screen event to retrieve data from.
The mtouch_event to populate.
The indicator to specify which coordinates to use; 1 indicates to use Screen coordinates. Otherwise, use source viewport.
The function screen_get_mtouch_event() populates the mtouch_event with data fetched from the Screen event.
0 on success, -1 on failure.