mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-24 09:28:52 -04:00
Rework EVGAPascalGPUController to use I2C PCI detector and store name in controller to avoid setting it in detector
This commit is contained in:
1 parent
c32663bb32
commit
df75659778
5 files changed
+55
-82
No files matched your search
@@ -37,10 +37,11 @@ enum
|
||||
class EVGAGPUv1Controller
|
||||
{
|
||||
public:
|
||||
EVGAGPUv1Controller(i2c_smbus_interface* bus, evga_dev_id dev);
|
||||
EVGAGPUv1Controller(i2c_smbus_interface* bus, evga_dev_id dev, std::string dev_name);
|
||||
~EVGAGPUv1Controller();
|
||||
|
||||
std::string GetDeviceLocation();
|
||||
std::string GetDeviceName();
|
||||
|
||||
unsigned char GetMode();
|
||||
unsigned char GetRed();
|
||||
@@ -54,4 +55,5 @@ public:
|
||||
private:
|
||||
i2c_smbus_interface* bus;
|
||||
evga_dev_id dev;
|
||||
std::string name;
|
||||
};
|
||||
Reference in new issue
Block a user