mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-01-06 06:07:49 -05:00
* Dependency hueplusplus-1.0.0 added from https://github.com/enwi/hueplusplus/releases/tag/v1.0.0 * Dependency mbedtls-2.24.0 added (Windows-only) from https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.24.0
32 lines
846 B
C++
32 lines
846 B
C++
/*-----------------------------------------*\
|
|
| RGBController_PhilipsHue.h |
|
|
| |
|
|
| Generic RGB Interface for Philips Hue |
|
|
| |
|
|
| Adam Honse (CalcProgrammer1) 9/15/2020 |
|
|
\*-----------------------------------------*/
|
|
|
|
#pragma once
|
|
#include "RGBController.h"
|
|
#include "PhilipsHueController.h"
|
|
|
|
class RGBController_PhilipsHue : public RGBController
|
|
{
|
|
public:
|
|
RGBController_PhilipsHue(PhilipsHueController* light_ptr);
|
|
|
|
void SetupZones();
|
|
|
|
void ResizeZone(int zone, int new_size);
|
|
|
|
void DeviceUpdateLEDs();
|
|
void UpdateZoneLEDs(int zone);
|
|
void UpdateSingleLED(int led);
|
|
|
|
void SetCustomMode();
|
|
void DeviceUpdateMode();
|
|
|
|
private:
|
|
PhilipsHueController* light;
|
|
};
|