mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-19 12:06:37 -04:00
Update HyperX keyboard controller files to new standardized header comment
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user