diff --git a/Controllers/DebugController/DebugControllerDetect.cpp b/Controllers/DebugController/DebugControllerDetect.cpp index 5b57a92f..0b8ccb32 100644 --- a/Controllers/DebugController/DebugControllerDetect.cpp +++ b/Controllers/DebugController/DebugControllerDetect.cpp @@ -1,3 +1,20 @@ +/*---------------------------------------------------------*\ +| DebugControllerDetect.cpp | +| | +| Detector for debug devices | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + +#include +#include +#include +#include +#include +#include +#include +#include #include "Detector.h" #include "RGBController.h" #include "RGBController_Debug.h" @@ -5,16 +22,6 @@ #include "RGBControllerKeyNames.h" #include "KeyboardLayoutManager.h" #include "SettingsManager.h" -#include -#include -#include - -#include -#include -#include -#include -#include - //0xFFFFFFFF indicates an unused entry in matrix #define NA 0xFFFFFFFF diff --git a/Controllers/DebugController/RGBController_Debug.cpp b/Controllers/DebugController/RGBController_Debug.cpp index b783dca8..0eaffb41 100644 --- a/Controllers/DebugController/RGBController_Debug.cpp +++ b/Controllers/DebugController/RGBController_Debug.cpp @@ -1,7 +1,15 @@ -#include "RGBController_Debug.h" +/*---------------------------------------------------------*\ +| RGBController_Debug.cpp | +| | +| RGBController for debug devices | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include #include +#include "RGBController_Debug.h" /**------------------------------------------------------------------*\ @name Debug diff --git a/Controllers/DebugController/RGBController_Debug.h b/Controllers/DebugController/RGBController_Debug.h index 2f6c2c78..459a9133 100644 --- a/Controllers/DebugController/RGBController_Debug.h +++ b/Controllers/DebugController/RGBController_Debug.h @@ -1,15 +1,19 @@ -#ifndef RGBCONTROLLER_DEBUG_H -#define RGBCONTROLLER_DEBUG_H +/*---------------------------------------------------------*\ +| RGBController_Debug.h | +| | +| RGBController for debug devices | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + +#pragma once #include "RGBController_Dummy.h" -// A variation of Dummy controller that allows the zones to be resized - class RGBController_Debug : public RGBController_Dummy { public: RGBController_Debug(); void ResizeZone(int zone, int newSize) override; }; - -#endif // RGBCONTROLLER_DEBUG_H