From 792a14cf3b229cf9752cd4db58252f5beafd994c Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Thu, 1 Aug 2024 22:30:18 -0500 Subject: [PATCH] Update Sinowealth1007 controller files to new standardized header comment --- .../RGBController_Sinowealth1007.cpp | 18 +++++++------ .../RGBController_Sinowealth1007.h | 19 ++++++------- .../SinowealthController1007.cpp | 18 +++++++------ .../SinowealthController1007.h | 27 ++++++++++--------- 4 files changed, 44 insertions(+), 38 deletions(-) diff --git a/Controllers/SinowealthController/Sinowealth1007Controller/RGBController_Sinowealth1007.cpp b/Controllers/SinowealthController/Sinowealth1007Controller/RGBController_Sinowealth1007.cpp index 4dbfcec0..bceecb41 100644 --- a/Controllers/SinowealthController/Sinowealth1007Controller/RGBController_Sinowealth1007.cpp +++ b/Controllers/SinowealthController/Sinowealth1007Controller/RGBController_Sinowealth1007.cpp @@ -1,11 +1,13 @@ -/*-------------------------------------------*\ -| RGBController_Sinowealth1007.cpp | -| | -| Generic RGB Interface for Sinowealth | -| mice with PID 1007 and similar controllers | -| | -| Moon_darker (Vaker) 02.02.2022 | -\*-------------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_Sinowealth1007.cpp | +| | +| RGBController for Sinowealth mice with PID 1007 | +| | +| Moon_darker (Vaker) 02 Feb 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include "RGBController_Sinowealth1007.h" diff --git a/Controllers/SinowealthController/Sinowealth1007Controller/RGBController_Sinowealth1007.h b/Controllers/SinowealthController/Sinowealth1007Controller/RGBController_Sinowealth1007.h index 59697430..56d1713a 100644 --- a/Controllers/SinowealthController/Sinowealth1007Controller/RGBController_Sinowealth1007.h +++ b/Controllers/SinowealthController/Sinowealth1007Controller/RGBController_Sinowealth1007.h @@ -1,11 +1,13 @@ -/*-------------------------------------------*\ -| RGBController_Sinowealth1007.h | -| | -| Generic RGB Interface for Sinowealth | -| mice with PID 1007 and similar controllers | -| | -| Moon_darker (Vaker) 25.01.2022 | -\*-------------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_Sinowealth1007.h | +| | +| RGBController for Sinowealth mice with PID 1007 | +| | +| Moon_darker (Vaker) 25 Jan 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #pragma once @@ -27,7 +29,6 @@ public: void DeviceUpdateMode(); - private: SinowealthController1007* controller; }; diff --git a/Controllers/SinowealthController/Sinowealth1007Controller/SinowealthController1007.cpp b/Controllers/SinowealthController/Sinowealth1007Controller/SinowealthController1007.cpp index 32f70aa6..ae71cdb8 100644 --- a/Controllers/SinowealthController/Sinowealth1007Controller/SinowealthController1007.cpp +++ b/Controllers/SinowealthController/Sinowealth1007Controller/SinowealthController1007.cpp @@ -1,11 +1,13 @@ -/*-----------------------------------------*\ -| SinowealthController1007.cpp | -| | -| Driver for Sinowealth mice with PID 1007 | -| and ones with similar protocol | -| | -| Moon_darker (Vaker) 02.02.2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| SinowealthController1007.cpp | +| | +| Driver for Sinowealth mice with PID 1007 | +| | +| Moon_darker (Vaker) 02 Feb 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include #include "LogManager.h" diff --git a/Controllers/SinowealthController/Sinowealth1007Controller/SinowealthController1007.h b/Controllers/SinowealthController/Sinowealth1007Controller/SinowealthController1007.h index 4b15d824..93ec7285 100644 --- a/Controllers/SinowealthController/Sinowealth1007Controller/SinowealthController1007.h +++ b/Controllers/SinowealthController/Sinowealth1007Controller/SinowealthController1007.h @@ -1,19 +1,20 @@ -/*-----------------------------------------*\ -| SinowealthController1007.h | -| | -| Definitions and types for Sinowealth | -| mice with PID 1007 and ones with similar | -| protocol | -| | -| Moon_darker (Vaker) 25.01.2022 | -\*-----------------------------------------*/ - -#include "RGBController.h" -#include -#include +/*---------------------------------------------------------*\ +| SinowealthController1007.h | +| | +| Driver for Sinowealth mice with PID 1007 | +| | +| Moon_darker (Vaker) 25 Jan 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #pragma once +#include +#include +#include "RGBController.h" + #define ZET_FURY_PRO_STATE_BUFFER_LENGTH 59 #define ZET_FURY_PRO_COLOR_BUFFER_LENGTH 21