Monado OpenXR Runtime
Loading...
Searching...
No Matches
u_system_helpers.c File Reference

Helpers for probing and querying xrt_system_devices. More...

#include "xrt/xrt_device.h"
#include "xrt/xrt_prober.h"
#include "util/u_debug.h"
#include "util/u_device.h"
#include "util/u_system_helpers.h"
#include <assert.h>
#include <string.h>
Include dependency graph for u_system_helpers.c:

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_deviceu_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.
 

Detailed Description

Helpers for probing and querying xrt_system_devices.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m