mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-31 11:17:52 -05:00
Commits squashed and some minor code style changes by Adam Honse <calcprogrammer1@gmail.com>
45 lines
1.1 KiB
C++
45 lines
1.1 KiB
C++
/*-----------------------------------------*\
|
|
| SteelSeriesApexController.h |
|
|
| |
|
|
| Definitions and types for SteelSeries |
|
|
| Apex 7 Keyboard lighting controller |
|
|
| |
|
|
| Eric Samuelson (edbgon) 7/5/2020 |
|
|
\*-----------------------------------------*/
|
|
|
|
#include "RGBController.h"
|
|
#include "SteelSeriesGeneric.h"
|
|
#include "SteelSeriesApexBaseController.h"
|
|
|
|
#include <string>
|
|
#include <hidapi/hidapi.h>
|
|
|
|
#pragma once
|
|
|
|
enum
|
|
{
|
|
APEX_PACKET_ID_DIRECT = 0x3a, /* Direct mode */
|
|
};
|
|
|
|
class SteelSeriesApexController : public SteelSeriesApexBaseController
|
|
{
|
|
public:
|
|
SteelSeriesApexController(hid_device* dev_handle, steelseries_type type, const char* path);
|
|
~SteelSeriesApexController();
|
|
|
|
void SetMode
|
|
(
|
|
unsigned char mode,
|
|
std::vector<RGBColor> colors
|
|
);
|
|
|
|
void SetLEDsDirect(std::vector<RGBColor> colors);
|
|
|
|
private:
|
|
|
|
void SelectProfile
|
|
(
|
|
unsigned char profile
|
|
);
|
|
};
|