|
|
static void | psvr2_usb_stop (struct psvr2_hmd *hmd) |
| |
|
static void | psvr2_usb_destroy (struct psvr2_hmd *hmd) |
| |
|
static void | psvr2_hmd_destroy (struct xrt_device *xdev) |
| |
|
static xrt_result_t | psvr2_compute_distortion (struct xrt_device *xdev, uint32_t view, float u, float v, struct xrt_uv_triplet *result) |
| |
|
static xrt_result_t | psvr2_hmd_update_inputs (struct xrt_device *xdev) |
| |
|
static void | hmd_get_raw_tracker_pose (struct psvr2_hmd *hmd, timepoint_ns at_timestamp_ns, struct xrt_space_relation *out_relation) |
| |
|
static xrt_result_t | psvr2_hmd_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 | psvr2_get_presence (struct xrt_device *xdev, bool *presence) |
| |
|
static xrt_result_t | psvr2_hmd_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) |
| |
|
void | process_imu_record (struct psvr2_hmd *hmd, size_t index, struct imu_usb_record *in, timepoint_ns estimated_sample_time) |
| |
|
static void | process_status_report (struct psvr2_hmd *hmd, uint8_t *buf, int bytes_read, timepoint_ns received_ns) |
| |
|
bool | psvr2_usb_xfer_continue (struct libusb_transfer *xfer, const char *type) |
| |
|
static void LIBUSB_CALL | status_xfer_cb (struct libusb_transfer *xfer) |
| |
|
static void LIBUSB_CALL | img_xfer_cb (struct libusb_transfer *xfer) |
| |
|
static void | process_slam_record (struct psvr2_hmd *hmd, uint8_t *buf, int bytes_read) |
| |
|
static void LIBUSB_CALL | slam_xfer_cb (struct libusb_transfer *xfer) |
| |
|
static void LIBUSB_CALL | dump_xfer_cb (struct libusb_transfer *xfer) |
| |
|
static void * | psvr2_usb_thread (void *ptr) |
| |
|
static bool | psvr2_usb_open (struct psvr2_hmd *hmd, struct xrt_prober_device *xpdev) |
| |
|
bool | get_psvr2_control (struct psvr2_hmd *hmd, uint16_t report_id, uint8_t subcmd, uint8_t *out_data, uint32_t buf_size) |
| |
|
bool | send_psvr2_control (struct psvr2_hmd *hmd, uint16_t report_id, uint8_t subcmd, uint8_t *pkt_data, uint32_t pkt_len) |
| |
|
bool | set_camera_mode (struct psvr2_hmd *hmd, enum psvr2_camera_mode mode) |
| |
|
static void | toggle_camera_enable (struct psvr2_hmd *hmd) |
| |
|
bool | set_brightness (struct psvr2_hmd *hmd, float brightness) |
| |
|
bool | get_serial (struct psvr2_hmd *hmd, char serial[static(14+1)]) |
| |
|
static xrt_result_t | psvr2_get_brightness (struct xrt_device *xdev, float *brightness) |
| |
|
static xrt_result_t | psvr2_set_brightness (struct xrt_device *xdev, float brightness, bool relative) |
| |
|
static xrt_result_t | psvr2_hmd_set_output (struct xrt_device *xdev, enum xrt_output_name name, const struct xrt_output_value *value) |
| |
|
static xrt_result_t | psvr2_hmd_get_compositor_info (struct xrt_device *xdev, const struct xrt_device_compositor_mode *mode, struct xrt_device_compositor_info *out_info) |
| |
|
static void | cycle_camera_mode (struct psvr2_hmd *hmd) |
| |
|
static bool | psvr2_usb_start (struct psvr2_hmd *hmd) |
| |
|
static void | set_slam_correction (struct psvr2_hmd *hmd) |
| |
|
static void | reset_slam_correction (struct psvr2_hmd *hmd) |
| |
|
static void | update_brightness (struct psvr2_hmd *hmd) |
| |
|
static void | psvr2_setup_distortion_and_fovs (struct psvr2_hmd *hmd) |
| |
| struct xrt_device * | psvr2_hmd_create (struct xrt_prober_device *xpdev) |
| | Create the PS VR2 HMD device. More...
|
| |