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
14 extern "C" {
15 #endif
16 
17 
18 struct 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  */
32 struct xrt_auto_prober *
34 
35 /*!
36  * Create a arduino device from a ble notify.
37  *
38  * @ingroup drv_arduino
39  */
40 struct xrt_device *
42  bool print_spew,
43  bool print_debug);
44 
45 /*!
46  * @dir drivers/arduino
47  *
48  * @brief @ref drv_arduino files.
49  */
50 
51 
52 #ifdef __cplusplus
53 }
54 #endif
struct xrt_device * arduino_device_create(struct os_ble_device *ble, bool print_spew, bool print_debug)
Create a arduino device from a ble notify.
Definition: arduino_device.c:379
struct xrt_auto_prober * arduino_create_auto_prober()
Probing function for the Arduino based flexible input device driver.
Definition: arduino_prober.c:100
A simple prober to probe for a HMD device connected to the system.
Definition: xrt_prober.h:339
Representing a single ble notify attribute on a device.
Definition: os_ble.h:27
A single HMD or input device.
Definition: xrt_device.h:202