event_list_add()

Updated: October 28, 2024

Add an event to an event list

Synopsis:

#include <gestures/event_list.h>
int event_list_add(struct event_list *list,
                   mtouch_event_t *event)

Arguments:

list
A pointer to the event list.
event
A pointer to the event to add.

Library:

libgestures

Description:

This function adds an event to an event list.

Returns:

0 on success, -1 on failure

  翻译: