Monado OpenXR Runtime
wmr_common.h
Go to the documentation of this file.
1// Copyright 2020-2021, N Madsen.
2// Copyright 2020-2023, Collabora, Ltd.
3// SPDX-License-Identifier: BSL-1.0
4/*!
5 * @file
6 * @brief Defines and constants related to WMR driver code.
7 * @author Nis Madsen <nima_zero_one@protonmail.com>
8 * @author Jakob Bornecrantz <jakob@collabora.com>
9 * @author Nova King <technobaboo@proton.me>
10 * @ingroup drv_wmr
11 */
12
13#pragma once
14
15#include "xrt/xrt_compiler.h"
16
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22
23/*!
24 * Headset type, used to select different control and init/shutdown procedures.
25 *
26 * @ingroup drv_wmr
27 */
29{
30 WMR_HEADSET_GENERIC,
31 WMR_HEADSET_HP_VR1000,
32 WMR_HEADSET_REVERB_G1,
33 WMR_HEADSET_REVERB_G2,
34 WMR_HEADSET_SAMSUNG_XE700X3AI,
35 WMR_HEADSET_SAMSUNG_800ZAA,
36 WMR_HEADSET_LENOVO_EXPLORER,
37 WMR_HEADSET_MEDION_ERAZER_X1000,
38 WMR_HEADSET_DELL_VISOR,
39};
40
41/*!
42 * Defines for the WMR driver.
43 *
44 * @addtogroup drv_wmr
45 * @{
46 */
47
48#define MS_HOLOLENS_MANUFACTURER_STRING "Microsoft"
49#define MS_HOLOLENS_PRODUCT_STRING "HoloLens Sensors"
50
51#define MICROSOFT_VID 0x045e
52#define HOLOLENS_SENSORS_PID 0x0659
53#define WMR_CONTROLLER_PID 0x065b
54#define WMR_CONTROLLER_LEFT_PRODUCT_STRING "Motion controller - Left"
55#define WMR_CONTROLLER_RIGHT_PRODUCT_STRING "Motion controller - Right"
56
57#define HP_VID 0x03f0
58#define VR1000_PID 0x0367
59#define REVERB_G1_PID 0x0c6a
60#define REVERB_G2_PID 0x0580
61#define REVERB_G2_CONTROLLER_PID 0x066a /* On 0x045e Microsoft VID */
62
63#define LENOVO_VID 0x17ef
64#define EXPLORER_PID 0xb801
65
66#define DELL_VID 0x413c
67#define VISOR_PID 0xb0d5
68
69#define SAMSUNG_VID 0x04e8
70#define ODYSSEY_PID 0x7310
71#define ODYSSEY_PLUS_PID 0x7312
72#define ODYSSEY_CONTROLLER_PID 0x065d
73
74#define QUANTA_VID 0x0408 /* Medion? */
75#define MEDION_ERAZER_X1000_PID 0xb5d5
76
77/*!
78 * @}
79 */
80
81
82#ifdef __cplusplus
83}
84#endif
wmr_headset_type
Headset type, used to select different control and init/shutdown procedures.
Definition: wmr_common.h:29
Header holding common defines.