gestures_bucket_get()

Updated: October 26, 2022

Return the gesture at the specified index

Synopsis:

#include <gestures/bucket.h>
struct gesture_base* gestures_bucket_get(gestures_bucket_t *bucket,
                                         uint_t idx)

Arguments:

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

Library:

libgestures

Description:

The function gestures_bucket_get() returns a pointer to the gesture at the specified index of the gesture bucket.

Returns:

A pointer to the gesture at the specified index.