Publish curated LumaOps source from c85ee9ef8f1454f5c305398902afbb9e6738de40
Managed validation / full (push) Failing after 8s
Managed validation / full (push) Failing after 8s
This commit is contained in:
1 parent
91f8b3e3c1
commit
def7920856
2271 files changed
+501225
-501178
No files matched your search
+45
-45
@@ -1,45 +1,45 @@
|
||||
/*---------------------------------------------------------*\
|
||||
| SteelSeriesApex3Controller.h |
|
||||
| |
|
||||
| Driver for SteelSeries Apex 3 |
|
||||
| |
|
||||
| Chris M (Dr_No) 23 Feb 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-or-later |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <hidapi.h>
|
||||
#include "RGBController.h"
|
||||
#include "SteelSeriesGeneric.h"
|
||||
|
||||
#define STEELSERIES_APEX3_BRIGHTNESS_MIN 0x00
|
||||
#define STEELSERIES_APEX3_HID_TIMEOUT 100
|
||||
|
||||
class SteelSeriesApex3Controller
|
||||
{
|
||||
public:
|
||||
SteelSeriesApex3Controller(hid_device* dev_handle, const char* path, std::string dev_name);
|
||||
virtual ~SteelSeriesApex3Controller();
|
||||
|
||||
std::string GetDeviceLocation();
|
||||
std::string GetNameString();
|
||||
std::string GetSerialString();
|
||||
steelseries_type GetKeyboardType();
|
||||
|
||||
virtual void SetColor(std::vector<RGBColor> colors, uint8_t mode, uint8_t brightness) = 0;
|
||||
virtual void Save() = 0;
|
||||
virtual uint8_t GetLedCount() = 0;
|
||||
virtual uint8_t GetMaxBrightness() = 0;
|
||||
virtual bool SupportsRainbowWave() = 0;
|
||||
virtual bool SupportsSave() = 0;
|
||||
|
||||
hid_device* dev;
|
||||
|
||||
private:
|
||||
std::string location;
|
||||
std::string name;
|
||||
};
|
||||
/*---------------------------------------------------------*\
|
||||
| SteelSeriesApex3Controller.h |
|
||||
| |
|
||||
| Driver for SteelSeries Apex 3 |
|
||||
| |
|
||||
| Chris M (Dr_No) 23 Feb 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-or-later |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <hidapi.h>
|
||||
#include "RGBController.h"
|
||||
#include "SteelSeriesGeneric.h"
|
||||
|
||||
#define STEELSERIES_APEX3_BRIGHTNESS_MIN 0x00
|
||||
#define STEELSERIES_APEX3_HID_TIMEOUT 100
|
||||
|
||||
class SteelSeriesApex3Controller
|
||||
{
|
||||
public:
|
||||
SteelSeriesApex3Controller(hid_device* dev_handle, const char* path, std::string dev_name);
|
||||
virtual ~SteelSeriesApex3Controller();
|
||||
|
||||
std::string GetDeviceLocation();
|
||||
std::string GetNameString();
|
||||
std::string GetSerialString();
|
||||
steelseries_type GetKeyboardType();
|
||||
|
||||
virtual void SetColor(std::vector<RGBColor> colors, uint8_t mode, uint8_t brightness) = 0;
|
||||
virtual void Save() = 0;
|
||||
virtual uint8_t GetLedCount() = 0;
|
||||
virtual uint8_t GetMaxBrightness() = 0;
|
||||
virtual bool SupportsRainbowWave() = 0;
|
||||
virtual bool SupportsSave() = 0;
|
||||
|
||||
hid_device* dev;
|
||||
|
||||
private:
|
||||
std::string location;
|
||||
std::string name;
|
||||
};
|
||||
Reference in new issue
Block a user