diff --git a/Controllers/MSIMysticLightController/MSIMysticLight112Controller/MSIMysticLight112Controller.cpp b/Controllers/MSIMysticLightController/MSIMysticLight112Controller/MSIMysticLight112Controller.cpp index 35fa0ca0..87010004 100644 --- a/Controllers/MSIMysticLightController/MSIMysticLight112Controller/MSIMysticLight112Controller.cpp +++ b/Controllers/MSIMysticLightController/MSIMysticLight112Controller/MSIMysticLight112Controller.cpp @@ -1,21 +1,21 @@ -/*-----------------------------------------*\ -| MSIMysticLight112Controller.cpp | -| | -| Driver for MSI Mystic Light (112-byte) | -| USB lighting controller | -| | -| thombo 12/17/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| MSIMysticLight112Controller.cpp | +| | +| Driver for MSI Mystic Light 112-byte motherboard | +| | +| thombo 17 Dec 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ -#include "MSIMysticLight112Controller.h" #include #include #include - +#include "MSIMysticLight112Controller.h" #define BITSET(val, bit, pos) ((unsigned char)std::bitset<8>(val).set((pos), (bit)).to_ulong()) - struct Config { unsigned short pid; // PID of the board diff --git a/Controllers/MSIMysticLightController/MSIMysticLight112Controller/MSIMysticLight112Controller.h b/Controllers/MSIMysticLightController/MSIMysticLight112Controller/MSIMysticLight112Controller.h index 7997de7f..316333b6 100644 --- a/Controllers/MSIMysticLightController/MSIMysticLight112Controller/MSIMysticLight112Controller.h +++ b/Controllers/MSIMysticLightController/MSIMysticLight112Controller/MSIMysticLight112Controller.h @@ -1,20 +1,22 @@ -/*-----------------------------------------*\ -| MSIMysticLight112Controller.h | -| | -| Definitions and types for MSI Mystic | -| Light (112-byte) USB lighting controllers| -| | -| thombo 12/17/2022 | -\*-----------------------------------------*/ - -#include "MSIMysticLightCommon.h" -#include "RGBController.h" -#include -#include -#include +/*---------------------------------------------------------*\ +| MSIMysticLight112Controller.h | +| | +| Driver for MSI Mystic Light 112-byte motherboard | +| | +| thombo 17 Dec 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #pragma once +#include +#include +#include +#include "MSIMysticLightCommon.h" +#include "RGBController.h" + class MSIMysticLight112Controller { public: diff --git a/Controllers/MSIMysticLightController/MSIMysticLight112Controller/RGBController_MSIMysticLight112.cpp b/Controllers/MSIMysticLightController/MSIMysticLight112Controller/RGBController_MSIMysticLight112.cpp index d8d2bb7b..7f64ef81 100644 --- a/Controllers/MSIMysticLightController/MSIMysticLight112Controller/RGBController_MSIMysticLight112.cpp +++ b/Controllers/MSIMysticLightController/MSIMysticLight112Controller/RGBController_MSIMysticLight112.cpp @@ -1,15 +1,16 @@ -/*-----------------------------------------*\ -| RGBController_MSIMysticLight112.cpp | -| | -| Generic RGB Interface for OpenRGB | -| MSI Mystic Light (112-byte) USB Driver | -| | -| thombo 12/17/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_MSIMysticLight112.cpp | +| | +| RGBController for MSI Mystic Light 112-byte motherboard | +| | +| thombo 17 Dec 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include "RGBController_MSIMysticLight112.h" - struct ZoneDescription { std::string name; diff --git a/Controllers/MSIMysticLightController/MSIMysticLight112Controller/RGBController_MSIMysticLight112.h b/Controllers/MSIMysticLightController/MSIMysticLight112Controller/RGBController_MSIMysticLight112.h index cf1cabf1..e5941a19 100644 --- a/Controllers/MSIMysticLightController/MSIMysticLight112Controller/RGBController_MSIMysticLight112.h +++ b/Controllers/MSIMysticLightController/MSIMysticLight112Controller/RGBController_MSIMysticLight112.h @@ -1,16 +1,19 @@ -/*-----------------------------------------*\ -| RGBController_MSIMysticLight112.h | -| | -| Generic RGB Interface for OpenRGB | -| MSI Mystic Light (112-byte) USB Driver | -| | -| thombo 12/17/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_MSIMysticLight112.h | +| | +| RGBController for MSI Mystic Light 112-byte motherboard | +| | +| thombo 17 Dec 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #pragma once + +#include #include "RGBController.h" #include "MSIMysticLight112Controller.h" -#include class RGBController_MSIMysticLight112: public RGBController {