Monado OpenXR Runtime
Files | Data Structures | Macros | Functions
HTC Vive and Valve Index driver

Driver for the HTC Vive and Valve Index family of HMDs. More...

Collaboration diagram for HTC Vive and Valve Index driver:

Files

file  vive_controller_interface.h
 Interface to HTC Vive and Valve Index driver.
 
file  vive_device.c
 Vive device implementation.
 
file  vive_device.h
 vive device header
 
file  vive_prober.c
 drv_vive prober code.
 
file  vive_prober.h
 Interface to HTC Vive and Valve Index driver.
 
file  vive_protocol.c
 Vive USB HID reports.
 
file  vive_protocol.h
 Vive USB HID reports.
 

Data Structures

struct  vive_controller_device
 A Vive Controller device, representing just a single controller. More...
 

Macros

#define VALVE_VID   0x28de
 Driver for the HTC Vive and Valve Index controllers. More...
 

Functions

int vive_controller_found (struct xrt_prober *xp, struct xrt_prober_device **devices, size_t num_devices, size_t index, cJSON *attached_data, struct xrt_device **out_xdevs)
 Probing function for HTC Vive and Valve Index devices. More...
 
int vive_found (struct xrt_prober *xp, struct xrt_prober_device **devices, size_t num_devices, size_t index, cJSON *attached_data, struct xrt_device **out_xdev)
 Probing function for Vive devices. More...
 

Detailed Description

Driver for the HTC Vive and Valve Index family of HMDs.

Macro Definition Documentation

◆ VALVE_VID

#define VALVE_VID   0x28de

#include <drivers/vive/vive_controller_interface.h>

Driver for the HTC Vive and Valve Index controllers.

Referenced by vive_controller_found().

Function Documentation

◆ vive_controller_found()

int vive_controller_found ( struct xrt_prober xp,
struct xrt_prober_device **  devices,
size_t  num_devices,
size_t  index,
cJSON attached_data,
struct xrt_device **  out_xdevs 
)

◆ vive_found()

int vive_found ( struct xrt_prober xp,
struct xrt_prober_device **  devices,
size_t  num_devices,
size_t  index,
cJSON attached_data,
struct xrt_device **  out_xdev 
)

#include <drivers/vive/vive_prober.h>

Probing function for Vive devices.