Files
fluxengine/lib/usb/usbfinder.h
David Given d157b7b05d Make libusbp work on Windows; rework the Microsoft-specific bits of the
firmware to match. This does at least allow us to get rid of the patcher.
2021-12-12 17:25:24 +00:00

18 lines
273 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;
};
extern std::vector<std::unique_ptr<CandidateDevice>> findUsbDevices(uint32_t id);
#endif