From 7d9279abad33eaf3f72df32d2196514bdcdb99c5 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Thu, 11 Jul 2024 11:31:33 -0500 Subject: [PATCH] Update SteelSeriesApexController files to new standardized header format --- .../RGBController_SteelSeriesApex.cpp | 18 +++++++------ .../RGBController_SteelSeriesApex.h | 22 ++++++++------- .../SteelSeriesApexController.cpp | 21 ++++++++------- .../SteelSeriesApexController.h | 27 ++++++++++--------- 4 files changed, 47 insertions(+), 41 deletions(-) diff --git a/Controllers/SteelSeriesController/SteelSeriesApexController/RGBController_SteelSeriesApex.cpp b/Controllers/SteelSeriesController/SteelSeriesApexController/RGBController_SteelSeriesApex.cpp index 108d2b89..178810fe 100644 --- a/Controllers/SteelSeriesController/SteelSeriesApexController/RGBController_SteelSeriesApex.cpp +++ b/Controllers/SteelSeriesController/SteelSeriesApexController/RGBController_SteelSeriesApex.cpp @@ -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" diff --git a/Controllers/SteelSeriesController/SteelSeriesApexController/RGBController_SteelSeriesApex.h b/Controllers/SteelSeriesController/SteelSeriesApexController/RGBController_SteelSeriesApex.h index db7cac79..362ecc90 100644 --- a/Controllers/SteelSeriesController/SteelSeriesApexController/RGBController_SteelSeriesApex.h +++ b/Controllers/SteelSeriesController/SteelSeriesApexController/RGBController_SteelSeriesApex.h @@ -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 +#include #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); diff --git a/Controllers/SteelSeriesController/SteelSeriesApexController/SteelSeriesApexController.cpp b/Controllers/SteelSeriesController/SteelSeriesApexController/SteelSeriesApexController.cpp index 463d4826..2f868d31 100644 --- a/Controllers/SteelSeriesController/SteelSeriesApexController/SteelSeriesApexController.cpp +++ b/Controllers/SteelSeriesController/SteelSeriesApexController/SteelSeriesApexController.cpp @@ -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 +#include "SteelSeriesApexController.h" using namespace std::chrono_literals; diff --git a/Controllers/SteelSeriesController/SteelSeriesApexController/SteelSeriesApexController.h b/Controllers/SteelSeriesController/SteelSeriesApexController/SteelSeriesApexController.h index 0f8bb606..51e8ba8b 100644 --- a/Controllers/SteelSeriesController/SteelSeriesApexController/SteelSeriesApexController.h +++ b/Controllers/SteelSeriesController/SteelSeriesApexController/SteelSeriesApexController.h @@ -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 #include - -#pragma once +#include "RGBController.h" +#include "SteelSeriesGeneric.h" +#include "SteelSeriesApexBaseController.h" enum {