Update NZXT Hue 1 controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-06-01 20:17:46 -05:00
parent ffe99f0310
commit a862af2c80
5 changed files with 51 additions and 23 deletions

View file

@ -1,11 +1,16 @@
/*---------------------------------------------------------*\
| Processing Code for NZXT Hue 1 (Smart Device V1) |
| NZXTHue1Controller.cpp |
| |
| Adam Honse (calcprogrammer1@gmail.com), 4/16/2023 |
| Driver for NZXT Hue 1 (Smart Device V1) |
| |
| Adam Honse (calcprogrammer1@gmail.com) 16 Apr 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "NZXTHue1Controller.h"
#include <cstring>
#include "NZXTHue1Controller.h"
NZXTHue1Controller::NZXTHue1Controller(hid_device* dev_handle, unsigned int /*fan_channels*/, const char* path)
{

View file

@ -1,14 +1,19 @@
/*---------------------------------------------------------*\
| Definitions for NZXT Hue 1 (Smart Device V1) |
| NZXTHue1Controller.h |
| |
| Adam Honse (calcprogrammer1@gmail.com), 4/16/2023 |
| Driver for NZXT Hue 1 (Smart Device V1) |
| |
| Adam Honse (calcprogrammer1@gmail.com) 16 Apr 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController.h"
#include <hidapi/hidapi.h>
#pragma once
#include <hidapi/hidapi.h>
#include "RGBController.h"
enum
{
HUE_1_ACCESSORY_STRIP = 0x00, /* NZXT Hue+ LED Strip (10 LEDs)*/

View file

@ -1,8 +1,19 @@
/*---------------------------------------------------------*\
| NZXTHue1ControllerDetect.cpp |
| |
| Detector for NZXT Hue 1 (Smart Device V1) |
| |
| Adam Honse (calcprogrammer1@gmail.com) 16 Apr 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <hidapi/hidapi.h>
#include "Detector.h"
#include "NZXTHue1Controller.h"
#include "RGBController.h"
#include "RGBController_NZXTHue1.h"
#include <hidapi/hidapi.h>
/*-----------------------------------------------------*\
| NZXT USB IDs |

View file

@ -1,10 +1,13 @@
/*-----------------------------------------*\
| RGBController_NZXTHue1.cpp |
| |
| Generic RGB Interface for NZXT Hue1 |
| |
| Adam Honse (CalcProgrammer1) 4/16/2023 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_NZXTHue1.cpp |
| |
| RGBController for NZXT Hue 1 (Smart Device V1) |
| |
| Adam Honse (calcprogrammer1@gmail.com) 16 Apr 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_NZXTHue1.h"

View file

@ -1,12 +1,16 @@
/*-----------------------------------------*\
| RGBController_NZXTHue1.h |
| |
| Generic RGB Interface for NZXT Hue+ |
| |
| Adam Honse (CalcProgrammer1) 6/20/2019 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_NZXTHue1.h |
| |
| RGBController for NZXT Hue 1 (Smart Device V1) |
| |
| Adam Honse (calcprogrammer1@gmail.com) 16 Apr 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
#include "NZXTHue1Controller.h"