Update NZXT Hue 2 controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-06-01 20:26:29 -05:00
parent a862af2c80
commit e0fa66a82a
5 changed files with 53 additions and 26 deletions

View file

@ -1,16 +1,20 @@
/*---------------------------------------------------------*\
| Processing Code for NZXT Hue 2 |
| NZXTHue2Controller.cpp |
| |
| Adam Honse (calcprogrammer1@gmail.com), 12/29/2016 |
| Driver for NZXT Hue 2 |
| |
| Adam Honse (calcprogrammer1@gmail.com) 29 Dec 2019 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "NZXTHue2Controller.h"
#include "LogManager.h"
#include <cstring>
#include <fstream>
#include <iostream>
#include <string>
#include <cstring>
#include "NZXTHue2Controller.h"
#include "LogManager.h"
NZXTHue2Controller::NZXTHue2Controller(hid_device* dev_handle, unsigned int rgb_channels, unsigned int fan_channels, const char* path)
{

View file

@ -1,15 +1,20 @@
/*---------------------------------------------------------*\
| Definitions for NZXT Hue 2 |
| NZXTHue2Controller.h |
| |
| Adam Honse (calcprogrammer1@gmail.com), 12/29/2016 |
| Driver for NZXT Hue 2 |
| |
| Adam Honse (calcprogrammer1@gmail.com) 29 Dec 2019 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController.h"
#pragma once
#include <string>
#include <vector>
#include <hidapi/hidapi.h>
#pragma once
#include "RGBController.h"
enum
{

View file

@ -1,8 +1,19 @@
/*---------------------------------------------------------*\
| NZXTHue2ControllerDetect.cpp |
| |
| Detector for NZXT Hue 2 |
| |
| Adam Honse (calcprogrammer1@gmail.com) 29 Dec 2019 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <hidapi/hidapi.h>
#include "Detector.h"
#include "NZXTHue2Controller.h"
#include "RGBController.h"
#include "RGBController_NZXTHue2.h"
#include <hidapi/hidapi.h>
#define NZXT_VID 0x1E71
#define NZXT_HUE_2_PID 0x2001

View file

@ -1,10 +1,13 @@
/*-----------------------------------------*\
| RGBController_NZXTHue2.cpp |
| |
| Generic RGB Interface for NZXT Hue 2 |
| |
| Adam Honse (CalcProgrammer1) 12/29/2019 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_NZXTHue2.cpp |
| |
| RGBController for NZXT Hue 2 |
| |
| Adam Honse (calcprogrammer1@gmail.com) 29 Dec 2019 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_NZXTHue2.h"

View file

@ -1,12 +1,16 @@
/*-----------------------------------------*\
| RGBController_NZXTHue2.h |
| |
| Generic RGB Interface for NZXT Hue 2 |
| |
| Adam Honse (CalcProgrammer1) 12/29/2019 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_NZXTHue2.h |
| |
| RGBController for NZXT Hue 2 |
| |
| Adam Honse (calcprogrammer1@gmail.com) 29 Dec 2019 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
#include "NZXTHue2Controller.h"