Update HyperX mouse controller files to new standardized header comment

This commit is contained in:
Adam Honse
2024-05-24 13:53:48 -05:00
parent 1975c63b71
commit b43f31ebfb
21 changed files with 249 additions and 209 deletions

View File

@@ -1,15 +1,16 @@
/*-----------------------------------------*\
| HyperXPulsefireSurgeController.cpp |
| |
| Driver for HyperX Pulsefire Surge |
| lighting controller |
| |
| Adam Honse (CalcProgrammer1) 7/25/2020 |
\*-----------------------------------------*/
#include "HyperXPulsefireSurgeController.h"
/*---------------------------------------------------------*\
| HyperXPulsefireSurgeController.cpp |
| |
| Driver for HyperX Pulsefire Surge |
| |
| Adam Honse (CalcProgrammer1) 25 Jul 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cstring>
#include "HyperXPulsefireSurgeController.h"
HyperXPulsefireSurgeController::HyperXPulsefireSurgeController(hid_device* dev_handle, const char* path)
{

View File

@@ -1,18 +1,19 @@
/*-----------------------------------------*\
| HyperXPulsefireSurgeController.h |
| |
| Definitions and types for HyperX |
| Pulsefire Surge lighting controller |
| |
| Adam Honse (CalcProgrammer1) 7/25/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| HyperXPulsefireSurgeController.h |
| |
| Driver for HyperX Pulsefire Surge |
| |
| Adam Honse (CalcProgrammer1) 25 Jul 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_HyperXPulsefireSurge.cpp |
| |
| Generic RGB Interface for HyperX |
| Pulsefire Surge |
| |
| Adam Honse (CalcProgrammer1) 2/2/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_HyperXPulsefireSurge.cpp |
| |
| RGBController for HyperX Pulsefire Surge |
| |
| Adam Honse (CalcProgrammer1) 25 Jul 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_HyperXPulsefireSurge.h"

View File

@@ -1,15 +1,17 @@
/*-----------------------------------------*\
| RGBController_HyperXPulsefireSurge.h |
| |
| Generic RGB Interface for HyperX |
| Pulsefire Surge |
| |
| Adam Honse (CalcProgrammer1) 7/25/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_HyperXPulsefireSurge.h |
| |
| RGBController for HyperX Pulsefire Surge |
| |
| Adam Honse (CalcProgrammer1) 25 Jul 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <chrono>
#include <chrono>
#include "RGBController.h"
#include "HyperXPulsefireSurgeController.h"
@@ -22,7 +24,7 @@ public:
void SetupZones();
void ResizeZone(int zone, int new_size);
void DeviceUpdateLEDs();
void UpdateZoneLEDs(int zone);
void UpdateSingleLED(int led);
@@ -30,7 +32,7 @@ public:
void DeviceUpdateMode();
void KeepaliveThread();
private:
HyperXPulsefireSurgeController* controller;
std::thread* keepalive_thread;