Monado OpenXR Runtime
|
Interface to OpenHMD driver code. More...
Go to the source code of this file.
Macros | |
#define | OHMD_TRACE(d, ...) U_LOG_XDEV_IFL_T(&d->base, d->log_level, __VA_ARGS__) |
#define | OHMD_DEBUG(d, ...) U_LOG_XDEV_IFL_D(&d->base, d->log_level, __VA_ARGS__) |
#define | OHMD_INFO(d, ...) U_LOG_XDEV_IFL_I(&d->base, d->log_level, __VA_ARGS__) |
#define | OHMD_WARN(d, ...) U_LOG_XDEV_IFL_W(&d->base, d->log_level, __VA_ARGS__) |
#define | OHMD_ERROR(d, ...) U_LOG_XDEV_IFL_E(&d->base, d->log_level, __VA_ARGS__) |
Functions | |
int | oh_device_create (ohmd_context *ctx, bool no_hmds, struct xrt_device **out_xdevs) |
Interface to OpenHMD driver code.
int oh_device_create | ( | ohmd_context * | ctx, |
bool | no_hmds, | ||
struct xrt_device ** | out_xdevs | ||
) |
References xrt_tracking_origin::type, U_LOG_D, U_LOG_W, U_TYPED_CALLOC, and XRT_MAX_DEVICES_PER_PROBE.