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