gestures_bucket_del()

Updated: May 06, 2022

Remove a gesture from a gesture bucket

Synopsis:

#include <gestures/bucket.h>
int gestures_bucket_del(gestures_bucket_t *bucket,
                        uint_t idx)

Arguments:

bucket
A pointer to the gesture bucket.
idx
The index of the gesture to delete.

Library:

libgestures

Description:

This function deletes the gesture at the specified index from the gesture bucket.

Returns:

0 on success, or -1 on failure.