|
Monado OpenXR Runtime
|
Driver for the Playstation VR2 headset. More...

Files | |
| file | psvr2.c |
| PSVR2 HMD device. | |
| file | psvr2.h |
| PSVR2 HMD device. | |
| file | psvr2_distortion.c |
| PSVR2 HMD distortion implementation. | |
| file | psvr2_eye.c |
| PSVR2 HMD eye tracking implementation. | |
| file | psvr2_interface.h |
| PSVR2 HMD device. | |
| file | psvr2_prober.c |
| PSVR2 HMD device prober. | |
| file | psvr2_protocol.h |
| PSVR2 HMD protocol defines. | |
Functions | |
| struct xrt_device * | psvr2_hmd_create (struct xrt_prober_device *xpdev) |
| Create the PS VR2 HMD device. | |
| int | psvr2_found (struct xrt_prober *xp, struct xrt_prober_device **devices, size_t device_count, size_t index, cJSON *attached_data, struct xrt_device **out_xdevs) |
| Probing function for PlayStation VR2 devices. | |
Driver for the Playstation VR2 headset.
| int psvr2_found | ( | struct xrt_prober * | xp, |
| struct xrt_prober_device ** | devices, | ||
| size_t | device_count, | ||
| size_t | index, | ||
| cJSON * | attached_data, | ||
| struct xrt_device ** | out_xdevs | ||
| ) |
#include <drivers/psvr2/psvr2_interface.h>
Probing function for PlayStation VR2 devices.
References xrt_device::hmd, and psvr2_hmd_create().
| struct xrt_device * psvr2_hmd_create | ( | struct xrt_prober_device * | xpdev | ) |
#include <drivers/psvr2/psvr2_interface.h>
Create the PS VR2 HMD device.
References ARRAY_SIZE, xrt_device::begin_feature, xrt_device::binding_profile_count, xrt_hmd_parts::blend_modes, u_var_button::cb, xrt_device::compute_distortion, xrt_hmd_parts::distortion, xrt_device::end_feature, xrt_device::get_brightness, xrt_device::get_compositor_info, xrt_device::get_face_tracking, xrt_device::get_presence, xrt_device::get_view_poses, xrt_device::hmd, xrt_device::inputs, m_ff_vec3_f32_alloc(), xrt_hmd_parts::models, xrt_device::name, xrt_hmd_parts::nominal_frame_interval_ns, xrt_device::outputs, xrt_hmd_parts::preferred, u_var_button::ptr, xrt_hmd_parts::screens, xrt_device::serial, xrt_device::set_brightness, xrt_device::set_output, xrt_device::str, xrt_device::supported, time_s_to_ns(), u_device_populate_function_pointers(), u_device_setup_split_side_by_side(), u_distortion_mesh_fill_in_compute(), u_var_add_root(), xrt_device::update_inputs, XRT_INPUT_GENERIC_EYE_GAZE_POSE, XRT_INPUT_GENERIC_HEAD_POSE, xrt_pose::XRT_POSE_IDENTITY, and XRT_TRACKING_TYPE_EXTERNAL_SLAM.
Referenced by psvr2_found().