Monado OpenXR Runtime
hydra_system Struct Reference

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

Inheritance diagram for hydra_system:
Collaboration diagram for hydra_system:

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
 
enum u_logging_level log_level
 
- Data Fields inherited from xrt_tracking_origin
char name [256]
 For debugging. More...
 
enum xrt_tracking_type type
 What can the state tracker expect from this tracking system. More...
 
struct xrt_pose initial_offset
 Read-only. More...
 

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.

Referenced by hydra_system_enter_motion_control().


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