Interface to direct OSVR HDK driver code.
More...
Go to the source code of this file.
◆ HDK_DEBUG
#define HDK_DEBUG |
( |
|
c, |
|
|
|
... |
|
) |
| |
Value:do { \
if (c->print_debug) { \
fprintf(stderr, "%s - ", __func__); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} \
} while (false)
◆ HDK_ERROR
#define HDK_ERROR |
( |
|
c, |
|
|
|
... |
|
) |
| |
Value:do { \
fprintf(stderr, "%s - ", __func__); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} while (false)
◆ HDK_SPEW
#define HDK_SPEW |
( |
|
c, |
|
|
|
... |
|
) |
| |
Value:do { \
if (c->print_spew) { \
fprintf(stderr, "%s - ", __func__); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} \
} while (false)
◆ HDK_VARIANT
Enumerator |
---|
HDK_UNKNOWN | |
HDK_VARIANT_1_2 | |
HDK_VARIANT_1_3_1_4 | |
HDK_VARIANT_2 | |
◆ hdk_device_create()