#include "xscontrollerconfig.h"
#include "enumerateusbdevices.h"
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include "xslibusb.h"
Go to the source code of this file.
Functions | |
bool | xsEnumerateUsbDevices (XsPortInfoArray &ports) |
Enumerate Xsens USB devices. More... | |
bool xsEnumerateUsbDevices | ( | XsPortInfoArray & | ports | ) |
Enumerate Xsens USB devices.
If the OS already has drivers running for a device, the device should already have been found by xsEnumerateSerialPorts(). \param[in,out] ports The list of serial ports to append to \returns False if an error occurred during scanning. True if zero or more device found or no scan could be done because both WINUSB and LIBUSB were not defined.
Definition at line 145 of file enumerateusbdevices.cpp.