8template <
class Callback = EmptySelectorCallback>
#define BEGIN_CS_NAMESPACE
void set(setting_t newSetting)
Select the given selection.
void update() override
Update this updatable.
Selectable< N > & selectable
void begin() override
Initialize this updatable.
AH::Button::State getButtonState() const
void update() override
Update this updatable.
void begin() override
Initialize this updatable.
GenericSwitchSelector(Selectable< 2 > &selectable, const Callback &callback, const AH::Button &button)
Selector that selects one of two settings, based on the state of a toggle or momentary switch.
SwitchSelector(Selectable< 2 > &selectable, const AH::Button &button)