2020-12-04 16:43:46 +00:00
|
|
|
// Copyright 2020-2021, N Madsen.
|
|
|
|
// Copyright 2020-2021, Collabora, Ltd.
|
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
|
|
/*!
|
|
|
|
* @file
|
|
|
|
* @brief Interface to the WMR driver.
|
|
|
|
* @author nima01 <nima_zero_one@protonmail.com>
|
|
|
|
* @author Jakob Bornecrantz <jakob@collabora.com>
|
|
|
|
* @ingroup drv_wmr
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*!
|
2021-05-04 15:28:47 +00:00
|
|
|
* @defgroup drv_wmr Windows Mixed Reality driver
|
2020-12-04 16:43:46 +00:00
|
|
|
* @ingroup drv
|
|
|
|
*
|
|
|
|
* @brief Windows Mixed Reality driver.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* Probing function for Windows Mixed Reality devices.
|
|
|
|
*
|
|
|
|
* @ingroup drv_wmr
|
2021-11-10 18:09:00 +00:00
|
|
|
* @see xrt_prober_found_function_t
|
2020-12-04 16:43:46 +00:00
|
|
|
*/
|
|
|
|
int
|
|
|
|
wmr_found(struct xrt_prober *xp,
|
|
|
|
struct xrt_prober_device **devices,
|
2021-11-08 22:54:21 +00:00
|
|
|
size_t device_count,
|
2020-12-04 16:43:46 +00:00
|
|
|
size_t index,
|
|
|
|
cJSON *attached_data,
|
|
|
|
struct xrt_device **out_xdev);
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* @dir drivers/wmr
|
|
|
|
*
|
|
|
|
* @brief @ref drv_wmr files.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|