Monado OpenXR Runtime
ulv5_interface.h
Go to the documentation of this file.
1// Copyright 2023, Joseph Albers.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Driver for Ultraleap's V5 API for the Leap Motion Controller.
6 * @author Joseph Albers <joseph.albers@outlook.de>
7 * @ingroup drv_ulv5
8 */
9
10#pragma once
11
12#include "math/m_api.h"
13#include "xrt/xrt_device.h"
14#include "xrt/xrt_prober.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20#define ULV5_VID 0x2936
21#define ULV5_PID 0x1202
22
23/*!
24 * @defgroup drv_ulv5 Leap Motion Controller driver
25 * @ingroup drv
26 *
27 * @brief Leap Motion Controller driver using Ultraleap's V5 API
28 */
29
30/*!
31 * Probing function for Leap Motion Controller.
32 *
33 * @ingroup drv_ulv5
34 * @see xrt_prober_found_func_t
35 */
37ulv5_create_device(struct xrt_device **out_xdev);
38#ifdef __cplusplus
39}
40#endif
xrt_result_t ulv5_create_device(struct xrt_device **out_xdev)
Probing function for Leap Motion Controller.
Definition: ulv5_driver.cpp:300
enum xrt_result xrt_result_t
Result type used across Monado.
C interface to math library.
A single HMD or input device.
Definition: xrt_device.h:241
Header defining an xrt display or controller device.
Common interface to probe for devices.