Monado OpenXR Runtime
hdk_device.h File Reference

Interface to direct OSVR HDK driver code. More...

#include "os/os_threading.h"
#include "util/u_logging.h"
Include dependency graph for hdk_device.h:

Go to the source code of this file.

Data Structures

struct  hdk_device
 

Macros

#define HDK_TRACE(d, ...)   U_LOG_XDEV_IFL_T(&d->base, d->log_level, __VA_ARGS__)
 
#define HDK_DEBUG(d, ...)   U_LOG_XDEV_IFL_D(&d->base, d->log_level, __VA_ARGS__)
 
#define HDK_INFO(d, ...)   U_LOG_XDEV_IFL_I(&d->base, d->log_level, __VA_ARGS__)
 
#define HDK_WARN(d, ...)   U_LOG_XDEV_IFL_W(&d->base, d->log_level, __VA_ARGS__)
 
#define HDK_ERROR(d, ...)   U_LOG_XDEV_IFL_E(&d->base, d->log_level, __VA_ARGS__)
 

Enumerations

enum  HDK_VARIANT { HDK_UNKNOWN = 0 , HDK_VARIANT_1_2 , HDK_VARIANT_1_3_1_4 , HDK_VARIANT_2 }
 

Functions

static struct hdk_devicehdk_device (struct xrt_device *xdev)
 
struct hdk_devicehdk_device_create (struct os_hid_device *dev, enum HDK_VARIANT variant)
 

Detailed Description

Interface to direct OSVR HDK driver code.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m
Rylie Pavlik rylie.nosp@m..pav.nosp@m.lik@c.nosp@m.olla.nosp@m.bora..nosp@m.com