mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-08 07:57:35 -04:00
Add HID: prefix to all HID detector locations
This commit is contained in:
@@ -9,14 +9,20 @@
|
||||
#include "LogitechG213Controller.h"
|
||||
#include <cstring>
|
||||
|
||||
LogitechG213Controller::LogitechG213Controller(hid_device* dev_handle)
|
||||
LogitechG213Controller::LogitechG213Controller(hid_device* dev_handle, const char* path)
|
||||
{
|
||||
dev = dev_handle;
|
||||
dev = dev_handle;
|
||||
location = path;
|
||||
}
|
||||
|
||||
LogitechG213Controller::~LogitechG213Controller()
|
||||
{
|
||||
hid_close(dev);
|
||||
}
|
||||
|
||||
std::string LogitechG213Controller::GetDeviceLocation()
|
||||
{
|
||||
return("HID: " + location);
|
||||
}
|
||||
|
||||
void LogitechG213Controller::SetDirect
|
||||
|
||||
Reference in New Issue
Block a user