Functions
gxr_action_set_digital_from_float_threshold ()
void
gxr_action_set_digital_from_float_threshold
(GxrAction *self
,
float threshold
);
gxr_action_set_digital_from_float_haptic ()
void
gxr_action_set_digital_from_float_haptic
(GxrAction *self
,
GxrAction *haptic_action
);
Types and Values
GXR_TYPE_ACTION
#define GXR_TYPE_ACTION gxr_action_get_type()
struct GxrActionClass
struct GxrActionClass {
GObjectClass parent;
gboolean
(*poll) (GxrAction *action);
gboolean
(*trigger_haptic) (GxrAction *action,
float start_seconds_from_now,
float duration_seconds,
float frequency,
float amplitude,
guint64 controller_handle);
void
(*set_digital_from_float_threshold) (GxrAction *self,
float threshold);
void
(*set_digital_from_float_haptic) (GxrAction *self,
GxrAction *haptic_action);
};
GxrAction
typedef struct _GxrAction GxrAction;