mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-02-25 18:56:23 -05:00
Use HID path for Location on Logitech mouse controllers
This commit is contained in:
@@ -11,9 +11,10 @@
|
||||
|
||||
#include <cstring>
|
||||
|
||||
LogitechGPowerPlayController::LogitechGPowerPlayController(hid_device* dev_handle)
|
||||
LogitechGPowerPlayController::LogitechGPowerPlayController(hid_device* dev_handle, const char* path)
|
||||
{
|
||||
dev = dev_handle;
|
||||
dev = dev_handle;
|
||||
location = path;
|
||||
}
|
||||
|
||||
LogitechGPowerPlayController::~LogitechGPowerPlayController()
|
||||
@@ -21,6 +22,11 @@ LogitechGPowerPlayController::~LogitechGPowerPlayController()
|
||||
hid_close(dev);
|
||||
}
|
||||
|
||||
std::string LogitechGPowerPlayController::GetDeviceLocation()
|
||||
{
|
||||
return(location);
|
||||
}
|
||||
|
||||
void LogitechGPowerPlayController::SendMouseMatMode
|
||||
(
|
||||
unsigned char mode,
|
||||
|
||||
Reference in New Issue
Block a user