4#ifndef SRC_SUPLA_CONTROL_GROUP_BUTTON_CONTROL_RGBW_H_
5#define SRC_SUPLA_CONTROL_GROUP_BUTTON_CONTROL_RGBW_H_
7#include <supla/action_handler.h>
8#include <supla/element.h>
9#include <supla/control/lighting_pwm_base.h>
11#define SUPLA_MAX_GROUP_CONTROL_ELEMENTS 10
13namespace Supla::Control {
21 void attach(
Button *button);
26 void handleAction(
int event,
int action)
override;
28 void setButtonControlType(
int rgbwChannelNumber,
29 LightingPwmBase::ButtonControlType type);
37 Button *attachedButton =
nullptr;
39 LightingPwmBase::ButtonControlType
40 controlType[SUPLA_MAX_GROUP_CONTROL_ELEMENTS] =
Definition SuplaDevice.h:167
Definition action_handler.h:8
Definition lighting_pwm_base.h:48
Base class for all elements of SuplaDevice.
Definition element.h:27