Files
OpenRGB/Controllers/DarkProject/RGBController_DarkProjectKeyboard.h
Chris e9eca70e72 Initial commit for the Dark Project KD3B Keyboard to resolve #2292
* Creating detector class and adding entry for the Dark Project KD3B VID & PID
* Registered detectors
* Creating DarkProjectKeyboardController class
* Creating RGBController_DarkProjectKeyboard class
* Added UDEV rule to 60-openrgb.rules
2022-04-20 16:29:48 +00:00

35 lines
1.3 KiB
C++

/*-------------------------------------------------------------------*\
| RGBController_DarkProjectKeyboard.h |
| |
| Driver for DarkProjectKeyboard USB Controller |
| |
| Chris M (DrNo) 8 Apr 2022 |
| |
\*-------------------------------------------------------------------*/
#pragma once
#include "LogManager.h"
#include "RGBController.h"
#include "DarkProjectKeyboardController.h"
#include <vector>
class RGBController_DarkProjectKeyboard : public RGBController
{
public:
RGBController_DarkProjectKeyboard(DarkProjectKeyboardController* controller_ptr);
~RGBController_DarkProjectKeyboard();
void SetupZones();
void ResizeZone(int zone, int new_size);
void DeviceUpdateLEDs();
void UpdateZoneLEDs(int zone);
void UpdateSingleLED(int led);
void SetCustomMode();
void DeviceUpdateMode();
private:
DarkProjectKeyboardController* controller;
};