Monado OpenXR Runtime
opengloves_device.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.
6 * @author Daniel Willmott <web@dan-w.com>
7 * @ingroup drv_opengloves
8 */
9
10#pragma once
11#include "util/u_logging.h"
12#include "xrt/xrt_device.h"
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19struct xrt_device *
20opengloves_device_create(struct opengloves_communication_device *ocd, enum xrt_hand hand);
21
22#ifdef __cplusplus
23}
24#endif
xrt_hand
Enumeration for left and right hand.
Definition: xrt_defines.h:1354
Communication structures for OpenGloves.
Interface for a communication method.
Definition: opengloves_communication.h:26
A single HMD or input device.
Definition: xrt_device.h:241
Basic logging functionality.
Header defining an xrt display or controller device.