Ardour
9.0-pre0-582-g084a23a80d
|
#include <types.h>
Public Member Functions | |
ControlState () | |
ControlState (LedState ls) | |
ControlState (LedState ls, float flt) | |
ControlState (float flt) | |
ControlState (float flt, unsigned int tcks) | |
ControlState (ButtonState bs) | |
Public Attributes | |
float | pos |
For faders. Between 0 and 1. More... | |
int | sign |
For pots. Sign. Either -1 or 1;. More... | |
float | delta |
For pots. Signed value of total movement. Between 0 and 1. More... | |
unsigned int | ticks |
For pots. Unsigned number of ticks. Usually between 1 and 16. More... | |
LedState | led_state |
ButtonState | button_state |
Contains the state for a control, with some convenience constructors
Definition at line 78 of file surfaces/mackie/types.h.
|
inline |
Definition at line 80 of file surfaces/mackie/types.h.
|
inline |
Definition at line 82 of file surfaces/mackie/types.h.
|
inline |
Definition at line 85 of file surfaces/mackie/types.h.
|
inline |
Definition at line 86 of file surfaces/mackie/types.h.
|
inline |
Definition at line 87 of file surfaces/mackie/types.h.
|
inline |
Definition at line 88 of file surfaces/mackie/types.h.
ButtonState ArdourSurface::NS_MCU::ControlState::button_state |
Definition at line 103 of file surfaces/mackie/types.h.
float ArdourSurface::NS_MCU::ControlState::delta |
For pots. Signed value of total movement. Between 0 and 1.
Definition at line 97 of file surfaces/mackie/types.h.
LedState ArdourSurface::NS_MCU::ControlState::led_state |
Definition at line 102 of file surfaces/mackie/types.h.
float ArdourSurface::NS_MCU::ControlState::pos |
For faders. Between 0 and 1.
Definition at line 91 of file surfaces/mackie/types.h.
int ArdourSurface::NS_MCU::ControlState::sign |
For pots. Sign. Either -1 or 1;.
Definition at line 94 of file surfaces/mackie/types.h.
unsigned int ArdourSurface::NS_MCU::ControlState::ticks |
For pots. Unsigned number of ticks. Usually between 1 and 16.
Definition at line 100 of file surfaces/mackie/types.h.