Update HyperX keyboard controller files to new standardized header comment

This commit is contained in:
Adam Honse
2024-05-19 19:53:45 -05:00
parent af830e5b21
commit 080e40c4d4
25 changed files with 289 additions and 245 deletions

View File

@@ -1,15 +1,16 @@
/*-----------------------------------------*\
| HyperXAlloyFPSController.cpp |
| |
| Driver for HyperX Alloy FPS Keyboard |
| lighting controller |
| |
| Adam Honse (CalcProgrammer1) 1/30/2020 |
\*-----------------------------------------*/
#include "HyperXAlloyFPSController.h"
/*---------------------------------------------------------*\
| HyperXAlloyFPSController.cpp |
| |
| Driver for HyperX Alloy FPS keyboard |
| |
| Adam Honse (CalcProgrammer1) 30 Jan 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cstring>
#include "HyperXAlloyFPSController.h"
using namespace std::chrono_literals;

View File

@@ -1,18 +1,19 @@
/*-----------------------------------------*\
| HyperXAlloyFPSController.h |
| |
| Definitions and types for HyperX Alloy |
| Elite Keyboard lighting controller |
| |
| Adam Honse (CalcProgrammer1) 1/30/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| HyperXAlloyFPSController.h |
| |
| Driver for HyperX Alloy FPS keyboard |
| |
| Adam Honse (CalcProgrammer1) 30 Jan 2020 |
| |
| 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"
enum
{

View File

@@ -1,11 +1,13 @@
/*-----------------------------------------*\
| RGBController_HyperXAlloyFPS.cpp |
| |
| Generic RGB Interface for HyperX Alloy |
| FPS Keyboard |
| |
| Adam Honse (CalcProgrammer1) 2/2/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_HyperXAlloyFPS.cpp |
| |
| RGBController for HyperX Alloy FPS keyboard |
| |
| Adam Honse (CalcProgrammer1) 02 Feb 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBControllerKeyNames.h"
#include "RGBController_HyperXAlloyFPS.h"

View File

@@ -1,17 +1,19 @@
/*-----------------------------------------*\
| RGBController_HyperXAlloyFPS.h |
| |
| Generic RGB Interface for HyperX Alloy |
| FPS Keyboard |
| |
| Adam Honse (CalcProgrammer1) 2/2/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_HyperXAlloyFPS.h |
| |
| RGBController for HyperX Alloy FPS keyboard |
| |
| Adam Honse (CalcProgrammer1) 02 Feb 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <atomic>
#include <chrono>
#include <thread>
#include "RGBController.h"
#include "HyperXAlloyFPSController.h"
@@ -24,7 +26,7 @@ public:
void SetupZones();
void ResizeZone(int zone, int new_size);
void DeviceUpdateLEDs();
void UpdateZoneLEDs(int zone);
void UpdateSingleLED(int led);
@@ -32,7 +34,7 @@ public:
void DeviceUpdateMode();
void KeepaliveThreadFunction();
private:
HyperXAlloyFPSController* controller;
std::atomic<bool> keepalive_thread_run;