Monado OpenXR Runtime
Data Fields
hydra_system Struct Reference

A Razer Hydra system containing two controllers. More...

Collaboration diagram for hydra_system:
Collaboration graph
[legend]

Data Fields

struct xrt_tracking_origin base
 
struct os_hid_devicedata_hid
 
struct os_hid_devicecommand_hid
 
struct hydra_state_machine sm
 
struct hydra_devicedevs [2]
 
int16_t report_counter
 
timepoint_ns report_time
 Last time that we received a report. More...
 
uint8_t refs
 Reference count of the number of devices still alive using this system. More...
 
bool was_in_gamepad_mode
 Was the hydra in gamepad mode at start? More...
 
int motion_attempt_number
 
bool print_spew
 
bool print_debug
 

Detailed Description

A Razer Hydra system containing two controllers.

Field Documentation

◆ refs

uint8_t hydra_system::refs

Reference count of the number of devices still alive using this system.

◆ report_time

timepoint_ns hydra_system::report_time

Last time that we received a report.

◆ was_in_gamepad_mode

bool hydra_system::was_in_gamepad_mode

Was the hydra in gamepad mode at start?

If it was, we set it back to gamepad on destruction.


The documentation for this struct was generated from the following file: