Monado OpenXR Runtime
ulv2_interface.h
Go to the documentation of this file.
1// Copyright 2020-2021, Collabora, Ltd.
2// Copyright 2020-2021, Moses Turner.
3// SPDX-License-Identifier: BSL-1.0
4/*!
5 * @file
6 * @brief Driver for Ultraleap's V2 API for the Leap Motion Controller.
7 * @author Moses Turner <mosesturner@protonmail.com>
8 * @author Christoph Haag <christoph.haag@collabora.com>
9 * @ingroup drv_ulv2
10 */
11
12#pragma once
13
14#include "math/m_api.h"
15#include "xrt/xrt_device.h"
16#include "xrt/xrt_prober.h"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#define ULV2_VID 0xf182
23#define ULV2_PID 0x0003
24
25/*!
26 * @defgroup drv_ulv2 Leap Motion Controller driver
27 * @ingroup drv
28 *
29 * @brief Leap Motion Controller driver using Ultraleap's V2 API
30 */
31
32/*!
33 * Probing function for Leap Motion Controller.
34 *
35 * @ingroup drv_ulv2
36 * @see xrt_prober_found_func_t
37 */
39ulv2_create_device(struct xrt_device **out_xdev);
40#ifdef __cplusplus
41}
42#endif
xrt_result_t ulv2_create_device(struct xrt_device **out_xdev)
Probing function for Leap Motion Controller.
Definition: ulv2_driver.cpp:376
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.