35 enum HDK_VARIANT variant;
41 bool disconnect_notified;
55hdk_device_create(
struct os_hid_device *dev,
enum HDK_VARIANT variant);
64#define HDK_TRACE(d, ...) U_LOG_XDEV_IFL_T(&d->base, d->log_level, __VA_ARGS__)
65#define HDK_DEBUG(d, ...) U_LOG_XDEV_IFL_D(&d->base, d->log_level, __VA_ARGS__)
66#define HDK_INFO(d, ...) U_LOG_XDEV_IFL_I(&d->base, d->log_level, __VA_ARGS__)
67#define HDK_WARN(d, ...) U_LOG_XDEV_IFL_W(&d->base, d->log_level, __VA_ARGS__)
68#define HDK_ERROR(d, ...) U_LOG_XDEV_IFL_E(&d->base, d->log_level, __VA_ARGS__)
u_logging_level
Logging level enum.
Definition: u_logging.h:43
Wrapper around OS threading native functions.
Definition: hdk_device.h:32
Representing a single hid interface on a device.
Definition: os_hid.h:29
A wrapper around a native mutex.
Definition: os_threading.h:55
All in one helper that handles locking, waiting for change and starting a thread.
Definition: os_threading.h:453
A single HMD or input device.
Definition: xrt_device.h:241
A quaternion with single floats.
Definition: xrt_defines.h:216
Basic logging functionality.