Monado OpenXR Runtime
opengloves_interface.h
Go to the documentation of this file.
1// Copyright 2019-2022, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief OpenGloves device interface.
6 * @author Daniel Willmott <web@dan-w.com>
7 * @ingroup drv_opengloves
8 */
9
10#pragma once
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16struct u_system_devices;
17
18/*!
19 * @defgroup drv_opengloves OpenGloves Driver for VR Gloves
20 * @ingroup drv
21 *
22 * @brief Driver for OpenGloves VR Gloves Devices
23 */
24
25void
26opengloves_create_devices(struct xrt_device *old_left,
27 struct xrt_device *old_right,
28 struct xrt_device **out_left,
29 struct xrt_device **out_right);
30
31/*!
32 * @dir drivers/opengloves
33 *
34 * @brief @ref drv_opengloves files.
35 */
36
37#ifdef __cplusplus
38}
39#endif
Helper struct to manage devices by implementing the xrt_system_devices.
Definition: u_system_helpers.h:36
A single HMD or input device.
Definition: xrt_device.h:241