GxrActionSet

GxrActionSet

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GxrActionSet

Includes

#include <gxr.h>

Description

Functions

gxr_action_set_new_from_url ()

GxrActionSet *
gxr_action_set_new_from_url (GxrContext *context,
                             gchar *url);

gxr_action_sets_poll ()

gboolean
gxr_action_sets_poll (GxrActionSet **sets,
                      uint32_t count);

gxr_action_set_connect ()

gboolean
gxr_action_set_connect (GxrActionSet *self,
                        GxrContext *context,
                        GxrActionType type,
                        gchar *url,
                        GCallback callback,
                        gpointer data);

gxr_action_set_connect_digital_from_float ()

GxrAction *
gxr_action_set_connect_digital_from_float
                               (GxrActionSet *self,
                                GxrContext *context,
                                gchar *url,
                                float threshold,
                                char *haptic_url,
                                GCallback callback,
                                gpointer data);

gxr_action_set_get_actions ()

GSList *
gxr_action_set_get_actions (GxrActionSet *self);

gxr_action_sets_attach_bindings ()

gboolean
gxr_action_sets_attach_bindings (GxrActionSet **sets,
                                 GxrContext *context,
                                 uint32_t count);

Types and Values

GXR_TYPE_ACTION_SET

#define GXR_TYPE_ACTION_SET gxr_action_set_get_type()

struct GxrActionSetClass

struct GxrActionSetClass {
  GObjectClass parent;

  gboolean
  (*update) (GxrActionSet **sets, uint32_t count);

  GxrAction*
  (*create_action) (GxrActionSet *self, GxrContext *context,
                    GxrActionType type, char *url);

  gboolean
  (*attach_bindings) (GxrActionSet **sets,
                      GxrContext *context,
                      uint32_t count);
};

GxrActionSet

typedef struct _GxrActionSet GxrActionSet;