Publish LumaOps source
This commit is contained in:
+49
@@ -0,0 +1,49 @@
|
||||
/*---------------------------------------------------------*\
|
||||
| SteelSeriesRival3Controller.h |
|
||||
| |
|
||||
| Driver for SteelSeries Rival 3 |
|
||||
| |
|
||||
| B Horn (bahorn) 29 Aug 2021 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-or-later |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <hidapi.h>
|
||||
#include "SteelSeriesGeneric.h"
|
||||
#include "SteelSeriesMouseController.h"
|
||||
|
||||
static const steelseries_mouse rival_3 =
|
||||
{
|
||||
{ 0x04, 0x03, 0x00, 0x05 },
|
||||
{
|
||||
{"Front", 0x01},
|
||||
{"Middle", 0x02},
|
||||
{"Rear", 0x03},
|
||||
{"Logo", 0x04}
|
||||
}
|
||||
};
|
||||
|
||||
class SteelSeriesRival3Controller: public SteelSeriesMouseController
|
||||
{
|
||||
public:
|
||||
SteelSeriesRival3Controller(hid_device* dev_handle, steelseries_type proto_type, const char* path, std::string dev_name);
|
||||
~SteelSeriesRival3Controller();
|
||||
|
||||
std::string GetFirmwareVersion();
|
||||
steelseries_mouse GetMouse();
|
||||
|
||||
void SetLightEffectAll(uint8_t effect);
|
||||
|
||||
void SetColor
|
||||
(
|
||||
unsigned char zone_id,
|
||||
unsigned char red,
|
||||
unsigned char green,
|
||||
unsigned char blue,
|
||||
unsigned char brightness
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user