mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-28 17:57:51 -05:00
36 lines
1.1 KiB
C++
36 lines
1.1 KiB
C++
/*---------------------------------------------*\
|
|
| RGBController_RedSquareKeyroxTKLClassic.h |
|
|
| |
|
|
| Driver for Red Square Keyrox USB Controller |
|
|
| |
|
|
| vlack 3 May 2023 |
|
|
\*---------------------------------------------*/
|
|
|
|
#pragma once
|
|
#include "RGBController.h"
|
|
#include "RGBControllerKeyNames.h"
|
|
#include "KeyboardLayoutManager.h"
|
|
#include "RedSquareKeyroxTKLClassicController.h"
|
|
|
|
#define KEYROX_TKL_CLASSIC_WIDTH 17
|
|
#define KEYROX_TKL_CLASSIC_HEIGHT 6
|
|
|
|
class RGBController_RedSquareKeyroxTKLClassic : public RGBController
|
|
{
|
|
public:
|
|
RGBController_RedSquareKeyroxTKLClassic(RedSquareKeyroxTKLClassicController* controller_ptr);
|
|
~RGBController_RedSquareKeyroxTKLClassic();
|
|
|
|
void SetupZones();
|
|
void ResizeZone(int zone, int new_size);
|
|
|
|
void DeviceUpdateLEDs();
|
|
void UpdateZoneLEDs(int zone);
|
|
void UpdateSingleLED(int led);
|
|
|
|
void DeviceUpdateMode();
|
|
|
|
private:
|
|
RedSquareKeyroxTKLClassicController* controller;
|
|
};
|