mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-01-02 04:07:48 -05:00
Commits squashed and some minor code style changes by Adam Honse <calcprogrammer1@gmail.com>
40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
/*-----------------------------------------*\
|
|
| RGBController_SteelSeriesApex.cpp |
|
|
| |
|
|
| Generic RGB Interface for SteelSeries |
|
|
| Apex 7 Keyboard |
|
|
| |
|
|
| Eric Samuelson (edbgon) 7/5/2020 |
|
|
\*-----------------------------------------*/
|
|
|
|
#pragma once
|
|
#include <chrono>
|
|
|
|
#include "RGBController.h"
|
|
#include "SteelSeriesApexBaseController.h"
|
|
#include "SteelSeriesGeneric.h"
|
|
|
|
class RGBController_SteelSeriesApex : public RGBController
|
|
{
|
|
public:
|
|
RGBController_SteelSeriesApex(SteelSeriesApexBaseController* steelseries_ptr);
|
|
~RGBController_SteelSeriesApex();
|
|
|
|
void SetupZones();
|
|
|
|
void ResizeZone(int zone, int new_size);
|
|
|
|
void DeviceUpdateLEDs();
|
|
void UpdateZoneLEDs(int zone);
|
|
void UpdateSingleLED(int led);
|
|
|
|
void SetCustomMode();
|
|
void DeviceUpdateMode();
|
|
|
|
private:
|
|
SteelSeriesApexBaseController* steelseries;
|
|
steelseries_type proto_type;
|
|
|
|
std::chrono::time_point<std::chrono::steady_clock> last_update_time;
|
|
};
|