From 8a77fe5525ee27f1f5a2a9202bb2b55f03e83542 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Thu, 16 May 2024 11:43:53 -0500 Subject: [PATCH] Update Elgato Key Light controller files to new standardized header comment --- .../ElgatoKeyLightController.cpp | 11 ++++++++--- .../ElgatoKeyLightController.h | 18 +++++++++++------- .../ElgatoKeyLightControllerDetect.cpp | 15 ++++++++++++--- .../RGBController_ElgatoKeyLight.cpp | 17 ++++++++++------- .../RGBController_ElgatoKeyLight.h | 18 +++++++++++------- 5 files changed, 52 insertions(+), 27 deletions(-) diff --git a/Controllers/ElgatoKeyLightController/ElgatoKeyLightController.cpp b/Controllers/ElgatoKeyLightController/ElgatoKeyLightController.cpp index 78a3b479..f38ebf3e 100644 --- a/Controllers/ElgatoKeyLightController/ElgatoKeyLightController.cpp +++ b/Controllers/ElgatoKeyLightController/ElgatoKeyLightController.cpp @@ -1,12 +1,17 @@ /*---------------------------------------------------------*\ -| Driver for Elgato Key Light | +| ElgatoKeyLightController.cpp | | | -| Monks (imtherealestmonkey@gmail.com), 11/03/2021 | +| Driver for Elgato Key Light | +| | +| Monks (imtherealestmonkey@gmail.com), 03 Nov 2021 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | \*---------------------------------------------------------*/ +#include #include "ElgatoKeyLightController.h" #include "json.hpp" -#include using json = nlohmann::json; diff --git a/Controllers/ElgatoKeyLightController/ElgatoKeyLightController.h b/Controllers/ElgatoKeyLightController/ElgatoKeyLightController.h index 3f00168b..ef1b5827 100644 --- a/Controllers/ElgatoKeyLightController/ElgatoKeyLightController.h +++ b/Controllers/ElgatoKeyLightController/ElgatoKeyLightController.h @@ -1,19 +1,23 @@ /*---------------------------------------------------------*\ -| Definitions for Elgato Key Light | +| ElgatoKeyLightController.h | | | -| Monks (imtherealestmonkey@gmail.com), 11/11/2021 | +| Driver for Elgato Key Light | +| | +| Monks (imtherealestmonkey@gmail.com), 11 Nov 2021 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | \*---------------------------------------------------------*/ -#include "RGBController.h" -#include "net_port.h" -#include "hsv.h" +#pragma once #include #include #include #include - -#pragma once +#include "RGBController.h" +#include "net_port.h" +#include "hsv.h" class ElgatoKeyLightController { diff --git a/Controllers/ElgatoKeyLightController/ElgatoKeyLightControllerDetect.cpp b/Controllers/ElgatoKeyLightController/ElgatoKeyLightControllerDetect.cpp index a68605c5..e9962fe1 100644 --- a/Controllers/ElgatoKeyLightController/ElgatoKeyLightControllerDetect.cpp +++ b/Controllers/ElgatoKeyLightController/ElgatoKeyLightControllerDetect.cpp @@ -1,11 +1,20 @@ +/*---------------------------------------------------------*\ +| ElgatoKeyLightControllerDetect.cpp | +| | +| Detector for Elgato Key Light | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + +#include +#include +#include #include "Detector.h" #include "ElgatoKeyLightController.h" #include "RGBController.h" #include "RGBController_ElgatoKeyLight.h" #include "SettingsManager.h" -#include -#include -#include /******************************************************************************************\ * * diff --git a/Controllers/ElgatoKeyLightController/RGBController_ElgatoKeyLight.cpp b/Controllers/ElgatoKeyLightController/RGBController_ElgatoKeyLight.cpp index 17531b7d..901a9f49 100644 --- a/Controllers/ElgatoKeyLightController/RGBController_ElgatoKeyLight.cpp +++ b/Controllers/ElgatoKeyLightController/RGBController_ElgatoKeyLight.cpp @@ -1,10 +1,13 @@ -/*------------------------------------------------*\ -| RGBController_ElgatoKeyLight.cpp | -| | -| Generic RGB Interface for ElgatoKeyLight | -| | -| Monks (@iamtherealestmonkey) 11/03/2021 | -\*------------------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_ElgatoKeyLight.cpp | +| | +| RGBController for Elgato Key Light | +| | +| Monks (@iamtherealestmonkey) 03 Nov 2021 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include "RGBController_ElgatoKeyLight.h" #include "hsv.h" diff --git a/Controllers/ElgatoKeyLightController/RGBController_ElgatoKeyLight.h b/Controllers/ElgatoKeyLightController/RGBController_ElgatoKeyLight.h index 86641f09..6658cf1e 100644 --- a/Controllers/ElgatoKeyLightController/RGBController_ElgatoKeyLight.h +++ b/Controllers/ElgatoKeyLightController/RGBController_ElgatoKeyLight.h @@ -1,12 +1,16 @@ -/*--------------------------------------------------*\ -| RGBController_ElgatoKeyLight.h | -| | -| Generic RGB Interface for Elgato KeyLight | -| | -| Monks (imtherealestmonkey@gmail.com) 11/1/2021 | -\*--------------------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_ElgatoKeyLight.h | +| | +| RGBController for Elgato Key Light | +| | +| Monks (@iamtherealestmonkey) 01 Nov 2021 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #pragma once + #include "RGBController.h" #include "ElgatoKeyLightController.h"