mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-01-06 06:07:49 -05:00
35 lines
942 B
C++
35 lines
942 B
C++
/*-----------------------------------------*\
|
|
| RGBController_GainwardGPU.h |
|
|
| |
|
|
| Driver for Gainward RGB v1 on GPUs |
|
|
| |
|
|
| TheRogueZeta 11/05/2020 |
|
|
\*-----------------------------------------*/
|
|
|
|
#pragma once
|
|
|
|
#include "RGBController.h"
|
|
#include "GainwardGPUv1Controller.h"
|
|
|
|
class RGBController_GainwardGPUv1 : public RGBController
|
|
{
|
|
public:
|
|
RGBController_GainwardGPUv1(GainwardGPUv1Controller* controller_ptr);
|
|
~RGBController_GainwardGPUv1();
|
|
|
|
void SetupZones();
|
|
|
|
void ResizeZone(int zone, int new_size);
|
|
|
|
void DeviceUpdateLEDs();
|
|
void UpdateZoneLEDs(int zone);
|
|
void UpdateSingleLED(int led);
|
|
|
|
void DeviceUpdateMode();
|
|
|
|
private:
|
|
GainwardGPUv1Controller* controller;
|
|
|
|
int GetDeviceMode();
|
|
};
|