Monado OpenXR Runtime
vive_builder.h
Go to the documentation of this file.
1// Copyright 2023, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Builder helpers for Vive/Index devices.
6 * @author Jakob Bornecrantz <jakob@collabora.com>
7 * @ingroup aux_vive
8 */
9
10#pragma once
11
12#include "xrt/xrt_prober.h"
13
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19
20/*!
21 * Helper function to do an estimate of a system.
22 *
23 * @ingroup aux_vive
24 */
27 bool have_6dof,
28 bool have_hand_tracking,
29 bool *out_valve_have_index,
30 struct xrt_builder_estimate *out_estimate);
31
32
33#ifdef __cplusplus
34}
35#endif
xrt_result_t vive_builder_estimate(struct xrt_prober *xp, bool have_6dof, bool have_hand_tracking, bool *out_valve_have_index, struct xrt_builder_estimate *out_estimate)
Helper function to do an estimate of a system.
Definition: vive_builder.c:27
enum xrt_result xrt_result_t
Result type used across Monado.
A estimate from a setter upper about how many devices they can open.
Definition: xrt_prober.h:529
The main prober that probes and manages found but not opened HMD devices that are connected to the sy...
Definition: xrt_prober.h:132
Common interface to probe for devices.