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 WMR_HEADSET_ACER_AH100,
40 WMR_HEADSET_ACER_AH101,
41};
42
43/*!
44 * Defines for the WMR driver.
45 *
46 * @addtogroup drv_wmr
47 * @{
48 */
49
50#define MS_HOLOLENS_MANUFACTURER_STRING "Microsoft"
51#define MS_HOLOLENS_PRODUCT_STRING "HoloLens Sensors"
52
53#define MICROSOFT_VID 0x045e
54#define HOLOLENS_SENSORS_PID 0x0659
55#define WMR_CONTROLLER_PID 0x065b
56#define WMR_CONTROLLER_LEFT_PRODUCT_STRING "Motion controller - Left"
57#define WMR_CONTROLLER_RIGHT_PRODUCT_STRING "Motion controller - Right"
58
59#define HP_VID 0x03f0
60#define VR1000_PID 0x0367
61#define REVERB_G1_PID 0x0c6a
62#define REVERB_G2_PID 0x0580
63#define REVERB_G2_OMNICEPT_PID 0x0680
64#define REVERB_G2_CONTROLLER_PID 0x066a /* On 0x045e Microsoft VID */
65
66#define LENOVO_VID 0x17ef
67#define EXPLORER_PID 0xb801
68
69#define DELL_VID 0x413c
70#define VISOR_PID 0xb0d5
71
72#define SAMSUNG_VID 0x04e8
73#define ODYSSEY_PID 0x7310
74#define ODYSSEY_PLUS_PID 0x7312
75#define ODYSSEY_CONTROLLER_PID 0x065d
76
77#define QUANTA_VID 0x0408 /* Medion? */
78#define MEDION_ERAZER_X1000_PID 0xb5d5
79
80#define ACER_VID 0x0502
81#define AH100_PID 0xb0d5
82#define AH101_PID 0xb0d6
83
84/*!
85 * @}
86 */
87
88
89#ifdef __cplusplus
90}
91#endif
wmr_headset_type
Headset type, used to select different control and init/shutdown procedures.
Definition: wmr_common.h:29
Header holding common defines.