mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-30 10:44:06 -04:00
Store name in HyperXMouseControllers to avoid setting it in detectors
This commit is contained in:
@@ -30,12 +30,13 @@ enum
|
||||
class HyperXPulsefireRaidController
|
||||
{
|
||||
public:
|
||||
HyperXPulsefireRaidController(hid_device* dev_handle, const hid_device_info& info);
|
||||
HyperXPulsefireRaidController(hid_device* dev_handle, const hid_device_info& info, std::string dev_name);
|
||||
~HyperXPulsefireRaidController();
|
||||
|
||||
std::string GetNameString();
|
||||
std::string GetSerialString();
|
||||
std::string GetDeviceLocation();
|
||||
std::string GetFirmwareVersion();
|
||||
|
||||
void SendColors(std::vector<RGBColor> colors);
|
||||
void SetBrightness(unsigned char brightness);
|
||||
|
||||
@@ -44,7 +45,7 @@ protected:
|
||||
|
||||
private:
|
||||
std::string location;
|
||||
std::string version;
|
||||
std::string name;
|
||||
|
||||
void Send(unsigned char* packet);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user