From e8264ae616c3b4dde6424c16f641f93b21454efc Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Sat, 25 May 2024 12:49:56 -0500 Subject: [PATCH] Update Lenovo motherboard controller files to new standardized header comment --- .../LenovoMotherboardController.cpp | 21 +++++++++------- .../LenovoMotherboardController.h | 19 ++++++++------ .../LenovoMotherboardControllerDetect.cpp | 11 ++++++++ .../RGBController_LenovoMotherboard.cpp | 25 ++++++++++--------- .../RGBController_LenovoMotherboard.h | 18 +++++++------ 5 files changed, 57 insertions(+), 37 deletions(-) diff --git a/Controllers/LenovoMotherboardController/LenovoMotherboardController.cpp b/Controllers/LenovoMotherboardController/LenovoMotherboardController.cpp index 36eeae628..e3e1800ee 100644 --- a/Controllers/LenovoMotherboardController/LenovoMotherboardController.cpp +++ b/Controllers/LenovoMotherboardController/LenovoMotherboardController.cpp @@ -1,13 +1,16 @@ -/*-----------------------------------------*\ -| LenovoMotherboardController.cpp | -| | -| Driver for Lenovo motherboards lighting | -| controller | -| | -| Guimard Morgan (morg) 12/26/2022 | -\*-----------------------------------------*/ -#include "LenovoMotherboardController.h" +/*---------------------------------------------------------*\ +| LenovoMotherboardController.cpp | +| | +| Driver for Lenovo motherboard | +| | +| Morgan Guimard (morg) 26 Dec 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + #include +#include "LenovoMotherboardController.h" LenovoMotherboardController::LenovoMotherboardController(hid_device* dev_handle, const hid_device_info& info) { diff --git a/Controllers/LenovoMotherboardController/LenovoMotherboardController.h b/Controllers/LenovoMotherboardController/LenovoMotherboardController.h index 1f0d43817..56179ed34 100644 --- a/Controllers/LenovoMotherboardController/LenovoMotherboardController.h +++ b/Controllers/LenovoMotherboardController/LenovoMotherboardController.h @@ -1,11 +1,14 @@ -/*-----------------------------------------*\ -| LenovoMotherboardController.cpp | -| | -| Driver for Lenovo motherboards lighting | -| controller - header file | -| | -| Guimard Morgan (morg) 12/26/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| LenovoMotherboardController.h | +| | +| Driver for Lenovo motherboard | +| | +| Morgan Guimard (morg) 26 Dec 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + #pragma once #include diff --git a/Controllers/LenovoMotherboardController/LenovoMotherboardControllerDetect.cpp b/Controllers/LenovoMotherboardController/LenovoMotherboardControllerDetect.cpp index d256697ea..d185fc2be 100644 --- a/Controllers/LenovoMotherboardController/LenovoMotherboardControllerDetect.cpp +++ b/Controllers/LenovoMotherboardController/LenovoMotherboardControllerDetect.cpp @@ -1,3 +1,14 @@ +/*---------------------------------------------------------*\ +| LenovoMotherboardControllerDetect.cpp | +| | +| Detector for Lenovo motherboard | +| | +| Morgan Guimard (morg) 26 Dec 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + #include "Detector.h" #include "LenovoMotherboardController.h" #include "RGBController.h" diff --git a/Controllers/LenovoMotherboardController/RGBController_LenovoMotherboard.cpp b/Controllers/LenovoMotherboardController/RGBController_LenovoMotherboard.cpp index 1146c58a2..e5356ce34 100644 --- a/Controllers/LenovoMotherboardController/RGBController_LenovoMotherboard.cpp +++ b/Controllers/LenovoMotherboardController/RGBController_LenovoMotherboard.cpp @@ -1,16 +1,17 @@ -/*-----------------------------------------*\ -| RGBController_LenovoMotherboard.h | -| | -| Generic RGB Interface for OpenRGB | -| Lenovo motherboards RGB USB Driver | -| | -| Guimard Morgan (morg) 12/26/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_LenovoMotherboard.cpp | +| | +| RGBController for Lenovo motherboard | +| | +| Morgan Guimard (morg) 26 Dec 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ -#include "RGBController_LenovoMotherboard.h" - -#include #include +#include +#include "RGBController_LenovoMotherboard.h" /**------------------------------------------------------------------*\ @name LenovoMotherboard mouse @@ -198,6 +199,6 @@ void RGBController_LenovoMotherboard::UpdateSingleLED(int /*led*/) } void RGBController_LenovoMotherboard::DeviceUpdateMode() -{ +{ DeviceUpdateLEDs(); } diff --git a/Controllers/LenovoMotherboardController/RGBController_LenovoMotherboard.h b/Controllers/LenovoMotherboardController/RGBController_LenovoMotherboard.h index 7f312a5d0..8b1964862 100644 --- a/Controllers/LenovoMotherboardController/RGBController_LenovoMotherboard.h +++ b/Controllers/LenovoMotherboardController/RGBController_LenovoMotherboard.h @@ -1,11 +1,13 @@ -/*-----------------------------------------*\ -| RGBController_LenovoMotherboard.h | -| | -| Generic RGB Interface for OpenRGB | -| Lenovo motherboards RGB USB Driver | -| | -| Guimard Morgan (morg) 12/26/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_LenovoMotherboard.h | +| | +| RGBController for Lenovo motherboard | +| | +| Morgan Guimard (morg) 26 Dec 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #pragma once