OpenRGB/Controllers/MSIGPUController/RGBController_MSIGPUv2.h
2024-02-14 15:10:38 +00:00

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);
};