From ea19efd49034234e67a872c7c5f4545cd3518630 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Tue, 9 Jul 2024 22:50:43 -0500 Subject: [PATCH] Update some SteelSeries files to new standardized header format --- .../SteelSeriesAerox3Controller.cpp | 17 +++++++----- .../SteelSeriesAerox3Controller.h | 24 +++++++++-------- .../SteelSeriesAerox5Controller.cpp | 2 +- .../SteelSeriesAerox5Controller.h | 6 ++--- .../SteelSeriesAerox9Controller.cpp | 17 +++++++----- .../SteelSeriesAerox9Controller.h | 27 ++++++++++--------- 6 files changed, 52 insertions(+), 41 deletions(-) diff --git a/Controllers/SteelSeriesController/SteelSeriesAerox3Controller/SteelSeriesAerox3Controller.cpp b/Controllers/SteelSeriesController/SteelSeriesAerox3Controller/SteelSeriesAerox3Controller.cpp index 1ac070c8..eab43c44 100644 --- a/Controllers/SteelSeriesController/SteelSeriesAerox3Controller/SteelSeriesAerox3Controller.cpp +++ b/Controllers/SteelSeriesController/SteelSeriesAerox3Controller/SteelSeriesAerox3Controller.cpp @@ -1,10 +1,13 @@ -/*-------------------------------------------------------------------*\ -| SteelSeriesAerox3Controller.cpp | -| | -| OpenRGB controller driver for the Steelseries Aerox3 Wired | -| | -| Chris M (Dr_No) 9th June 2022 | -\*-------------------------------------------------------------------*/ +/*---------------------------------------------------------*\ +| SteelSeriesAerox3Controller.cpp | +| | +| Driver for SteelSeries Aerox 3 | +| | +| Chris M (Dr_No) 09 Jun 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include "SteelSeriesAerox3Controller.h" #include "LogManager.h" diff --git a/Controllers/SteelSeriesController/SteelSeriesAerox3Controller/SteelSeriesAerox3Controller.h b/Controllers/SteelSeriesController/SteelSeriesAerox3Controller/SteelSeriesAerox3Controller.h index e0310123..02ccef15 100644 --- a/Controllers/SteelSeriesController/SteelSeriesAerox3Controller/SteelSeriesAerox3Controller.h +++ b/Controllers/SteelSeriesController/SteelSeriesAerox3Controller/SteelSeriesAerox3Controller.h @@ -1,21 +1,23 @@ -/*-------------------------------------------------------------------*\ -| SteelSeriesAerox3Controller.h | -| | -| OpenRGB controller driver for the Steelseries Aerox3 Wired | -| | -| Chris M (Dr_No) 9th June 2022 | -\*-------------------------------------------------------------------*/ +/*---------------------------------------------------------*\ +| SteelSeriesAerox3Controller.h | +| | +| Driver for SteelSeries Aerox 3 | +| | +| Chris M (Dr_No) 09 Jun 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + +#pragma once -#include #include +#include #include - #include "RGBController.h" #include "SteelSeriesGeneric.h" #include "SteelSeriesMouseController.h" -#pragma once - #define STEELSERIES_AEORX3_NAME "SteelSeries Aerox 3" #define STEELSERIES_AEORX3_PACKET_SIZE 65 #define STEELSERIES_AEORX3_TIMEOUT 250 diff --git a/Controllers/SteelSeriesController/SteelSeriesAerox5Controller/SteelSeriesAerox5Controller.cpp b/Controllers/SteelSeriesController/SteelSeriesAerox5Controller/SteelSeriesAerox5Controller.cpp index 4207a7f7..6b8b7655 100644 --- a/Controllers/SteelSeriesController/SteelSeriesAerox5Controller/SteelSeriesAerox5Controller.cpp +++ b/Controllers/SteelSeriesController/SteelSeriesAerox5Controller/SteelSeriesAerox5Controller.cpp @@ -1,7 +1,7 @@ /*---------------------------------------------------------*\ | SteelSeriesAerox5Controller.cpp | | | -| Controller for the Steelseries Aerox5 Wired | +| Driver for the Steelseries Aerox 5 | | | | Bobby Quantum (BobbyQuantum) 19 May 2024 | | | diff --git a/Controllers/SteelSeriesController/SteelSeriesAerox5Controller/SteelSeriesAerox5Controller.h b/Controllers/SteelSeriesController/SteelSeriesAerox5Controller/SteelSeriesAerox5Controller.h index e8b58914..f6d78328 100644 --- a/Controllers/SteelSeriesController/SteelSeriesAerox5Controller/SteelSeriesAerox5Controller.h +++ b/Controllers/SteelSeriesController/SteelSeriesAerox5Controller/SteelSeriesAerox5Controller.h @@ -1,7 +1,7 @@ /*---------------------------------------------------------*\ | SteelSeriesAerox5Controller.h | | | -| Controller for the Steelseries Aerox5 Wired | +| Driver for the Steelseries Aerox 5 | | | | Bobby Quantum (BobbyQuantum) 19 May 2024 | | | @@ -9,6 +9,8 @@ | SPDX-License-Identifier: GPL-2.0-only | \*---------------------------------------------------------*/ +#pragma once + #include #include #include @@ -16,8 +18,6 @@ #include "SteelSeriesGeneric.h" #include "SteelSeriesMouseController.h" -#pragma once - #define STEELSERIES_AEROX5_NAME "SteelSeries Aerox 5" #define STEELSERIES_AEROX5_PACKET_SIZE 65 #define STEELSERIES_AEROX5_TIMEOUT 250 diff --git a/Controllers/SteelSeriesController/SteelSeriesAerox9Controller/SteelSeriesAerox9Controller.cpp b/Controllers/SteelSeriesController/SteelSeriesAerox9Controller/SteelSeriesAerox9Controller.cpp index f1a26fc4..7871e734 100644 --- a/Controllers/SteelSeriesController/SteelSeriesAerox9Controller/SteelSeriesAerox9Controller.cpp +++ b/Controllers/SteelSeriesController/SteelSeriesAerox9Controller/SteelSeriesAerox9Controller.cpp @@ -1,10 +1,13 @@ -/*----------------------------------------------------------------------*\ -| SteelSeriesAerox9Controller.cpp | -| | -| OpenRGB controller driver for the Steelseries Aerox9 Wireless (Wired) | -| | -| rom4ster 11th October 2022 | -\*---------------------------------------------------------------------*/ +/*---------------------------------------------------------*\ +| SteelSeriesAerox9Controller.cpp | +| | +| Driver for the Steelseries Aerox 9 | +| | +| rom4ster 11 Oct 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include "SteelSeriesAerox9Controller.h" #include "LogManager.h" diff --git a/Controllers/SteelSeriesController/SteelSeriesAerox9Controller/SteelSeriesAerox9Controller.h b/Controllers/SteelSeriesController/SteelSeriesAerox9Controller/SteelSeriesAerox9Controller.h index ab17e28d..949d9c17 100644 --- a/Controllers/SteelSeriesController/SteelSeriesAerox9Controller/SteelSeriesAerox9Controller.h +++ b/Controllers/SteelSeriesController/SteelSeriesAerox9Controller/SteelSeriesAerox9Controller.h @@ -1,20 +1,23 @@ -/*----------------------------------------------------------------------*\ -| SteelSeriesAerox9Controller.h | -| | -| OpenRGB controller driver for the Steelseries Aerox9 Wireless (Wired) | -| | -| rom4ster 11th October 2022 | -\*---------------------------------------------------------------------*/ -#include -#include -#include +/*---------------------------------------------------------*\ +| SteelSeriesAerox9Controller.h | +| | +| Driver for the Steelseries Aerox 9 | +| | +| rom4ster 11 Oct 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ +#pragma once + +#include +#include +#include #include "RGBController.h" #include "SteelSeriesGeneric.h" #include "SteelSeriesMouseController.h" -#pragma once - #define STEELSERIES_AEORX9_NAME "SteelSeries Aerox 9" #define STEELSERIES_AEORX9_PACKET_SIZE 65 #define STEELSERIES_AEORX9_TIMEOUT 250