Files
OpenRGB/Controllers/LogitechController/RGBController_LogitechG815.h
Cheerpipe 5ce9ddc40a Logitech G815 controller
* All keys works, including media, G and light indicator.
 * mode 2 and 6 functions working to achieve "best" framerate.
 * Add a wakeup function to ensure that all keys works with the first command (just copy/paste bits from what GHub do)

Commits squashed and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
2021-04-18 14:52:19 -05:00

35 lines
991 B
C++

/*-----------------------------------------*\
| RGBController_LogitechG815.h |
| |
| Generic RGB Interface for Logitech G815 |
| RGB Mechanical Gaming Keyboard |
| |
| Cheerpipe 3/20/2021 |
\*-----------------------------------------*/
#pragma once
#include "RGBController.h"
#include "LogitechG815Controller.h"
class RGBController_LogitechG815 : public RGBController
{
public:
RGBController_LogitechG815(LogitechG815Controller* logitech_ptr);
~RGBController_LogitechG815();
void SetupZones();
void ResizeZone(int zone, int new_size);
void DeviceUpdateLEDs();
void UpdateZoneLEDs(int zone);
void UpdateSingleLED(int led);
void SetCustomMode();
void DeviceUpdateMode();
private:
LogitechG815Controller* logitech;
std::vector<RGBColor> current_colors;
};