Debian Codegraph @

src/xrt/drivers/opengloves/communication/serial/opengloves_prober_serial.h

raw
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 <[email protected]>
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
18 extern "C" {
19 #endif
20
21
22 int
23 opengloves_get_serial_devices(uint16_t vid, uint16_t pid, struct opengloves_communication_device **out_ocd);
24
25 #ifdef __cplusplus
26 }
27 #endif