Monado OpenXR Runtime
dummy_interface.h
Go to the documentation of this file.
1 // Copyright 2020, Collabora, Ltd.
2 // SPDX-License-Identifier: BSL-1.0
3 /*!
4  * @file
5  * @brief Interface to dummy driver.
6  * @author Jakob Bornecrantz <jakob@collabora.com>
7  * @ingroup drv_dummy
8  */
9 
10 #pragma once
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 /*!
17  * @defgroup drv_dummy Dummy driver
18  * @ingroup drv
19  *
20  * @brief Simple do-nothing dummy driver.
21  */
22 
23 /*!
24  * Create a auto prober for dummy devices.
25  *
26  * @ingroup drv_dummy
27  */
28 struct xrt_auto_prober *
30 
31 /*!
32  * Create a dummy hmd.
33  *
34  * @ingroup drv_dummy
35  */
36 struct xrt_device *
37 dummy_hmd_create(void);
38 
39 /*!
40  * @dir drivers/dummy
41  *
42  * @brief @ref drv_dummy files.
43  */
44 
45 
46 #ifdef __cplusplus
47 }
48 #endif
struct xrt_auto_prober * dummy_create_auto_prober(void)
Create a auto prober for dummy devices.
Definition: dummy_prober.c:58
A simple prober to probe for a HMD device connected to the system.
Definition: xrt_prober.h:339
struct xrt_device * dummy_hmd_create(void)
Create a dummy hmd.
Definition: dummy_hmd.c:154
A single HMD or input device.
Definition: xrt_device.h:202