mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-09-08 11:20:43 -04:00
Store name in RoccatControllers to avoid setting it in detectors
This commit is contained in:
1 parent
c2e0bd496f
commit
079e344c5a
34 files changed
+333
-304
No files matched your search
@@ -44,12 +44,12 @@ enum
|
||||
class RoccatBurstController
|
||||
{
|
||||
public:
|
||||
RoccatBurstController(hid_device* dev_handle, const hid_device_info& info);
|
||||
RoccatBurstController(hid_device* dev_handle, const hid_device_info& info, std::string dev_name);
|
||||
~RoccatBurstController();
|
||||
|
||||
std::string GetSerialString();
|
||||
std::string GetDeviceLocation();
|
||||
std::string GetFirmwareVersion();
|
||||
std::string GetNameString();
|
||||
std::string GetSerialString();
|
||||
|
||||
void SetupDirectMode();
|
||||
void SendDirect(std::vector<RGBColor> colors);
|
||||
@@ -63,7 +63,7 @@ public:
|
||||
private:
|
||||
hid_device* dev;
|
||||
std::string location;
|
||||
std::string version;
|
||||
std::string name;
|
||||
|
||||
unsigned int CalculateCRC(unsigned char* bytes);
|
||||
void SwitchControl(bool direct);
|
||||
|
||||
Reference in new issue
Block a user