|
Monado OpenXR Runtime
|
Helpers for probing and querying xrt_system_devices. More...
#include "xrt/xrt_instance.h"#include "xrt/xrt_results.h"#include "xrt/xrt_system.h"#include "xrt/xrt_tracking.h"
Go to the source code of this file.
Functions | |
| xrt_result_t | u_system_devices_create_from_prober (struct xrt_instance *xinst, struct xrt_session_event_sink *broadcast, struct xrt_system_devices **out_xsysd, struct xrt_space_overseer **out_xso) |
| Takes a xrt_instance, gets the prober from it and then uses the prober to create a populated xrt_system_devices struct from it. | |
| struct xrt_device * | u_system_devices_get_ht_device (struct xrt_system_devices *xsysd, enum xrt_input_name name) |
| Looks through xrt_system_devices's devices and returns the first device that supports hand tracking and the supplied input name. | |
| static struct xrt_device * | u_system_devices_get_ht_device_unobstructed_left (struct xrt_system_devices *xsysd) |
| Helper to get the first left (unobstructed) hand-tracking device, uses u_system_devices_get_ht_device. | |
| static struct xrt_device * | u_system_devices_get_ht_device_unobstructed_right (struct xrt_system_devices *xsysd) |
| Helper to get the first (unobstructed) right hand-tracking device, uses u_system_devices_get_ht_device. | |
| static struct xrt_device * | u_system_devices_get_ht_device_conforming_left (struct xrt_system_devices *xsysd) |
| Helper to get the first left (conforming) hand-tracking device, uses u_system_devices_get_ht_device. | |
| static struct xrt_device * | u_system_devices_get_ht_device_conforming_right (struct xrt_system_devices *xsysd) |
| Helper to get the first (conforming) right hand-tracking device, uses u_system_devices_get_ht_device. | |
Helpers for probing and querying xrt_system_devices.