From cb4135362293a89ffdf1ee854c91252e7e41f042 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Sat, 25 May 2024 12:53:50 -0500 Subject: [PATCH] Update Lexip mouse controller files to new standardized header comment --- .../LexipMouseController.cpp | 21 +++++++++-------- .../LexipMouseController.h | 21 +++++++++-------- .../LexipMouseControllerDetect.cpp | 11 +++++++++ .../RGBController_LexipMouse.cpp | 23 ++++++++++--------- .../RGBController_LexipMouse.h | 18 ++++++++------- 5 files changed, 57 insertions(+), 37 deletions(-) diff --git a/Controllers/LexipMouseController/LexipMouseController.cpp b/Controllers/LexipMouseController/LexipMouseController.cpp index 160378b9..9b09fa72 100644 --- a/Controllers/LexipMouseController/LexipMouseController.cpp +++ b/Controllers/LexipMouseController/LexipMouseController.cpp @@ -1,13 +1,16 @@ -/*-----------------------------------------*\ -| LexipMouseController.cpp | -| | -| Driver for Lexip mouse lighting | -| controller | -| | -| Guimard Morgan (morg) 2/21/2022 | -\*-----------------------------------------*/ -#include "LexipMouseController.h" +/*---------------------------------------------------------*\ +| LexipMouseController.cpp | +| | +| Driver for Lexip mouse | +| | +| Morgan Guimard (morg) 21 Feb 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + #include +#include "LexipMouseController.h" LexipMouseController::LexipMouseController(hid_device* dev_handle, const hid_device_info& info) { diff --git a/Controllers/LexipMouseController/LexipMouseController.h b/Controllers/LexipMouseController/LexipMouseController.h index 59ecb13f..9722bc1a 100644 --- a/Controllers/LexipMouseController/LexipMouseController.h +++ b/Controllers/LexipMouseController/LexipMouseController.h @@ -1,16 +1,19 @@ -/*-----------------------------------------*\ -| LexipMouseController.h | -| | -| Driver for Lexip mouse lighting | -| controller - header file | -| | -| Guimard Morgan (morg) 2/21/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| LexipMouseController.h | +| | +| Driver for Lexip mouse | +| | +| Morgan Guimard (morg) 21 Feb 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + #pragma once -#include "RGBController.h" #include #include +#include "RGBController.h" #define PACKET_DATA_LENGTH 64 diff --git a/Controllers/LexipMouseController/LexipMouseControllerDetect.cpp b/Controllers/LexipMouseController/LexipMouseControllerDetect.cpp index 9325b99f..545b12c4 100644 --- a/Controllers/LexipMouseController/LexipMouseControllerDetect.cpp +++ b/Controllers/LexipMouseController/LexipMouseControllerDetect.cpp @@ -1,3 +1,14 @@ +/*---------------------------------------------------------*\ +| LexipMouseControllerDetect.cpp | +| | +| Detector for Lexip mouse | +| | +| Morgan Guimard (morg) 21 Feb 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + #include "Detector.h" #include "LexipMouseController.h" #include "RGBController.h" diff --git a/Controllers/LexipMouseController/RGBController_LexipMouse.cpp b/Controllers/LexipMouseController/RGBController_LexipMouse.cpp index efe198dc..6844c7e4 100644 --- a/Controllers/LexipMouseController/RGBController_LexipMouse.cpp +++ b/Controllers/LexipMouseController/RGBController_LexipMouse.cpp @@ -1,16 +1,17 @@ -/*-----------------------------------------*\ -| RGBController_LexipMouse.cpp | -| | -| Generic RGB Interface for OpenRGB | -| Lexip mouse USB Driver | -| | -| Guimard Morgan (morg) 2/21/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_LexipMouse.cpp | +| | +| RGBController for Lexip mouse | +| | +| Morgan Guimard (morg) 21 Feb 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ -#include "RGBController_LexipMouse.h" - -#include #include +#include +#include "RGBController_LexipMouse.h" /**------------------------------------------------------------------*\ @name Lexip Mouse diff --git a/Controllers/LexipMouseController/RGBController_LexipMouse.h b/Controllers/LexipMouseController/RGBController_LexipMouse.h index 34d9aa82..835c32e9 100644 --- a/Controllers/LexipMouseController/RGBController_LexipMouse.h +++ b/Controllers/LexipMouseController/RGBController_LexipMouse.h @@ -1,11 +1,13 @@ -/*-----------------------------------------*\ -| RGBController_LexipMouse.h | -| | -| Generic RGB Interface for OpenRGB | -| Lexip mouse RGB USB Driver | -| | -| Guimard Morgan (morg) 2/21/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_LexipMouse.h | +| | +| RGBController for Lexip mouse | +| | +| Morgan Guimard (morg) 21 Feb 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #pragma once