vive device header
More...
Go to the source code of this file.
◆ VIVE_DEBUG
#define VIVE_DEBUG |
( |
|
p, |
|
|
|
... |
|
) |
| |
Value:do { \
if (p->print_debug) { \
fprintf(stderr, "%s - ", __func__); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} \
} while (false)
Referenced by vive_parse_config().
◆ VIVE_ERROR
#define VIVE_ERROR |
( |
|
... | ) |
|
Value:do { \
fprintf(stderr, "%s - ", __func__); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} while (false)
Referenced by vive_parse_config().
◆ VIVE_SPEW
#define VIVE_SPEW |
( |
|
p, |
|
|
|
... |
|
) |
| |
Value:do { \
if (p->print_spew) { \
fprintf(stderr, "%s - ", __func__); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} \
} while (false)
◆ VIVE_VARIANT
Enumerator |
---|
VIVE_UNKNOWN | |
VIVE_VARIANT_VIVE | |
VIVE_VARIANT_PRO | |
VIVE_VARIANT_INDEX | |
◆ vive_device_create()