From 3717c752c417ff6731dcb1225a2e36bbf3360e97 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Thu, 11 Jul 2024 11:34:40 -0500 Subject: [PATCH] Update SteelSeriesApexMController files to new standardized header format --- .../SteelSeriesApexMController.cpp | 22 +++++----- .../SteelSeriesApexMController.h | 43 ++++++++++--------- 2 files changed, 34 insertions(+), 31 deletions(-) diff --git a/Controllers/SteelSeriesController/SteelSeriesApexMController/SteelSeriesApexMController.cpp b/Controllers/SteelSeriesController/SteelSeriesApexMController/SteelSeriesApexMController.cpp index 4f89db40..f5e63a64 100644 --- a/Controllers/SteelSeriesController/SteelSeriesApexMController/SteelSeriesApexMController.cpp +++ b/Controllers/SteelSeriesController/SteelSeriesApexMController/SteelSeriesApexMController.cpp @@ -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 +#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 #. */ diff --git a/Controllers/SteelSeriesController/SteelSeriesApexMController/SteelSeriesApexMController.h b/Controllers/SteelSeriesController/SteelSeriesApexMController/SteelSeriesApexMController.h index 77b3ea6b..eeb9234d 100644 --- a/Controllers/SteelSeriesController/SteelSeriesApexMController/SteelSeriesApexMController.h +++ b/Controllers/SteelSeriesController/SteelSeriesApexMController/SteelSeriesApexMController.h @@ -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 #include - -#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 colors - ); + ( + unsigned char mode, + std::vector colors + ); void SetLEDsDirect(std::vector colors); private: void EnableLEDControl(); - void SelectProfile - ( - unsigned char profile - ); + void SelectProfile + ( + unsigned char profile + ); };