From 75f895799cc1526326fa344cc86c507643d50819 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Sat, 1 Jun 2024 00:55:54 -0500 Subject: [PATCH] Update MSI Vigor controller files to new standardized header comment --- .../MSIVigorControllerDetect.cpp | 11 +++++++++ .../MSIVigorGK30Controller.cpp | 23 +++++++++++-------- .../MSIVigorGK30Controller.h | 21 +++++++++-------- .../RGBController_MSIVigorGK30.cpp | 23 ++++++++++--------- .../RGBController_MSIVigorGK30.h | 18 ++++++++------- 5 files changed, 58 insertions(+), 38 deletions(-) diff --git a/Controllers/MSIVigorController/MSIVigorControllerDetect.cpp b/Controllers/MSIVigorController/MSIVigorControllerDetect.cpp index f7b0dd98..5dc27d09 100644 --- a/Controllers/MSIVigorController/MSIVigorControllerDetect.cpp +++ b/Controllers/MSIVigorController/MSIVigorControllerDetect.cpp @@ -1,3 +1,14 @@ +/*---------------------------------------------------------*\ +| MSIVigorControllerDetect.cpp | +| | +| Detector for MSI Vigor | +| | +| Morgan Guimard (morg) 01 Jun 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + #include "Detector.h" #include "MSIVigorGK30Controller.h" #include "RGBController.h" diff --git a/Controllers/MSIVigorController/MSIVigorGK30Controller.cpp b/Controllers/MSIVigorController/MSIVigorGK30Controller.cpp index 3847eb55..00b0ed0a 100644 --- a/Controllers/MSIVigorController/MSIVigorGK30Controller.cpp +++ b/Controllers/MSIVigorController/MSIVigorGK30Controller.cpp @@ -1,14 +1,17 @@ -/*-----------------------------------------*\ -| MSIVigorGK30Controller.cpp | -| | -| Driver for MSI Vigor GK 30 keyboard | -| controller | -| | -| Guimard Morgan (morg) 6/01/2022 | -\*-----------------------------------------*/ -#include "MSIVigorGK30Controller.h" -#include +/*---------------------------------------------------------*\ +| MSIVigorGK30Controller.cpp | +| | +| Driver for MSI Vigor GK30 | +| | +| Morgan Guimard (morg) 01 Jun 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + #include +#include +#include "MSIVigorGK30Controller.h" static unsigned char argb_colour_index_data[2][2][2] = { //B0 B1 diff --git a/Controllers/MSIVigorController/MSIVigorGK30Controller.h b/Controllers/MSIVigorController/MSIVigorGK30Controller.h index f5c288f5..ed33ee75 100644 --- a/Controllers/MSIVigorController/MSIVigorGK30Controller.h +++ b/Controllers/MSIVigorController/MSIVigorGK30Controller.h @@ -1,16 +1,19 @@ -/*-----------------------------------------*\ -| MSIVigorGK30Controller.h | -| | -| Driver for MSI Vigor GK 30 keyboard | -| controller - header file | -| | -| Guimard Morgan (morg) 6/01/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| MSIVigorGK30Controller.h | +| | +| Driver for MSI Vigor GK30 | +| | +| Morgan Guimard (morg) 01 Jun 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 MSI_VIGOR_GK30_REPORT_SIZE 8 #define MSI_VIGOR_GK30_LEDS_COUNT 6 diff --git a/Controllers/MSIVigorController/RGBController_MSIVigorGK30.cpp b/Controllers/MSIVigorController/RGBController_MSIVigorGK30.cpp index e1d1aa5f..0842d0cb 100644 --- a/Controllers/MSIVigorController/RGBController_MSIVigorGK30.cpp +++ b/Controllers/MSIVigorController/RGBController_MSIVigorGK30.cpp @@ -1,16 +1,17 @@ -/*-----------------------------------------*\ -| RGBController_MSIVigorGK30.cpp | -| | -| Generic RGB Interface for OpenRGB | -| MSI Vigor GK30 USB Driver | -| | -| Guimard Morgan (morg) 6/01/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_MSIVigorGK30.cpp | +| | +| RGBController for MSI Vigor GK30 | +| | +| Morgan Guimard (morg) 01 Jun 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ -#include "RGBController_MSIVigorGK30.h" - -#include #include +#include +#include "RGBController_MSIVigorGK30.h" /**------------------------------------------------------------------*\ @name MSI Vigor GK30 diff --git a/Controllers/MSIVigorController/RGBController_MSIVigorGK30.h b/Controllers/MSIVigorController/RGBController_MSIVigorGK30.h index 8fdb60c7..bb234185 100644 --- a/Controllers/MSIVigorController/RGBController_MSIVigorGK30.h +++ b/Controllers/MSIVigorController/RGBController_MSIVigorGK30.h @@ -1,11 +1,13 @@ -/*-----------------------------------------*\ -| RGBController_MSIVigorGK30.h | -| | -| Generic RGB Interface for OpenRGB | -| MIS Vigor GK30 RGB USB Driver | -| | -| Guimard Morgan (morg) 6/01/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_MSIVigorGK30.h | +| | +| RGBController for MSI Vigor GK30 | +| | +| Morgan Guimard (morg) 01 Jun 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #pragma once