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