Interface to the WMR HMD driver code.
More...
Go to the source code of this file.
|
|
#define | WMR_MAX_CONTROLLERS 2 |
| |
|
|
static struct wmr_hmd * | wmr_hmd (struct xrt_device *p) |
| |
| void | wmr_hmd_create (enum wmr_headset_type hmd_type, struct os_hid_device *hid_holo, struct os_hid_device *hid_ctrl, struct xrt_prober_device *dev_holo, enum u_logging_level log_level, struct xrt_device **out_hmd, struct xrt_device **out_handtracker, struct xrt_device **out_left_controller, struct xrt_device **out_right_controller) |
| |
|
bool | wmr_hmd_send_controller_packet (struct wmr_hmd *hmd, const uint8_t *buffer, uint32_t buf_size) |
| |
|
int | wmr_hmd_read_sync_from_controller (struct wmr_hmd *hmd, uint8_t *buffer, uint32_t buf_size, int timeout_ms) |
| |
◆ wmr_hmd_create()
- Todo:
- Could reach this due to !XRT_HAVE_LIBUSB but the HMD should keep working