Monado OpenXR Runtime
PS VR2 HMD driver

Driver for the Playstation VR2 headset. More...

Collaboration diagram for PS VR2 HMD driver:

Files

file  psvr2.c
 PSVR2 HMD device.
 
file  psvr2.h
 PSVR2 HMD device.
 
file  psvr2_distortion.c
 PSVR2 HMD distortion 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_devicepsvr2_hmd_create (struct xrt_prober_device *xpdev)
 Create the PS VR2 HMD device. More...
 
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. More...
 

Detailed Description

Driver for the Playstation VR2 headset.

Function Documentation

◆ psvr2_found()

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.

See also
xrt_prober_found_func_t

References xrt_device::hmd, and psvr2_hmd_create().

◆ 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.

Referenced by psvr2_found().