Update SteelSeriesArctis5Controller files to new standardized header format
This commit is contained in:
parent
79527ef39a
commit
b8ca869b19
4 changed files with 47 additions and 38 deletions
|
|
@ -1,11 +1,13 @@
|
|||
/*-----------------------------------------*\
|
||||
| RGBController_SteelSeriesArctis5.cpp |
|
||||
| |
|
||||
| Generic RGB Interface SteelSeriesArctis5 |
|
||||
| Class |
|
||||
| |
|
||||
| Morgan Guimard 3/04/2022 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_SteelSeriesArctis5.cpp |
|
||||
| |
|
||||
| RGBController for SteelSeries Arctis 5 |
|
||||
| |
|
||||
| Morgan Guimard 04 Mar 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBController_SteelSeriesArctis5.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
/*-----------------------------------------*\
|
||||
| RGBController_SteelSeriesArctis5.h |
|
||||
| |
|
||||
| Generic RGB Interface SteelSeriesArctis5 |
|
||||
| Class |
|
||||
| |
|
||||
| Morgan Guimard 3/04/2022 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_SteelSeriesArctis5.h |
|
||||
| |
|
||||
| RGBController for SteelSeries Arctis 5 |
|
||||
| |
|
||||
| Morgan Guimard 04 Mar 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
|
|
|
|||
|
|
@ -1,14 +1,16 @@
|
|||
/*-----------------------------------------*\
|
||||
| SteelSeriesArctis5Controller.h |
|
||||
| |
|
||||
| Definitions and types for SteelSeries |
|
||||
| Arctis 5 lighting controller |
|
||||
| |
|
||||
| Morgan Guimard 3/4/2022 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| SteelSeriesArctis5Controller.cpp |
|
||||
| |
|
||||
| Driver for SteelSeries Arctis 5 |
|
||||
| |
|
||||
| Morgan Guimard 04 Mar 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "SteelSeriesArctis5Controller.h"
|
||||
#include <string.h>
|
||||
#include "SteelSeriesArctis5Controller.h"
|
||||
|
||||
SteelSeriesArctis5Controller::SteelSeriesArctis5Controller(hid_device* dev_handle, const hid_device_info& info)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,20 +1,23 @@
|
|||
/*-----------------------------------------*\
|
||||
| SteelSeriesArctis5Controller.h |
|
||||
| |
|
||||
| Definitions and types for SteelSeries |
|
||||
| Arctis 5 lighting controller |
|
||||
| |
|
||||
| Morgan Guimard 3/4/2022 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| SteelSeriesArctis5Controller.h |
|
||||
| |
|
||||
| Driver for SteelSeries Arctis 5 |
|
||||
| |
|
||||
| Morgan Guimard 04 Mar 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include "RGBController.h"
|
||||
|
||||
#define ARCTIS_5_REPORT_SIZE 37
|
||||
#define ARCTIS_5_REPORT_ID 0x06
|
||||
|
||||
#include "RGBController.h"
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
class SteelSeriesArctis5Controller
|
||||
{
|
||||
public:
|
||||
|
|
@ -27,7 +30,7 @@ public:
|
|||
std::string GetFirmwareVersion();
|
||||
void SetColor(unsigned char zone_id, RGBColor color);
|
||||
|
||||
private:
|
||||
private:
|
||||
std::string location;
|
||||
std::string serial_number;
|
||||
std::string version;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue