Update SteelSeriesApexController files to new standardized header format

This commit is contained in:
Adam Honse 2024-07-11 11:31:33 -05:00
parent 0709b0768f
commit 7d9279abad
4 changed files with 47 additions and 41 deletions

View file

@ -1,11 +1,13 @@
/*-----------------------------------------*\
| RGBController_SteelSeriesApex.cpp |
| |
| Generic RGB Interface for SteelSeries |
| Apex 7 Keyboard |
| |
| Eric Samuelson (edbgon) 7/5/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_SteelSeriesApex.cpp |
| |
| RGBController for SteelSeries Apex 7 |
| |
| Eric Samuelson (edbgon) 05 Jul 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBControllerKeyNames.h"
#include "RGBController_SteelSeriesApex.h"

View file

@ -1,15 +1,17 @@
/*-----------------------------------------*\
| RGBController_SteelSeriesApex.cpp |
| |
| Generic RGB Interface for SteelSeries |
| Apex 7 Keyboard |
| |
| Eric Samuelson (edbgon) 7/5/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_SteelSeriesApex.h |
| |
| RGBController for SteelSeries Apex 7 |
| |
| Eric Samuelson (edbgon) 05 Jul 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <chrono>
#include <chrono>
#include "RGBController.h"
#include "SteelSeriesApexBaseController.h"
#include "SteelSeriesGeneric.h"
@ -22,7 +24,7 @@ public:
void SetupZones();
void ResizeZone(int zone, int new_size);
void DeviceUpdateLEDs();
void UpdateZoneLEDs(int zone);
void UpdateSingleLED(int led);

View file

@ -1,15 +1,16 @@
/*-----------------------------------------*\
| SteelSeriesApexController.cpp |
| |
| Driver for SteelSeries Apex 7 RGB |
| Keyboard lighting controller |
| |
| Eric Samuelson (edbgon) 7/5/2020 |
\*-----------------------------------------*/
#include "SteelSeriesApexController.h"
/*---------------------------------------------------------*\
| SteelSeriesApexController.cpp |
| |
| Driver for SteelSeries Apex 7 |
| |
| Eric Samuelson (edbgon) 05 Jul 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cstring>
#include "SteelSeriesApexController.h"
using namespace std::chrono_literals;

View file

@ -1,20 +1,21 @@
/*-----------------------------------------*\
| SteelSeriesApexController.h |
| |
| Definitions and types for SteelSeries |
| Apex 7 Keyboard lighting controller |
| |
| Eric Samuelson (edbgon) 7/5/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| SteelSeriesApexController.h |
| |
| Driver for SteelSeries Apex 7 |
| |
| Eric Samuelson (edbgon) 05 Jul 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"
enum
{