Store name in HyperXMouseControllers to avoid setting it in detectors
This commit is contained in:
parent
0c0ffe7f5c
commit
ca554d9ef6
16 changed files with 148 additions and 121 deletions
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue