diff --git a/Controllers/RedSquareKeyroxController/RedSquareKeyroxController/RGBController_RedSquareKeyrox.cpp b/Controllers/RedSquareKeyroxController/RedSquareKeyroxController/RGBController_RedSquareKeyrox.cpp index 4d22947e..03778915 100644 --- a/Controllers/RedSquareKeyroxController/RedSquareKeyroxController/RGBController_RedSquareKeyrox.cpp +++ b/Controllers/RedSquareKeyroxController/RedSquareKeyroxController/RGBController_RedSquareKeyrox.cpp @@ -1,11 +1,14 @@ -/*-------------------------------------------------------*\ -| RGBController_RedSquareKeyrox.cpp | -| | -| Driver for Red Square Keyrox USB Controller | -| Based on Keychron Controller by Guimard Morgan (morg) | -| | -| cafeed28 3 Nov 2022 | -\*-------------------------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_RedSquareKeyrox.cpp | +| | +| RGBController for Red Square Keyrox | +| | +| cafeed28 03 Nov 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + #include "RGBControllerKeyNames.h" #include "RGBController_RedSquareKeyrox.h" diff --git a/Controllers/RedSquareKeyroxController/RedSquareKeyroxController/RGBController_RedSquareKeyrox.h b/Controllers/RedSquareKeyroxController/RedSquareKeyroxController/RGBController_RedSquareKeyrox.h index 428ecc3a..8b4a1744 100644 --- a/Controllers/RedSquareKeyroxController/RedSquareKeyroxController/RGBController_RedSquareKeyrox.h +++ b/Controllers/RedSquareKeyroxController/RedSquareKeyroxController/RGBController_RedSquareKeyrox.h @@ -1,12 +1,16 @@ -/*---------------------------------------------*\ -| RGBController_RedSquareKeyrox.h | -| | -| Driver for Red Square Keyrox USB Controller | -| | -| cafeed28 3 Nov 2022 | -\*---------------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_RedSquareKeyrox.h | +| | +| RGBController for Red Square Keyrox | +| | +| cafeed28 03 Nov 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #pragma once + #include "RGBController.h" #include "RedSquareKeyroxController.h" diff --git a/Controllers/RedSquareKeyroxController/RedSquareKeyroxController/RedSquareKeyroxController.cpp b/Controllers/RedSquareKeyroxController/RedSquareKeyroxController/RedSquareKeyroxController.cpp index 165e5e71..052a5c7d 100644 --- a/Controllers/RedSquareKeyroxController/RedSquareKeyroxController/RedSquareKeyroxController.cpp +++ b/Controllers/RedSquareKeyroxController/RedSquareKeyroxController/RedSquareKeyroxController.cpp @@ -1,15 +1,17 @@ -/*---------------------------------------------*\ -| RedSquareKeyroxController.cpp | -| | -| Driver for Red Square Keyrox USB Controller | -| | -| cafeed28 3 Nov 2022 | -\*---------------------------------------------*/ - -#include "LogManager.h" -#include "RedSquareKeyroxController.h" +/*---------------------------------------------------------*\ +| RedSquareKeyroxController.cpp | +| | +| Driver for Red Square Keyrox | +| | +| cafeed28 03 Nov 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include +#include "LogManager.h" +#include "RedSquareKeyroxController.h" using namespace std::chrono_literals; diff --git a/Controllers/RedSquareKeyroxController/RedSquareKeyroxController/RedSquareKeyroxController.h b/Controllers/RedSquareKeyroxController/RedSquareKeyroxController/RedSquareKeyroxController.h index b88ca22e..7acf11ee 100644 --- a/Controllers/RedSquareKeyroxController/RedSquareKeyroxController/RedSquareKeyroxController.h +++ b/Controllers/RedSquareKeyroxController/RedSquareKeyroxController/RedSquareKeyroxController.h @@ -1,15 +1,18 @@ -/*---------------------------------------------*\ -| RedSquareKeyroxController.h | -| | -| Driver for Red Square Keyrox USB Controller | -| | -| cafeed28 3 Nov 2022 | -\*---------------------------------------------*/ +/*---------------------------------------------------------*\ +| RedSquareKeyroxController.h | +| | +| Driver for Red Square Keyrox | +| | +| cafeed28 03 Nov 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #pragma once + #include #include - #include "RGBController.h" #define PACKET_DATA_LENGTH 520 diff --git a/Controllers/RedSquareKeyroxController/RedSquareKeyroxControllerDetect.cpp b/Controllers/RedSquareKeyroxController/RedSquareKeyroxControllerDetect.cpp index 21305395..10476569 100644 --- a/Controllers/RedSquareKeyroxController/RedSquareKeyroxControllerDetect.cpp +++ b/Controllers/RedSquareKeyroxController/RedSquareKeyroxControllerDetect.cpp @@ -1,10 +1,21 @@ +/*---------------------------------------------------------*\ +| RedSquareKeyroxControllerDetect.cpp | +| | +| Detector for Red Square Keyrox | +| | +| cafeed28 03 Nov 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + +#include #include "Detector.h" #include "RedSquareKeyroxController.h" #include "RedSquareKeyroxTKLClassicController.h" #include "RGBController.h" #include "RGBController_RedSquareKeyrox.h" #include "RGBController_RedSquareKeyroxTKLClassic.h" -#include /*-----------------------------------------------------*\ | Red Square vendor ID |