From d637d0f8503f796c715adb51958955b5cb2a8db0 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Fri, 7 Jun 2024 11:45:43 -0500 Subject: [PATCH] Update Roccat Burst controller files to new standardized header comment --- .../RGBController_RoccatBurst.cpp | 18 +++++++++------- .../RGBController_RoccatBurst.h | 19 ++++++++++------- .../RoccatBurstController.cpp | 21 ++++++++++--------- .../RoccatBurstController.h | 18 +++++++++------- 4 files changed, 43 insertions(+), 33 deletions(-) diff --git a/Controllers/RoccatController/RoccatBurstController/RGBController_RoccatBurst.cpp b/Controllers/RoccatController/RoccatBurstController/RGBController_RoccatBurst.cpp index ca21940c..571471fb 100644 --- a/Controllers/RoccatController/RoccatBurstController/RGBController_RoccatBurst.cpp +++ b/Controllers/RoccatController/RoccatBurstController/RGBController_RoccatBurst.cpp @@ -1,11 +1,13 @@ -/*-----------------------------------------*\ -| RGBController_RoccatBurst.cpp | -| | -| Generic RGB Interface for OpenRGB | -| | -| | -| Morgan Guimard (morg) 6/01/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_RoccatBurst.cpp | +| | +| RGBController for Roccat Burst | +| | +| Morgan Guimard (morg) 01 Jun 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include "RGBController_RoccatBurst.h" diff --git a/Controllers/RoccatController/RoccatBurstController/RGBController_RoccatBurst.h b/Controllers/RoccatController/RoccatBurstController/RGBController_RoccatBurst.h index b5d223bf..76133556 100644 --- a/Controllers/RoccatController/RoccatBurstController/RGBController_RoccatBurst.h +++ b/Controllers/RoccatController/RoccatBurstController/RGBController_RoccatBurst.h @@ -1,13 +1,16 @@ -/*-----------------------------------------*\ -| RGBController_RoccatBurst.h | -| | -| Generic RGB Interface for Roccat Burst | -| Core and Pro Mouse controller | -| | -| Morgan Guimard (morg) 6/01/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_RoccatBurst.h | +| | +| RGBController for Roccat Burst | +| | +| 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 "RoccatBurstController.h" diff --git a/Controllers/RoccatController/RoccatBurstController/RoccatBurstController.cpp b/Controllers/RoccatController/RoccatBurstController/RoccatBurstController.cpp index 27b40f90..40812887 100644 --- a/Controllers/RoccatController/RoccatBurstController/RoccatBurstController.cpp +++ b/Controllers/RoccatController/RoccatBurstController/RoccatBurstController.cpp @@ -1,15 +1,16 @@ -/*-------------------------------------------------------------------*\ -| RoccatBurstController.cpp | -| | -| Driver for Roccat Burst Core and Pro Mouse | -| | -| Morgan Guimard (morg) 2/24/2022 | -| | -\*-------------------------------------------------------------------*/ - -#include "RoccatBurstController.h" +/*---------------------------------------------------------*\ +| RoccatBurstController.cpp | +| | +| Driver for Roccat Burst | +| | +| Morgan Guimard (morg) 24 Feb 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include +#include "RoccatBurstController.h" RoccatBurstController::RoccatBurstController(hid_device* dev_handle, const hid_device_info& info) { diff --git a/Controllers/RoccatController/RoccatBurstController/RoccatBurstController.h b/Controllers/RoccatController/RoccatBurstController/RoccatBurstController.h index 704167f4..bf2fe09f 100644 --- a/Controllers/RoccatController/RoccatBurstController/RoccatBurstController.h +++ b/Controllers/RoccatController/RoccatBurstController/RoccatBurstController.h @@ -1,10 +1,13 @@ -/*-------------------------------------------------------------------*\ -| RoccatBurstController.h | -| | -| Driver for Roccat Burst Core and Pro Mouse | -| | -| Morgan Guimard (morg) 6/01/2022 | -\*-------------------------------------------------------------------*/ +/*---------------------------------------------------------*\ +| RoccatBurstController.h | +| | +| Driver for Roccat Burst | +| | +| Morgan Guimard (morg) 01 Jun 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #pragma once @@ -19,6 +22,7 @@ #define ROCCAT_BURST_DIRECT_MODE_BYTE 0x0B #define ROCCAT_BURST_CORE_NUMBER_OF_LEDS 1 #define ROCCAT_BURST_PRO_NUMBER_OF_LEDS 2 + enum { ROCCAT_BURST_DIRECT_MODE_VALUE = 0x00,