typedef struct {
gboolean active;
gboolean state;
gboolean changed;
GxrController *controller;
gfloat time;
} GxrDigitalEvent;
Digital event.
gboolean |
Whether or not this action is currently available to be bound in the active action set. |
|
gboolean |
Pressed or released. |
|
gboolean |
Whether the state has changed since last event. |
|
GxrController * |
||
gfloat |
The time of the event. |
typedef struct {
gboolean active;
graphene_vec3_t state;
graphene_vec3_t delta;
GxrController *controller;
gfloat time;
} GxrAnalogEvent;
Analog event.
gboolean |
Whether or not this action is currently available to be bound in the active action set. |
|
graphene_vec3_t |
A graphene_vec3_t analog state. |
|
graphene_vec3_t |
State delta since last event. |
|
GxrController * |
||
gfloat |
The time of the event. |
typedef struct {
gboolean active;
graphene_matrix_t pose;
graphene_vec3_t velocity;
graphene_vec3_t angular_velocity;
gboolean valid;
gboolean device_connected;
GxrController *controller;
} GxrPoseEvent;
Pose event.
gboolean |
Whether or not this action is currently available to be bound in the active action set. |
|
graphene_matrix_t |
The graphene_matrix_t pose. |
|
graphene_vec3_t |
Velocity |
|
graphene_vec3_t |
Angular velocity. |
|
gboolean |
Whether the pose is valid. |
|
gboolean |
Whether the device is currently connected. |
|
GxrController * |
typedef struct {
GxrQuitReason reason;
} GxrQuitEvent;
Event that is emitted when the application needs to quit.
typedef struct {
graphene_matrix_t transformation;
gboolean is_valid;
} GxrPose;
A 4x4 matrix pose.
graphene_matrix_t |
The graphene_matrix_t. |
|
gboolean |
Validity of the pose. |