mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-04 06:11:07 -04:00
Update Philips Hue controller files to new standardized header comment
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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 |
|
||||
\*-------------------------------------------------*/
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user