Monado OpenXR Runtime
opengloves_prober_serial.h
Go to the documentation of this file.
1// Copyright 2019-2022, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Serial prober interface for OpenGloves.
6 * @author Daniel Willmott <web@dan-w.com>
7 * @ingroup drv_opengloves
8 */
9
10#pragma once
11
12#include "../opengloves_communication.h"
13
14#define LUCIDGLOVES_USB_VID 0x1a86
15#define LUCIDGLOVES_USB_L_PID 0x7523 // left hand pid
16#define LUCIDGLOVES_USB_R_PID 0x7524 // right hand pid
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21
22int
23opengloves_get_serial_devices(uint16_t vid, uint16_t pid, struct opengloves_communication_device **out_ocd);
24
25#ifdef __cplusplus
26}
27#endif
Interface for a communication method.
Definition: opengloves_communication.h:26