Monado OpenXR Runtime
Files | Data Structures | Functions
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 num_devices, size_t index, 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  num_devices,
size_t  index,
struct xrt_device **  out_xdevs 
)

#include <drivers/hydra/hydra_interface.h>

Probing function for Razer Hydra devices.

References xrt_tracking_origin::type, and U_TYPED_CALLOC.