Monado OpenXR Runtime
|
Driver for the Razer Hydra motion controllers. More...
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, cJSON *attached_data, struct xrt_device **out_xdevs) |
Probing function for Razer Hydra devices. More... | |
Driver for the Razer Hydra motion controllers.
int hydra_found | ( | struct xrt_prober * | xp, |
struct xrt_prober_device ** | devices, | ||
size_t | num_devices, | ||
size_t | index, | ||
cJSON * | attached_data, | ||
struct xrt_device ** | out_xdevs | ||
) |
#include <drivers/hydra/hydra_interface.h>
Probing function for Razer Hydra devices.
References hydra_system::base, hydra_device::base, hydra_system::command_hid, hydra_system::data_hid, os_hid_device::destroy, xrt_device::destroy, hydra_system::devs, xrt_tracking_origin::name, xrt_tracking_origin::offset, xrt_prober::open_hid_interface, xrt_pose::orientation, xrt_pose::position, hydra_system::print_debug, hydra_system::print_spew, hydra_system::refs, hydra_system::report_counter, xrt_device::tracking_origin, xrt_tracking_origin::type, U_DEVICE_ALLOCATE, U_TYPED_CALLOC, xrt_quat::w, XRT_TRACKING_NAME_LEN, XRT_TRACKING_TYPE_NONE, xrt_vec3::y, and xrt_vec3::z.