Monado OpenXR Runtime
Razer Hydra driver

Driver for the Razer Hydra motion controllers. More...

Collaboration diagram for Razer Hydra driver:

Files

file  hydra_interface.h
 Interface to Razer Hydra driver.
 

Data Structures

struct  hydra_system
 A Razer Hydra system containing two controllers. More...
 
struct  hydra_device
 A Razer Hydra device, representing just a single controller. More...
 

Functions

int hydra_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 Razer Hydra devices. More...
 

Detailed Description

Driver for the Razer Hydra motion controllers.

Function Documentation

◆ hydra_found()

int hydra_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/hydra/hydra_interface.h>

Probing function for Razer Hydra devices.

See also
xrt_prober_found_func_t

References xrt_prober::open_hid_interface, xrt_tracking_origin::type, and U_TYPED_CALLOC.