Use HID path for Location on Corsair Lighting Node controllers
This commit is contained in:
parent
b829bfe538
commit
406ebcc789
4 changed files with 13 additions and 4 deletions
|
|
@ -79,10 +79,11 @@ enum
|
|||
class CorsairLightingNodeController
|
||||
{
|
||||
public:
|
||||
CorsairLightingNodeController(hid_device* dev_handle);
|
||||
CorsairLightingNodeController(hid_device* dev_handle, const char* path);
|
||||
~CorsairLightingNodeController();
|
||||
|
||||
std::string GetFirmwareString();
|
||||
std::string GetLocationString();
|
||||
|
||||
unsigned int GetStripsOnChannel(unsigned int channel);
|
||||
|
||||
|
|
@ -110,6 +111,7 @@ public:
|
|||
private:
|
||||
hid_device* dev;
|
||||
std::string firmware_version;
|
||||
std::string location;
|
||||
std::chrono::time_point<std::chrono::steady_clock> last_commit_time;
|
||||
|
||||
void SendFirmwareRequest();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue