From 13ba7b19ea96185dde2811353651695b80ec5c60 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Sat, 25 May 2024 09:14:13 -0500 Subject: [PATCH] Update Intel Arc A770 LE controller files to new standardized header comment --- .../IntelArcA770LEController.cpp | 20 ++++++++-------- .../IntelArcA770LEController.h | 23 ++++++++++--------- .../IntelArcA770LEControllerDetect.cpp | 13 ++++++++++- .../RGBController_IntelArcA770LE.cpp | 18 ++++++++------- .../RGBController_IntelArcA770LE.h | 19 ++++++++------- 5 files changed, 56 insertions(+), 37 deletions(-) diff --git a/Controllers/IntelArcA770LEController/IntelArcA770LEController.cpp b/Controllers/IntelArcA770LEController/IntelArcA770LEController.cpp index efc034dc..da763310 100644 --- a/Controllers/IntelArcA770LEController/IntelArcA770LEController.cpp +++ b/Controllers/IntelArcA770LEController/IntelArcA770LEController.cpp @@ -1,17 +1,19 @@ -/*-----------------------------------------*\ -| IntelArcA770LEController.cpp | -| | -| Driver for Intel Arc A770 LE RGB lighting| -| controller | -| | -| Adam Honse (CalcProgrammer1) 11/1/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| IntelArcA770LEController.cpp | +| | +| Driver for Intel Arc A770 LE | +| | +| Adam Honse (CalcProgrammer1) 01 Nov 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ -#include "IntelArcA770LEController.h" #include #include #include #include +#include "IntelArcA770LEController.h" IntelArcA770LEController::IntelArcA770LEController(hid_device* dev_handle, const char* path) { diff --git a/Controllers/IntelArcA770LEController/IntelArcA770LEController.h b/Controllers/IntelArcA770LEController/IntelArcA770LEController.h index 93dbfcc1..b938b6b6 100644 --- a/Controllers/IntelArcA770LEController/IntelArcA770LEController.h +++ b/Controllers/IntelArcA770LEController/IntelArcA770LEController.h @@ -1,19 +1,20 @@ -/*-----------------------------------------*\ -| IntelArcA770LEController.h | -| | -| Definitions and types for Intel Arc A770 | -| LE lighting controller | -| | -| Adam Honse (CalcProgrammer1) 11/1/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| IntelArcA770LEController.h | +| | +| Driver for Intel Arc A770 LE | +| | +| Adam Honse (CalcProgrammer1) 01 Nov 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + +#pragma once #include #include - #include "RGBController.h" -#pragma once - class IntelArcA770LEController { public: diff --git a/Controllers/IntelArcA770LEController/IntelArcA770LEControllerDetect.cpp b/Controllers/IntelArcA770LEController/IntelArcA770LEControllerDetect.cpp index 53f3c3ea..44f79b0f 100644 --- a/Controllers/IntelArcA770LEController/IntelArcA770LEControllerDetect.cpp +++ b/Controllers/IntelArcA770LEController/IntelArcA770LEControllerDetect.cpp @@ -1,8 +1,19 @@ +/*---------------------------------------------------------*\ +| IntelArcA770LEControllerDetect.cpp | +| | +| Detector for Intel Arc A770 LE | +| | +| Adam Honse (CalcProgrammer1) 01 Nov 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + +#include #include "Detector.h" #include "IntelArcA770LEController.h" #include "RGBController.h" #include "RGBController_IntelArcA770LE.h" -#include #define INTEL_ARC_A770_LIMITED_EDITION_VID 0x2516 #define INTEL_ARC_A770_LIMITED_EDITION_PID 0x01B5 diff --git a/Controllers/IntelArcA770LEController/RGBController_IntelArcA770LE.cpp b/Controllers/IntelArcA770LEController/RGBController_IntelArcA770LE.cpp index 7ee7e5cb..1004d228 100644 --- a/Controllers/IntelArcA770LEController/RGBController_IntelArcA770LE.cpp +++ b/Controllers/IntelArcA770LEController/RGBController_IntelArcA770LE.cpp @@ -1,11 +1,13 @@ -/*-----------------------------------------*\ -| RGBController_IntelArcA770LE.cpp | -| | -| Generic RGB Interface for Intel Arc A770 | -| LE | -| | -| Adam Honse (CalcProgrammer1) 11/2/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_IntelArcA770LE.cpp | +| | +| RGBController for Intel Arc A770 LE | +| | +| Adam Honse (CalcProgrammer1) 01 Nov 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include "RGBController_IntelArcA770LE.h" diff --git a/Controllers/IntelArcA770LEController/RGBController_IntelArcA770LE.h b/Controllers/IntelArcA770LEController/RGBController_IntelArcA770LE.h index 3feb6972..40934137 100644 --- a/Controllers/IntelArcA770LEController/RGBController_IntelArcA770LE.h +++ b/Controllers/IntelArcA770LEController/RGBController_IntelArcA770LE.h @@ -1,13 +1,16 @@ -/*-----------------------------------------*\ -| RGBController_IntelArcA770LE.h | -| | -| Generic RGB Interface for Intel Arc A770 | -| LE | -| | -| Adam Honse (CalcProgrammer1) 11/2/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_IntelArcA770LE.h | +| | +| RGBController for Intel Arc A770 LE | +| | +| Adam Honse (CalcProgrammer1) 01 Nov 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #pragma once + #include "RGBController.h" #include "IntelArcA770LEController.h"