mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-24 14:35:01 -04:00
Store name in ZotacTuringGPUController to avoid setting it in detector
This commit is contained in:
@@ -39,16 +39,18 @@ enum
|
||||
class ZotacTuringGPUController
|
||||
{
|
||||
public:
|
||||
ZotacTuringGPUController(i2c_smbus_interface* bus, u8 dev);
|
||||
ZotacTuringGPUController(i2c_smbus_interface* bus, u8 dev, std::string dev_name);
|
||||
~ZotacTuringGPUController();
|
||||
|
||||
std::string GetDeviceLocation();
|
||||
std::string GetDeviceLocation();
|
||||
std::string GetDeviceName();
|
||||
|
||||
void GetMode(RGBColor& color, int& mode, unsigned int& speed);
|
||||
void SetMode(RGBColor color, int mode, unsigned int speed);
|
||||
void GetMode(RGBColor& color, int& mode, unsigned int& speed);
|
||||
void SetMode(RGBColor color, int mode, unsigned int speed);
|
||||
|
||||
private:
|
||||
i2c_smbus_interface* bus;
|
||||
u8 dev;
|
||||
i2c_smbus_interface* bus;
|
||||
u8 dev;
|
||||
std::string name;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user