The open source OpenXR runtime
at main 34 lines 632 B view raw
1// Copyright 2019, Collabora, Ltd. 2// SPDX-License-Identifier: BSL-1.0 3/*! 4 * @file 5 * @brief Interface to Libsurvive adapter. 6 * @author Christoph Haag <christoph.haag@collabora.com> 7 * @author Jakob Bornecrantz <jakob@collabora.com> 8 * @ingroup drv_survive 9 */ 10 11#pragma once 12 13 14#include "xrt/xrt_results.h" 15#include "xrt/xrt_defines.h" 16#include "vive/vive_config.h" 17 18#ifdef __cplusplus 19extern "C" { 20#endif 21 22/*! 23 * @defgroup drv_survive Lighthouse tracking using libsurvive 24 * @ingroup drv 25 * 26 * @brief 27 */ 28 29int 30survive_get_devices(struct xrt_device **out_xdevs, struct vive_config **out_vive_config); 31 32#ifdef __cplusplus 33} 34#endif