mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-04 14:14:17 -04:00
Update SteelSeriesApexMController files to new standardized header format
This commit is contained in:
@@ -1,18 +1,20 @@
|
||||
/*-----------------------------------------*\
|
||||
| SteelSeriesApexMController.cpp |
|
||||
| |
|
||||
| Definitions and types for SteelSeries |
|
||||
| Apex M750 Keyboard lighting controller |
|
||||
| |
|
||||
| Florian Heilmann (FHeilmann) 12/10/2020 |
|
||||
\*-----------------------------------------*/
|
||||
|
||||
#include "SteelSeriesApexMController.h"
|
||||
/*---------------------------------------------------------*\
|
||||
| SteelSeriesApexMController.cpp |
|
||||
| |
|
||||
| Driver for SteelSeries Apex M750 |
|
||||
| |
|
||||
| Florian Heilmann (FHeilmann) 12 Oct 2020 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <cstring>
|
||||
#include "SteelSeriesApexMController.h"
|
||||
|
||||
#define SS_APEX_M_PACKET_SIZE 513
|
||||
#define NA 0xFF
|
||||
|
||||
static unsigned int keys_m[] =
|
||||
{
|
||||
/* LCTRL LWIN LALT XXX SPACE XXX XXX XXX XXX RALT RWIN FNC RCTRL XXX XXX LEFT DOWN RIGHT XXX #0 XXX #. */
|
||||
|
||||
@@ -1,20 +1,21 @@
|
||||
/*-----------------------------------------*\
|
||||
| SteelSeriesApexMController.h |
|
||||
| |
|
||||
| Definitions and types for SteelSeries |
|
||||
| Apex M750 Keyboard lighting controller |
|
||||
| |
|
||||
| Florian Heilmann (FHeilmann) 12/10/2020 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| SteelSeriesApexMController.cpp |
|
||||
| |
|
||||
| Driver for SteelSeries Apex M750 |
|
||||
| |
|
||||
| Florian Heilmann (FHeilmann) 12 Oct 2020 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBController.h"
|
||||
#include "SteelSeriesGeneric.h"
|
||||
#include "SteelSeriesApexBaseController.h"
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
#pragma once
|
||||
#include "RGBController.h"
|
||||
#include "SteelSeriesGeneric.h"
|
||||
#include "SteelSeriesApexBaseController.h"
|
||||
|
||||
class SteelSeriesApexMController : public SteelSeriesApexBaseController
|
||||
{
|
||||
@@ -23,18 +24,18 @@ public:
|
||||
~SteelSeriesApexMController();
|
||||
|
||||
void SetMode
|
||||
(
|
||||
unsigned char mode,
|
||||
std::vector<RGBColor> colors
|
||||
);
|
||||
(
|
||||
unsigned char mode,
|
||||
std::vector<RGBColor> colors
|
||||
);
|
||||
|
||||
void SetLEDsDirect(std::vector<RGBColor> colors);
|
||||
|
||||
private:
|
||||
|
||||
void EnableLEDControl();
|
||||
void SelectProfile
|
||||
(
|
||||
unsigned char profile
|
||||
);
|
||||
void SelectProfile
|
||||
(
|
||||
unsigned char profile
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user