mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-25 01:48:59 -04:00
Use HID path for Location on Aorus CPU Cooler controller
This commit is contained in:
1 parent
4df557391a
commit
c8da008b93
4 files changed
+14
-4
No files matched your search
@@ -11,9 +11,10 @@
|
||||
|
||||
#include <cstring>
|
||||
|
||||
ATC800Controller::ATC800Controller(hid_device* dev_handle)
|
||||
ATC800Controller::ATC800Controller(hid_device* dev_handle, const char* path)
|
||||
{
|
||||
dev = dev_handle;
|
||||
dev = dev_handle;
|
||||
location = path;
|
||||
}
|
||||
|
||||
ATC800Controller::~ATC800Controller()
|
||||
@@ -21,6 +22,11 @@ ATC800Controller::~ATC800Controller()
|
||||
hid_close(dev);
|
||||
}
|
||||
|
||||
std::string ATC800Controller::GetDeviceLocation()
|
||||
{
|
||||
return(location);
|
||||
}
|
||||
|
||||
void ATC800Controller::SendCoolerMode
|
||||
(
|
||||
unsigned char mode,
|
||||
|
||||
Reference in new issue
Block a user