Update Philips Hue controller files to new standardized header comment

This commit is contained in:
Adam Honse
2024-06-03 11:43:51 -05:00
parent 59d1c07075
commit 2fd4cfb2a8
9 changed files with 90 additions and 50 deletions

View File

@@ -1,7 +1,12 @@
/*---------------------------------------------------------*\
| Driver for Philips Hue |
| PhilipsHueController.cpp |
| |
| Adam Honse (calcprogrammer1@gmail.com), 9/15/2020 |
| Driver for Philips Hue |
| |
| Adam Honse (calcprogrammer1@gmail.com) 15 Sep 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "PhilipsHueController.h"
@@ -64,7 +69,7 @@ void PhilipsHueController::SetColor(unsigned char red, unsigned char green, unsi
}
}
dark = true;
dark = true;
}
else
{

View File

@@ -1,15 +1,19 @@
/*---------------------------------------------------------*\
| Definitions for Philips Hue |
| PhilipsHueController.h |
| |
| Adam Honse (calcprogrammer1@gmail.com), 9/15/2020 |
| Driver for Philips Hue |
| |
| Adam Honse (calcprogrammer1@gmail.com) 15 Sep 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "HueDeviceTypes.h"
#pragma once
#include <string>
#include <vector>
#pragma once
#include "HueDeviceTypes.h"
class PhilipsHueController
{

View File

@@ -1,3 +1,14 @@
/*---------------------------------------------------------*\
| PhilipsHueControllerDetect.cpp |
| |
| Detector for Philips Hue |
| |
| Adam Honse (calcprogrammer1@gmail.com) 15 Sep 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "Bridge.h"
#include "HueDeviceTypes.h"

View File

@@ -1,7 +1,12 @@
/*---------------------------------------------------------*\
| Driver for Philips Hue Entertainment Mode |
| PhilipsHueEntertainmentController.cpp |
| |
| Adam Honse (calcprogrammer1@gmail.com), 11/6/2020 |
| Detector for Philips Hue Entertainment Mode |
| |
| Adam Honse (calcprogrammer1@gmail.com) 06 Nov 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController.h"
@@ -81,7 +86,7 @@ void PhilipsHueEntertainmentController::Connect()
| Create Entertainment Mode from bridge and group |
\*-------------------------------------------------*/
entertainment = new hueplusplus::EntertainmentMode(bridge, group);
/*-------------------------------------------------*\
| Connect Hue Entertainment Mode |
\*-------------------------------------------------*/

View File

@@ -1,19 +1,23 @@
/*---------------------------------------------------------*\
| Definitions for Philips Hue Entertainment Mode |
| PhilipsHueEntertainmentController.h |
| |
| Adam Honse (calcprogrammer1@gmail.com), 11/6/2020 |
| Detector for Philips Hue Entertainment Mode |
| |
| Adam Honse (calcprogrammer1@gmail.com) 06 Nov 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <string>
#include <vector>
#include "Bridge.h"
#include "EntertainmentMode.h"
#include "Group.h"
#include "RGBController.h"
#include <string>
#include <vector>
#pragma once
#define HUE_ENTERTAINMENT_HEADER_SIZE 16
#define HUE_ENTERTAINMENT_LIGHT_SIZE 9

View File

@@ -1,10 +1,13 @@
/*-----------------------------------------*\
| RGBController_PhilipsHue.cpp |
| |
| Generic RGB Interface for Philips Hue |
| |
| Adam Honse (CalcProgrammer1) 9/15/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_PhilipsHue.cpp |
| |
| RGBController for Philips Hue |
| |
| Adam Honse (calcprogrammer1@gmail.com) 15 Sep 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_PhilipsHue.h"

View File

@@ -1,12 +1,16 @@
/*-----------------------------------------*\
| RGBController_PhilipsHue.h |
| |
| Generic RGB Interface for Philips Hue |
| |
| Adam Honse (CalcProgrammer1) 9/15/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_PhilipsHue.h |
| |
| RGBController for Philips Hue |
| |
| Adam Honse (calcprogrammer1@gmail.com) 15 Sep 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
#include "PhilipsHueController.h"

View File

@@ -1,11 +1,13 @@
/*-----------------------------------------*\
| RGBController_PhilipsHueEntertainment.cpp|
| |
| Generic RGB Interface for Philips Hue |
| Entertainment Mode |
| |
| Adam Honse (CalcProgrammer1) 11/7/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_PhilipsHueEntertainment.cpp |
| |
| RGBController for Philips Hue Entertainment Mode |
| |
| Adam Honse (calcprogrammer1@gmail.com) 07 Nov 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_PhilipsHueEntertainment.h"
#include "ResourceManager.h"

View File

@@ -1,18 +1,20 @@
/*-----------------------------------------*\
| RGBController_PhilipsHueEntertainment.h |
| |
| Generic RGB Interface for Philips Hue |
| Entertainment Mode |
| |
| Adam Honse (CalcProgrammer1) 11/7/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_PhilipsHueEntertainment.h |
| |
| RGBController for Philips Hue Entertainment Mode |
| |
| Adam Honse (calcprogrammer1@gmail.com) 07 Nov 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
#include "PhilipsHueEntertainmentController.h"
#include <atomic>
#include <thread>
#include "RGBController.h"
#include "PhilipsHueEntertainmentController.h"
class RGBController_PhilipsHueEntertainment : public RGBController
{