Monado OpenXR Runtime
arduino_interface.h
Go to the documentation of this file.
1// Copyright 2019-2020, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Interer face @ref drv_arduino.
6 * @author Pete Black <pete.black@collabora.com>
7 * @author Jakob Bornecrantz <jakob@collabora.com>
8 * @ingroup drv_arduino
9 */
10
11#pragma once
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17
18struct os_ble_device;
19
20/*!
21 * @defgroup drv_arduino Arduino flexible input device driver
22 * @ingroup drv
23 *
24 * @brief Driver for the Monado Arduino based flexible input device.
25 */
26
27/*!
28 * Probing function for the Arduino based flexible input device driver.
29 *
30 * @ingroup drv_arduino
31 */
32struct xrt_auto_prober *
34
35/*!
36 * Create a arduino device from a ble notify.
37 *
38 * @ingroup drv_arduino
39 */
40struct xrt_device *
42
43/*!
44 * @dir drivers/arduino
45 *
46 * @brief @ref drv_arduino files.
47 */
48
49
50#ifdef __cplusplus
51}
52#endif
struct xrt_device * arduino_device_create(struct os_ble_device *ble)
Create a arduino device from a ble notify.
Definition: arduino_device.c:378
struct xrt_auto_prober * arduino_create_auto_prober(void)
Probing function for the Arduino based flexible input device driver.
Definition: arduino_prober.c:102
Representing a single ble notify attribute on a device.
Definition: os_ble.h:29
An interface to be exposed by a device driver that should probe for the existence of its own device o...
Definition: xrt_prober.h:761
A single HMD or input device.
Definition: xrt_device.h:241