|
#define | CEMU_TRACE(d, ...) U_LOG_XDEV_IFL_T(&d->base, d->sys->log_level, __VA_ARGS__) |
|
#define | CEMU_DEBUG(d, ...) U_LOG_XDEV_IFL_D(&d->base, d->sys->log_level, __VA_ARGS__) |
|
#define | CEMU_INFO(d, ...) U_LOG_XDEV_IFL_I(&d->base, d->sys->log_level, __VA_ARGS__) |
|
#define | CEMU_WARN(d, ...) U_LOG_XDEV_IFL_W(&d->base, d->sys->log_level, __VA_ARGS__) |
|
#define | CEMU_ERROR(d, ...) U_LOG_XDEV_IFL_E(&d->base, d->sys->log_level, __VA_ARGS__) |
|
|
xrt_quat | wct_to_quat (float waggle, float curl, float twist) |
|
static struct cemu_device * | cemu_device (struct xrt_device *xdev) |
|
static void | cemu_device_destroy (struct xrt_device *xdev) |
|
static void | cemu_device_get_hand_tracking (struct xrt_device *xdev, enum xrt_input_name name, int64_t requested_timestamp_ns, struct xrt_hand_joint_set *out_value, int64_t *out_timestamp_ns) |
|
static xrt_vec3 | joint_position_global (xrt_hand_joint_set *joint_set, xrt_hand_joint joint) |
|
static xrt_pose | joint_pose_global (xrt_hand_joint_set *joint_set, xrt_hand_joint joint) |
|
static void | do_grip_pose (struct xrt_hand_joint_set *joint_set, struct xrt_space_relation *out_relation, float grip_offset_from_palm, bool is_right) |
|
static void | get_other_two (struct cemu_device *dev, int64_t head_timestamp_ns, int64_t hand_timestamp_ns, xrt_pose *out_head, xrt_hand_joint_set *out_secondary) |
|
static void | do_aim_pose (struct cemu_device *dev, struct xrt_hand_joint_set *joint_set_primary, int64_t head_timestamp_ns, int64_t hand_timestamp_ns, struct xrt_space_relation *out_relation) |
|
static void | cemu_device_get_tracked_pose (struct xrt_device *xdev, enum xrt_input_name name, int64_t at_timestamp_ns, struct xrt_space_relation *out_relation) |
|
static void | cemu_device_set_output (struct xrt_device *xdev, enum xrt_output_name name, const union xrt_output_value *value) |
|
static void | decide (xrt_vec3 one, xrt_vec3 two, bool *out) |
|
static xrt_result_t | cemu_device_update_inputs (struct xrt_device *xdev) |
|
int | cemu_devices_create (struct xrt_device *head, struct xrt_device *hands, struct xrt_device **out_xdevs) |
|