Monado OpenXR Runtime
wmr_interface.h File Reference

Interface to the WMR driver. More...

#include "xrt/xrt_prober.h"
#include "wmr_common.h"
Include dependency graph for wmr_interface.h:

Go to the source code of this file.

Data Structures

struct  wmr_bt_controllers_search_results
 Results from searching for host attached Bluetooth controllers. More...
 
struct  wmr_companion_search_results
 Results from searching for a companion device. More...
 
struct  wmr_headset_search_results
 Results from searching for a headset. More...
 

Functions

void wmr_find_bt_controller_pair (struct xrt_prober *xp, struct xrt_prober_device **xpdevs, size_t xpdev_count, enum u_logging_level log_level, struct wmr_bt_controllers_search_results *out_wbtcsr)
 Search for a left and right pair of Windows Mixed Reality controllers, groups them by type (Classic/Odyssey/G2). More...
 
void wmr_find_companion_device (struct xrt_prober *xp, struct xrt_prober_device **xpdevs, size_t xpdev_count, enum u_logging_level log_level, struct xrt_prober_device *xpdev_holo, struct wmr_companion_search_results *out_wcsr)
 Searches for the the list of xpdevs for the companion device of a holo lens device. More...
 
void wmr_find_headset (struct xrt_prober *xp, struct xrt_prober_device **xpdevs, size_t xpdev_count, enum u_logging_level log_level, struct wmr_headset_search_results *out_whsr)
 Find a headsets. More...
 
xrt_result_t wmr_create_headset (struct xrt_prober *xp, struct xrt_prober_device *xpdev_holo, struct xrt_prober_device *xpdev_companion, enum wmr_headset_type type, enum u_logging_level log_level, struct xrt_device **out_hmd, struct xrt_device **out_left, struct xrt_device **out_right, struct xrt_device **out_ht_left, struct xrt_device **out_ht_right)
 Creates a WMR headset with the given devices and of headset type. More...
 
xrt_result_t wmr_create_bt_controller (struct xrt_prober *xp, struct xrt_prober_device *xpdev, enum u_logging_level log_level, struct xrt_device **out_xdev)
 Creates a WMR BT controller device. More...
 

Detailed Description