mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-03 04:02:57 -04:00
Store name in LogitechControllers to avoid setting it in detectors
This commit is contained in:
@@ -13,10 +13,11 @@
|
||||
#include "LogitechG815Controller.h"
|
||||
#include "StringUtils.h"
|
||||
|
||||
LogitechG815Controller::LogitechG815Controller(hid_device* dev_handle_0x11, hid_device* dev_handle_0x12)
|
||||
LogitechG815Controller::LogitechG815Controller(hid_device* dev_handle_0x11, hid_device* dev_handle_0x12, std::string dev_name)
|
||||
{
|
||||
dev_pkt_0x11 = dev_handle_0x11;
|
||||
dev_pkt_0x12 = dev_handle_0x12;
|
||||
dev_pkt_0x11 = dev_handle_0x11;
|
||||
dev_pkt_0x12 = dev_handle_0x12;
|
||||
name = dev_name;
|
||||
}
|
||||
|
||||
LogitechG815Controller::~LogitechG815Controller()
|
||||
@@ -24,6 +25,11 @@ LogitechG815Controller::~LogitechG815Controller()
|
||||
|
||||
}
|
||||
|
||||
std::string LogitechG815Controller::GetNameString()
|
||||
{
|
||||
return(name);
|
||||
}
|
||||
|
||||
std::string LogitechG815Controller::GetSerialString()
|
||||
{
|
||||
wchar_t serial_string[128];
|
||||
|
||||
Reference in New Issue
Block a user