Monado OpenXR Runtime
|
Driver for the HTC Vive and Valve Index family of HMDs. More...
Files | |
file | vive_controller_interface.h |
Interface to HTC Vive and Valve Index driver. | |
file | vive_device.c |
Vive device implementation. | |
file | vive_device.h |
vive device header | |
file | vive_prober.c |
drv_vive prober code. | |
file | vive_prober.h |
Interface to HTC Vive and Valve Index driver. | |
file | vive_protocol.c |
Vive USB HID reports. | |
file | vive_protocol.h |
Vive USB HID reports. | |
Data Structures | |
struct | vive_controller_device |
A Vive Controller device, representing just a single controller. More... | |
Macros | |
#define | VALVE_VID 0x28de |
Driver for the HTC Vive and Valve Index controllers. More... | |
Functions | |
int | vive_controller_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 HTC Vive and Valve Index devices. More... | |
int | vive_found (struct xrt_prober *xp, struct xrt_prober_device **devices, size_t num_devices, size_t index, cJSON *attached_data, struct xrt_device **out_xdev) |
Probing function for Vive devices. More... | |
Driver for the HTC Vive and Valve Index family of HMDs.
#define VALVE_VID 0x28de |
#include <drivers/vive/vive_controller_interface.h>
Driver for the HTC Vive and Valve Index controllers.
Referenced by vive_controller_found().
int vive_controller_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/vive/vive_controller_interface.h>
Probing function for HTC Vive and Valve Index devices.
References vive_controller_device::acc_bias, vive_controller_device::acc_range, vive_controller_device::acc_scale, vive_controller_device::base, vive_controller_device::controller_hid, CONTROLLER_UNKNOWN, xrt_device::destroy, vive_controller_device::fusion, vive_controller_device::gyro_bias, vive_controller_device::gyro_range, vive_controller_device::gyro_scale, vive_controller_device::imu, vive_controller_device::index, m_imu_3dof_init(), M_IMU_3DOF_USE_GRAVITY_DUR_20MS, xrt_prober::open_hid_interface, vive_controller_device::print_debug, vive_controller_device::print_spew, xrt_prober_device::product_id, U_DEVICE_ALLOC_TRACKING_NONE, U_DEVICE_ALLOCATE, VALVE_VID, vive_controller_device::variant, xrt_prober_device::vendor_id, VIVE_CONTROLLER_DEBUG, VIVE_CONTROLLER_ERROR, VIVE_WATCHMAN_DONGLE, VIVE_WATCHMAN_DONGLE_GEN2, vive_controller_device::watchman_gen, WATCHMAN_GEN1, WATCHMAN_GEN2, WATCHMAN_GEN_UNKNOWN, xrt_vec3::x, xrt_vec3::y, and xrt_vec3::z.
int vive_found | ( | struct xrt_prober * | xp, |
struct xrt_prober_device ** | devices, | ||
size_t | num_devices, | ||
size_t | index, | ||
cJSON * | attached_data, | ||
struct xrt_device ** | out_xdev | ||
) |
#include <drivers/vive/vive_prober.h>
Probing function for Vive devices.