![]() |
![]() |
![]() |
![]() |
gboolean gxr_device_manager_add (GxrDeviceManager *self
,guint64 device_id
,bool is_controller
);
void gxr_device_manager_remove (GxrDeviceManager *self
,guint64 device_id
);
void gxr_device_manager_update_poses (GxrDeviceManager *self
,GxrPose *poses
);
GSList *
gxr_device_manager_get_controllers (GxrDeviceManager *self
);
GxrDevice * gxr_device_manager_get (GxrDeviceManager *self
,guint64 device_id
);
void gxr_device_manager_connect_pose_actions (GxrDeviceManager *self
,GxrActionSet *action_set
,gchar *pointer_pose_url
,gchar *hand_grip_pose_url
);
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. |
“device-activate-event”
signalvoid user_function (GxrDeviceManager *gxrdevicemanager, gpointer arg1, gpointer user_data)
Flags: Run Last
“device-deactivate-event”
signalvoid user_function (GxrDeviceManager *gxrdevicemanager, gpointer arg1, gpointer user_data)
Flags: Run Last