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