mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-18 11:35:21 -04:00
Store name in GigabyteAorusCPUCoolerController to avoid setting it in detector
This commit is contained in:
@@ -13,10 +13,11 @@
|
||||
#include "ATC800Controller.h"
|
||||
#include "StringUtils.h"
|
||||
|
||||
ATC800Controller::ATC800Controller(hid_device* dev_handle, const char* path)
|
||||
ATC800Controller::ATC800Controller(hid_device* dev_handle, const char* path, std::string dev_name)
|
||||
{
|
||||
dev = dev_handle;
|
||||
location = path;
|
||||
name = dev_name;
|
||||
}
|
||||
|
||||
ATC800Controller::~ATC800Controller()
|
||||
@@ -29,6 +30,11 @@ std::string ATC800Controller::GetDeviceLocation()
|
||||
return("HID: " + location);
|
||||
}
|
||||
|
||||
std::string ATC800Controller::GetNameString()
|
||||
{
|
||||
return(name);
|
||||
}
|
||||
|
||||
std::string ATC800Controller::GetSerialString()
|
||||
{
|
||||
wchar_t serial_string[128];
|
||||
|
||||
Reference in New Issue
Block a user