mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-25 08:17:53 -05:00
34 lines
1.0 KiB
C++
34 lines
1.0 KiB
C++
/*-----------------------------------------*\
|
|
| RGBController_LogitechLightspeed.h |
|
|
| |
|
|
| Generic RGB Interface for |
|
|
| Logitech Lightspeed Gaming Mice |
|
|
| |
|
|
| TheRogueZeta 8/5/2020 |
|
|
\*-----------------------------------------*/
|
|
|
|
#pragma once
|
|
#include "RGBController.h"
|
|
#include "LogitechLightspeedController.h"
|
|
|
|
class RGBController_LogitechLightspeed : public RGBController
|
|
{
|
|
public:
|
|
RGBController_LogitechLightspeed(LogitechLightspeedController* controller_ptr);
|
|
~RGBController_LogitechLightspeed();
|
|
|
|
void SetupZones();
|
|
|
|
void ResizeZone(int zone, int new_size);
|
|
|
|
void DeviceUpdateLEDs();
|
|
void UpdateZoneLEDs(int zone);
|
|
void UpdateSingleLED(int led);
|
|
|
|
void DeviceUpdateMode();
|
|
|
|
uint16_t pid; //This is a workaround fix for G502 mode breathing / spectrum cycle swap
|
|
private:
|
|
LogitechLightspeedController* controller;
|
|
};
|