#include <push2.h>
|  | 
|  | Button (ButtonID bb, uint8_t ex) | 
|  | 
|  | Button (ButtonID bb, uint8_t ex, void(Push2::*press)()) | 
|  | 
|  | Button (ButtonID bb, uint8_t ex, void(Push2::*press)(), void(Push2::*release)()) | 
|  | 
|  | Button (ButtonID bb, uint8_t ex, void(Push2::*press)(), void(Push2::*release)(), void(Push2::*long_press)()) | 
|  | 
| MidiByteArray | state_msg () const | 
|  | 
| int | controller_number () const | 
|  | 
|  | LED (uint8_t e) | 
|  | 
| virtual | ~LED () | 
|  | 
| uint8_t | extra () const | 
|  | 
| uint8_t | color_index () const | 
|  | 
| State | state () const | 
|  | 
| void | set_color (uint8_t color_index) | 
|  | 
| void | set_state (State state) | 
|  | 
|  | 
| enum | State { NoTransition
, OneShot24th
, OneShot16th
, OneShot8th
,
 OneShot4th
, OneShot2th
, Pulsing24th
, Pulsing16th
,
 Pulsing8th
, Pulsing4th
, Pulsing2th
, Blinking24th
,
 Blinking16th
, Blinking8th
, Blinking4th
, Blinking2th
 }
 | 
|  | 
| enum | Colors { Black = 0
, Red = 127
, Green = 126
, Blue = 125
,
 DarkGray = 124
, LightGray = 123
, White = 122
 }
 | 
|  | 
| uint8_t | _extra | 
|  | 
| uint8_t | _color_index | 
|  | 
| State | _state | 
|  | 
Definition at line 197 of file push2.h.
 
◆ Button() [1/4]
  
  | 
        
          | ArdourSurface::Push2::Button::Button | ( | ButtonID | bb, |  
          |  |  | uint8_t | ex |  
          |  | ) |  |  |  | inline | 
 
 
◆ Button() [2/4]
  
  | 
        
          | ArdourSurface::Push2::Button::Button | ( | ButtonID | bb, |  
          |  |  | uint8_t | ex, |  
          |  |  | void(Push2::*)() | press |  
          |  | ) |  |  |  | inline | 
 
 
◆ Button() [3/4]
  
  | 
        
          | ArdourSurface::Push2::Button::Button | ( | ButtonID | bb, |  
          |  |  | uint8_t | ex, |  
          |  |  | void(Push2::*)() | press, |  
          |  |  | void(Push2::*)() | release |  
          |  | ) |  |  |  | inline | 
 
 
◆ Button() [4/4]
  
  | 
        
          | ArdourSurface::Push2::Button::Button | ( | ButtonID | bb, |  
          |  |  | uint8_t | ex, |  
          |  |  | void(Push2::*)() | press, |  
          |  |  | void(Push2::*)() | release, |  
          |  |  | void(Push2::*)() | long_press |  
          |  | ) |  |  |  | inline | 
 
 
◆ controller_number()
  
  | 
        
          | int ArdourSurface::Push2::Button::controller_number | ( |  | ) | const |  | inline | 
 
 
◆ state_msg()
◆ id
      
        
          | ButtonID ArdourSurface::Push2::Button::id | 
      
 
 
◆ long_press_method
      
        
          | void(Push2::* ArdourSurface::Push2::Button::long_press_method) () | 
      
 
 
◆ press_method
      
        
          | void(Push2::* ArdourSurface::Push2::Button::press_method) () | 
      
 
 
◆ release_method
      
        
          | void(Push2::* ArdourSurface::Push2::Button::release_method) () | 
      
 
 
◆ timeout_connection
      
        
          | sigc::connection ArdourSurface::Push2::Button::timeout_connection | 
      
 
 
The documentation for this struct was generated from the following file: