Files
OpenRGB/Controllers/SteelSeriesController/SteelSeriesApexTZoneController.h
Chris 085e1fca41 Initial commit for the Steelseries Apex 3 TKL to resolve #1902
* Combining the Apex3 Full size and TKL controllers
* Cleanup of controllers for readability and optimisation
2022-11-25 23:55:49 +00:00

36 lines
1002 B
C++

/*-----------------------------------------*\
| SteelSeriesApexTZoneController.h |
| |
| Edbgon 06.10.21 |
\*-----------------------------------------*/
#include <string>
#include <hidapi/hidapi.h>
#include "RGBController.h"
#include "SteelSeriesGeneric.h"
#include "SteelSeriesApex3Controller.h"
#pragma once
#define STEELSERIES_TZ_LED_COUNT 10
#define STEELSERIES_TZ_WRITE_PACKET_SIZE 33
#define STEELSERIES_TZ_BRIGHTNESS_MAX 0x64
class SteelSeriesApexTZoneController : public SteelSeriesApex3Controller
{
public:
SteelSeriesApexTZoneController(hid_device *dev_handle, const char *path);
~SteelSeriesApexTZoneController();
void SetColor(std::vector<RGBColor> colors, uint8_t mode, uint8_t brightness);
void Save();
uint8_t GetLedCount();
uint8_t GetMaxBrightness();
bool SupportsRainbowWave();
bool SupportsSave();
private:
};