Rift prober code.
More...
|
|
#define | RIFT_SENSOR_BLOB_REQUIRED_THRESHOLD 0x40 |
| |
|
#define | RIFT_SENSOR_PIXEL_THRESHOLD_CV1 0x24 |
| |
|
#define | RIFT_SENSOR_PIXEL_THRESHOLD_DK2 0x7f |
| |
|
#define | DEFAULT_ENABLE true |
| |
|
#define | RIFT_ERROR(p, ...) U_LOG_IFL_E(p->log_level, __VA_ARGS__) |
| |
|
#define | RIFT_WARN(p, ...) U_LOG_IFL_W(p->log_level, __VA_ARGS__) |
| |
|
#define | RIFT_DEBUG(p, ...) U_LOG_IFL_D(p->log_level, __VA_ARGS__) |
| |
|
|
static struct rift_builder * | rift_builder (struct xrt_builder *xb) |
| |
|
static xrt_result_t | rift_estimate_system (struct xrt_builder *xb, cJSON *config, struct xrt_prober *xp, struct xrt_builder_estimate *estimate) |
| |
|
void | rift_open_pssense (struct rift_builder *rb, struct xrt_frame_context *xfctx, struct xrt_system_devices *xsysd, struct xrt_prober *xp, struct xrt_prober_device **xpdevs, size_t xpdev_count, struct t_builder_roles_helper *tbrh) |
| |
|
void | rift_open_contactglove (struct rift_builder *rb, struct xrt_system_devices *xsysd, struct xrt_prober *xp, struct xrt_prober_device **xpdevs, size_t xpdev_count, struct t_builder_roles_helper *tbrh) |
| |
|
static xrt_result_t | rift_open_system_impl (struct xrt_builder *xb, cJSON *config, struct xrt_prober *xp, struct xrt_tracking_origin *origin, struct xrt_system_devices *xsysd, struct xrt_frame_context *xfctx, struct t_builder_roles_helper *tbrh) |
| |
|
static void | rift_destroy (struct xrt_builder *xb) |
| |
| struct xrt_builder * | rift_builder_create (void) |
| | The Rift driver builder.
|
| |
◆ rift_builder_create()
The Rift driver builder.
References ARRAY_SIZE, t_builder::base, xrt_builder::destroy, xrt_builder::driver_identifier_count, xrt_builder::driver_identifiers, xrt_builder::estimate_system, xrt_builder::identifier, xrt_builder::name, xrt_builder::open_system, t_builder::open_system_static_roles, t_builder_open_system_static_roles(), U_TYPED_CALLOC, and u_var_add_root().
◆ driver_list
| const char* driver_list[] |
|
static |