Open jrlanglois opened 1 month ago
FWIW, I found this code at the top of the file:
const unsigned int CORSAIR_DEVICE_COUNT_MAX = 64; // maximum number of devices to be discovered
const unsigned int CORSAIR_DEVICE_LEDCOUNT_MAX = 512; // maximum number of LEDs controlled by device
It seems reasonable, to me, to add references to them to the related APIs.
This API is particularly confusing, suffice to say. Apparently if you provide a very large number of devices to request, you get a vague error:
CE_InvalidArguments
.This is not ideal for a few reasons:
Can you please provide better in-code docs at the very least.