* Registered detector in MSIGPUControllerDetect.cpp * Link to [webpage](https://www.msi.com/Graphics-Card/GeForce-RTX-4070-Ti-SUPER-16G-GAMING-X-TRIO-WHITE) * Resolves #3925
34 lines
967 B
C++
34 lines
967 B
C++
/*-----------------------------------------*\
|
|
| RGBController_MSIGPUv2.h |
|
|
| |
|
|
| ITE9 RGB Interface for MSI GPU |
|
|
| Wojciech Lazarski 03/Jan/2023 |
|
|
| |
|
|
\*-----------------------------------------*/
|
|
|
|
#pragma once
|
|
|
|
#include "pci_ids.h"
|
|
#include "RGBController.h"
|
|
#include "MSIGPUv2Controller.h"
|
|
|
|
class RGBController_MSIGPUv2 : public RGBController
|
|
{
|
|
public:
|
|
RGBController_MSIGPUv2(MSIGPUv2Controller* msi_gpu_ptr, int msi_gpu_id);
|
|
~RGBController_MSIGPUv2();
|
|
|
|
void SetupZones();
|
|
void ResizeZone(int zone, int new_size);
|
|
|
|
void DeviceUpdateLEDs();
|
|
void UpdateZoneLEDs(int zone);
|
|
void UpdateSingleLED(int led);
|
|
|
|
void DeviceUpdateMode();
|
|
void DeviceSaveMode();
|
|
|
|
private:
|
|
MSIGPUv2Controller* msi_gpu;
|
|
void DeviceUpdateAll(const mode& current_mode);
|
|
};
|