gestures_bucket_add()

Updated: October 26, 2022

Add a gesture to a gesture bucket

Synopsis:

#include <gestures/bucket.h>
int gestures_bucket_add(gestures_bucket_t *bucket,
                        struct gesture_base *gesture)

Arguments:

bucket
A pointer to the gesture bucket.
gesture
A pointer to the gesture to add.

Library:

libgestures

Description:

This function adds a gesture to a gestures bucket.

Returns:

0 on success, or -1 on failure.