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

◆ base

struct xrt_tracking_origin hydra_system::base

Referenced by hydra_found().

◆ command_hid

struct os_hid_device* hydra_system::command_hid

Referenced by hydra_found().

◆ data_hid

struct os_hid_device* hydra_system::data_hid

Referenced by hydra_found().

◆ devs

struct hydra_device* hydra_system::devs[2]

Referenced by hydra_found().

◆ motion_attempt_number

int hydra_system::motion_attempt_number

◆ print_debug

bool hydra_system::print_debug

Referenced by hydra_found().

◆ print_spew

bool hydra_system::print_spew

Referenced by hydra_found().

◆ refs

uint8_t hydra_system::refs

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

Referenced by hydra_found().

◆ report_counter

int16_t hydra_system::report_counter

Referenced by hydra_found().

◆ report_time

timepoint_ns hydra_system::report_time

Last time that we received a report.

◆ sm

struct hydra_state_machine hydra_system::sm

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