19 typedef struct ohmd_context ohmd_context;
20 typedef struct ohmd_device ohmd_device;
35 bool enable_finite_difference;
45 oh_device_create(ohmd_context *ctx,
51 #define OH_SPEW(c, ...) \ 53 if (c->print_spew) { \ 54 fprintf(stderr, "%s - ", __func__); \ 55 fprintf(stderr, __VA_ARGS__); \ 56 fprintf(stderr, "\n"); \ 60 #define OH_DEBUG(c, ...) \ 62 if (c->print_debug) { \ 63 fprintf(stderr, "%s - ", __func__); \ 64 fprintf(stderr, __VA_ARGS__); \ 65 fprintf(stderr, "\n"); \ 69 #define OH_ERROR(c, ...) \ 71 fprintf(stderr, "%s - ", __func__); \ 72 fprintf(stderr, __VA_ARGS__); \ 73 fprintf(stderr, "\n"); \ Definition: oh_device.h:22
Header defining a xrt HMD device.
A relation with two spaces, includes velocity and acceleration.
Definition: xrt_defines.h:334
A single HMD or input device.
Definition: xrt_device.h:203
C interface to math library.