From e4fb4f53aec600e5b1d31bcfcff44b7ea59387e6 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Wed, 15 May 2024 11:53:02 -0500 Subject: [PATCH] Update Das Keyboard controller files to new standardized header comment --- .../DasKeyboardController.cpp | 18 ++++++++------- .../DasKeyboardController.h | 23 ++++++++++--------- .../DasKeyboardControllerDetect.cpp | 11 +++++++++ .../RGBController_DasKeyboard.cpp | 18 ++++++++------- .../RGBController_DasKeyboard.h | 19 +++++++-------- 5 files changed, 53 insertions(+), 36 deletions(-) diff --git a/Controllers/DasKeyboardController/DasKeyboardController.cpp b/Controllers/DasKeyboardController/DasKeyboardController.cpp index ee452c81..1163dac2 100644 --- a/Controllers/DasKeyboardController/DasKeyboardController.cpp +++ b/Controllers/DasKeyboardController/DasKeyboardController.cpp @@ -1,11 +1,13 @@ -/*-----------------------------------------*\ -| DasKeyboardController.cpp | -| | -| Driver for Das Keyboard RGB keyboard | -| lighting controller | -| | -| Frank Niessen (denk_mal) 12/16/2020 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| DasKeyboardController.cpp | +| | +| Driver for Das Keyboard keyboard | +| | +| Frank Niessen (denk_mal) 16 Dec 2020 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include #include "DasKeyboardController.h" diff --git a/Controllers/DasKeyboardController/DasKeyboardController.h b/Controllers/DasKeyboardController/DasKeyboardController.h index 72bdc1bb..39839cef 100644 --- a/Controllers/DasKeyboardController/DasKeyboardController.h +++ b/Controllers/DasKeyboardController/DasKeyboardController.h @@ -1,18 +1,19 @@ -/*-----------------------------------------*\ -| DasKeyboardController.h | -| | -| Definitions and types for Das Keyboard | -| RGB keyboard lighting controller | -| | -| Frank Niessen (denk_mal) 12/16/2020 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| DasKeyboardController.h | +| | +| Driver for Das Keyboard keyboard | +| | +| Frank Niessen (denk_mal) 16 Dec 2020 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ -#include "RGBController.h" +#pragma once #include #include - -#pragma once +#include "RGBController.h" class DasKeyboardController { diff --git a/Controllers/DasKeyboardController/DasKeyboardControllerDetect.cpp b/Controllers/DasKeyboardController/DasKeyboardControllerDetect.cpp index 3de53f4d..71f7eb5c 100644 --- a/Controllers/DasKeyboardController/DasKeyboardControllerDetect.cpp +++ b/Controllers/DasKeyboardController/DasKeyboardControllerDetect.cpp @@ -1,3 +1,14 @@ +/*---------------------------------------------------------*\ +| DasKeyboardControllerDetect.cpp | +| | +| Detector for Das Keyboard keyboard | +| | +| Frank Niessen (denk_mal) 16 Dec 2020 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + #include "Detector.h" #include "DasKeyboardController.h" #include "RGBController.h" diff --git a/Controllers/DasKeyboardController/RGBController_DasKeyboard.cpp b/Controllers/DasKeyboardController/RGBController_DasKeyboard.cpp index 77d87e30..4586ff0b 100644 --- a/Controllers/DasKeyboardController/RGBController_DasKeyboard.cpp +++ b/Controllers/DasKeyboardController/RGBController_DasKeyboard.cpp @@ -1,11 +1,13 @@ -/*-----------------------------------------*\ -| RGBController_DasKeyboard.cpp | -| | -| Generic RGB Interface for Das Keyboard | -| RGB keyboard devices | -| | -| Frank Niessen (denk_mal) 12/16/2020 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_DasKeyboard.cpp | +| | +| RGBController for Das Keyboard keyboard | +| | +| Frank Niessen (denk_mal) 16 Dec 2020 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include "RGBControllerKeyNames.h" #include "RGBController_DasKeyboard.h" diff --git a/Controllers/DasKeyboardController/RGBController_DasKeyboard.h b/Controllers/DasKeyboardController/RGBController_DasKeyboard.h index 02b7f5a4..516a588e 100644 --- a/Controllers/DasKeyboardController/RGBController_DasKeyboard.h +++ b/Controllers/DasKeyboardController/RGBController_DasKeyboard.h @@ -1,11 +1,13 @@ -/*-----------------------------------------*\ -| RGBController_DasKeyboard.h | -| | -| Generic RGB Interface for Das Keyboard | -| RGB keyboard devices | -| | -| Frank Niessen (denk_mal) 12/16/2020 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_DasKeyboard.h | +| | +| RGBController for Das Keyboard keyboard | +| | +| Frank Niessen (denk_mal) 16 Dec 2020 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #pragma once @@ -20,7 +22,6 @@ enum DAS_KEYBOARD_MODE_SPECTRUM_CYCLE = 0x14 }; - class RGBController_DasKeyboard : public RGBController { public: