mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-01-04 13:17:49 -05:00
41 lines
1.0 KiB
C++
41 lines
1.0 KiB
C++
/*-----------------------------------------*\
|
|
| SteelSeriesApexTZoneController.h |
|
|
| |
|
|
| Edbgon 06.10.21 |
|
|
\*-----------------------------------------*/
|
|
|
|
#include <string>
|
|
#include <hidapi/hidapi.h>
|
|
|
|
#include "SteelSeriesGeneric.h"
|
|
#include "SteelSeriesApexBaseController.h"
|
|
|
|
#pragma once
|
|
|
|
class SteelSeriesApexTZoneController
|
|
{
|
|
public:
|
|
SteelSeriesApexTZoneController
|
|
(
|
|
hid_device* dev_handle,
|
|
steelseries_type proto_type,
|
|
const char* path
|
|
);
|
|
|
|
~SteelSeriesApexTZoneController();
|
|
|
|
std::string GetDeviceLocation();
|
|
char* GetDeviceName();
|
|
std::string GetSerialString();
|
|
steelseries_type GetKeyboardType();
|
|
|
|
void SetColor(std::vector<RGBColor> colors, unsigned char brightness);
|
|
void Save();
|
|
|
|
private:
|
|
char device_name[32];
|
|
hid_device* dev;
|
|
std::string location;
|
|
steelseries_type proto;
|
|
};
|