mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-02-24 02:06:44 -05:00
Update Razer controller files to new standardized header comment
This commit is contained in:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user