Monado OpenXR Runtime
oh_interface.h
Go to the documentation of this file.
1// Copyright 2019-2023, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Interface to OpenHMD driver code.
6 * @author Jakob Bornecrantz <jakob@collabora.com>
7 * @ingroup drv_ohmd
8 */
9
10#pragma once
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16/*!
17 * @defgroup drv_ohmd OpenHMD wrapper
18 * @ingroup drv
19 *
20 * @brief Wrapper driver around OpenHMD.
21 */
22
23/*!
24 * Create a probe for OpenHMD supported devices.
25 *
26 * @ingroup drv_ohmd
27 */
28struct xrt_auto_prober *
30
31/*!
32 * @dir drivers/ohmd
33 *
34 * @brief @ref drv_ohmd files.
35 */
36
37
38#ifdef __cplusplus
39}
40#endif
struct xrt_auto_prober * oh_create_auto_prober(void)
Create a probe for OpenHMD supported devices.
Definition: oh_prober.c:69
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