Monado OpenXR Runtime
vive_common.h
Go to the documentation of this file.
1// Copyright 2020-2023, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Common things like defines for Vive and Index.
6 * @author Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
7 * @author Jakob Bornecrantz <jakob@collabora.com>
8 * @ingroup aux_vive
9 */
10
11#pragma once
12
13#include "xrt/xrt_compiler.h"
14
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20
21/*!
22 * @defgroup aux_vive Shared code for @ref drv_vive and @ref drv_survive.
23 * @ingroup aux
24 *
25 * @brief Shared functionality for @ref drv_vive and @ref drv_survive drivers
26 * that supports the HTC Vive and Valve Index family of HMDs.
27 */
28
29/*!
30 * @dir auxiliary/vive
31 *
32 * @brief @ref aux_vive files.
33 */
34
35
36#define HTC_VID 0x0bb4
37#define VALVE_VID 0x28de
38
39#define VIVE_PID 0x2c87
40#define VIVE_LIGHTHOUSE_FPGA_RX 0x2000
41
42#define VIVE_PRO_MAINBOARD_PID 0x0309
43#define VIVE_PRO2_MAINBOARD_PID 0x0342
44#define VIVE_PRO_LHR_PID 0x2300
45
46#define VIVE_WATCHMAN_DONGLE 0x2101
47#define VIVE_WATCHMAN_DONGLE_GEN2 0x2102
48
49
50#ifdef __cplusplus
51}
52#endif
Header holding common defines.