OpenRGB/Controllers/SteelSeriesController/SteelSeriesApexBaseController.h
Florian Heilmann 04b2e35f81 Add SteelSeries Apex M750 support
Commits squashed and some minor code style changes by Adam Honse <calcprogrammer1@gmail.com>
2020-10-27 21:21:56 -05:00

40 lines
935 B
C++

/*-----------------------------------------*\
| SteelSeriesApexBaseController.h |
| |
| Base controller for SteelSeries Apex |
| Keyboard lighting controllers |
| |
| Florian Heilmann (FHeilmann) 19/10/2020 |
\*-----------------------------------------*/
#include "RGBController.h"
#include "SteelSeriesGeneric.h"
#include <string>
#pragma once
class SteelSeriesApexBaseController
{
public:
std::string GetDeviceLocation()
{
return(location);
};
steelseries_type proto_type;
virtual void SetMode
(
unsigned char mode,
std::vector<RGBColor> colors
) = 0;
virtual void SetLEDsDirect(std::vector<RGBColor> colors) = 0;
protected:
std::string location;
hid_device* dev;
unsigned char active_mode;
};