|
|
static void | survive_device_destroy (struct xrt_device *xdev) |
| |
|
static double | survive_timecode_now_s (void) |
| |
|
static timepoint_ns | survive_timecode_to_monotonic (struct survive_device *survive, double timecode) |
| |
|
static void | pose_to_relation (const SurvivePose *pose, const SurviveVelocity *vel, struct xrt_space_relation *out_relation) |
| |
|
static bool | verify_device_name (struct survive_device *survive, enum xrt_input_name name) |
| |
|
static xrt_result_t | survive_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 xrt_result_t | survive_device_get_battery_status (struct xrt_device *xdev, bool *out_present, bool *out_charging, float *out_charge) |
| |
|
static int | survive_controller_haptic_pulse (struct survive_device *survive, const struct xrt_output_value *value) |
| |
|
static xrt_result_t | survive_controller_device_set_output (struct xrt_device *xdev, enum xrt_output_name name, const struct xrt_output_value *value) |
| |
| static xrt_result_t | survive_controller_get_hand_tracking (struct xrt_device *xdev, enum xrt_input_name name, int64_t at_timestamp_ns, struct xrt_hand_joint_set *out_value, int64_t *out_timestamp_ns) |
| |
|
static xrt_result_t | survive_device_get_view_poses (struct xrt_device *xdev, const struct xrt_vec3 *default_eye_relation, int64_t at_timestamp_ns, enum xrt_view_type view_type, uint32_t view_count, struct xrt_space_relation *out_head_relation, struct xrt_fov *out_fovs, struct xrt_pose *out_poses) |
| |
|
static bool | update_axis (struct survive_device *survive, struct Axis *axis, const SurviveSimpleButtonEvent *e, int i, uint64_t now) |
| |
|
static bool | update_button (struct survive_device *survive, const struct SurviveSimpleButtonEvent *e, timepoint_ns ts) |
| |
| static float | _calculate_squeeze_value (struct survive_device *survive) |
| |
|
static void | _process_button_event (struct survive_device *survive, const struct SurviveSimpleButtonEvent *e) |
| |
| static void | _process_hmd_button_event (struct survive_device *survive, const struct SurviveSimpleButtonEvent *e) |
| |
|
static struct survive_device * | get_device_by_object (struct survive_system *sys, const SurviveSimpleObject *object) |
| |
|
static void | add_device (struct survive_system *ss, const struct SurviveSimpleConfigEvent *e) |
| |
|
static void | _process_pose_event (struct survive_device *survive, const struct SurviveSimplePoseUpdatedEvent *e) |
| |
|
static void | _process_event (struct survive_system *ss, struct SurviveSimpleEvent *event) |
| |
|
static xrt_result_t | survive_device_update_inputs (struct xrt_device *xdev) |
| |
|
static xrt_result_t | compute_distortion (struct xrt_device *xdev, uint32_t view, float u, float v, struct xrt_uv_triplet *result) |
| |
|
static xrt_result_t | survive_get_compositor_info (struct xrt_device *xdev, const struct xrt_device_compositor_mode *mode, struct xrt_device_compositor_info *out_info) |
| |
|
xrt_result_t | survive_device_get_brightness (struct xrt_device *xdev, float *out_brightness) |
| |
|
xrt_result_t | survive_device_set_brightness (struct xrt_device *xdev, float brightness, bool relative) |
| |
|
static bool | _create_hmd_device (struct survive_system *sys, const struct SurviveSimpleObject *sso, char *conf_str) |
| |
|
static bool | _create_controller_device (struct survive_system *sys, const SurviveSimpleObject *sso, struct vive_controller_config *config) |
| |
| static bool | add_connected_devices (struct survive_system *ss) |
| |
|
static void * | run_event_thread (void *ptr) |
| |
|
int | survive_get_devices (struct xrt_prober *xp, struct xrt_device **out_xdevs, struct vive_config **out_vive_config) |
| |