35 #include <libusb-1.0/libusb.h> 64 void setColors(std::vector<std::vector<Color>> led_colors);
void releaseInterface()
releaseInterface Release fadecandy device interface
bool isConnected()
isConnected
void setColors(std::vector< std::vector< Color >> led_colors)
setColors Transfer the LED color stream to the driver
libusb_device_handle * dev_handle_
dev_handle_ USB device handle
libusb_context * context_
context_ Lib USB Context
std::string connect()
connect Initialize the Fadecandy device
libusb_device_descriptor findUsbDevice()
findUsbDevice Search the fadcandy device with particular vendor and product id