Update Razer controller files to new standardized header comment

This commit is contained in:
Adam Honse committed 2024-06-07 11:27:32 -05:00
1 parent 16bc33c18a
commit d2d342ade7
6 files changed
+69 -36

No files matched your search

@@ -1,3 +1,14 @@
/*---------------------------------------------------------*\
| RGBController_Razer.cpp |
| |
| RGBController for Razer devices |
| |
| Adam Honse (CalcProgrammer1) 22 Jan 2021 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_Razer.h"
#include "RazerDevices.h"
#include "LogManager.h"
@@ -1,12 +1,16 @@
/*-----------------------------------------*\
| RGBController_Razer.h |
| |
| Generic RGB Interface for Razer devices |
| |
| Adam Honse (CalcProgrammer1) 1/22/2021 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_Razer.h |
| |
| RGBController for Razer devices |
| |
| Adam Honse (CalcProgrammer1) 22 Jan 2021 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
#include "RazerController.h"
@@ -1,7 +1,17 @@
#include "RGBController_RazerAddressable.h"
#include "RazerDevices.h"
/*---------------------------------------------------------*\
| RGBController_RazerAddressable.cpp |
| |
| RGBController for Razer ARGB Controller |
| |
| Adam Honse (CalcProgrammer1) 11 Apr 2021 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <string.h>
#include "RGBController_RazerAddressable.h"
#include "RazerDevices.h"
/**------------------------------------------------------------------*\
@name Razer ARGB
@@ -1,12 +1,16 @@
/*-----------------------------------------*\
| RGBController_RazerAddressable.h |
| |
| Generic RGB Interface for Razer devices |
| |
| Adam Honse (CalcProgrammer1) 4/11/2021 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_RazerAddressable.h |
| |
| RGBController for Razer ARGB Controller |
| |
| Adam Honse (CalcProgrammer1) 11 Apr 2021 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
#include "RazerController.h"
@@ -30,7 +34,7 @@ public:
void SetupZones();
void ResizeZone(int zone, int new_size);
void DeviceUpdateLEDs();
void UpdateZoneLEDs(int zone);
void UpdateSingleLED(int led);
@@ -1,17 +1,19 @@
/*-----------------------------------------*\
| RazerController.cpp |
| |
| Driver for Razer devices |
| |
| Adam Honse (CalcProgrammer1) 1/22/2021 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RazerController.cpp |
| |
| Driver for Razer devices |
| |
| Adam Honse (CalcProgrammer1) 22 Jan 2021 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <string.h>
#include "RazerController.h"
#include "RazerDevices.h"
#include "LogManager.h"
#include <string.h>
using namespace std::chrono_literals;
RazerController::RazerController(hid_device* dev_handle, hid_device* dev_argb_handle, const char* path, unsigned short pid, std::string dev_name)
@@ -1,17 +1,19 @@
/*-----------------------------------------*\
| RazerController.h |
| |
| Definitions and types for Razer devices |
| |
| Adam Honse (CalcProgrammer1) 1/22/2021 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RazerController.h |
| |
| Driver for Razer devices |
| |
| Adam Honse (CalcProgrammer1) 22 Jan 2021 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController.h"
#pragma once
#include <string>
#include <hidapi/hidapi.h>
#pragma once
#include "RGBController.h"
/*---------------------------------------------------------*\
| Struct packing macro for GCC and MSVC |