Files
fluxengine/lib/usb/usbfinder.h
2022-02-21 22:02:28 +01:00

19 lines
287 B
C++

#ifndef USBSERIAL_H
#define USBSERIAL_H
#include "libusbp_config.h"
#include "libusbp.hpp"
struct CandidateDevice
{
libusbp::device device;
uint32_t id;
std::string serial;
std::string serialPort;
};
extern std::vector<std::unique_ptr<CandidateDevice>> findUsbDevices();
#endif