35 lines
1,002 B
C++
35 lines
1,002 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:
|
|
|
|
};
|