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 74 of file surfaces/us2400/types.h.
|
inline |
Definition at line 76 of file surfaces/us2400/types.h.
|
inline |
Definition at line 78 of file surfaces/us2400/types.h.
|
inline |
Definition at line 81 of file surfaces/us2400/types.h.
|
inline |
Definition at line 82 of file surfaces/us2400/types.h.
|
inline |
Definition at line 83 of file surfaces/us2400/types.h.
|
inline |
Definition at line 84 of file surfaces/us2400/types.h.
ButtonState ArdourSurface::US2400::ControlState::button_state |
Definition at line 99 of file surfaces/us2400/types.h.
float ArdourSurface::US2400::ControlState::delta |
For pots. Signed value of total movement. Between 0 and 1.
Definition at line 93 of file surfaces/us2400/types.h.
LedState ArdourSurface::US2400::ControlState::led_state |
Definition at line 98 of file surfaces/us2400/types.h.
float ArdourSurface::US2400::ControlState::pos |
For faders. Between 0 and 1.
Definition at line 87 of file surfaces/us2400/types.h.
int ArdourSurface::US2400::ControlState::sign |
For pots. Sign. Either -1 or 1;.
Definition at line 90 of file surfaces/us2400/types.h.
unsigned int ArdourSurface::US2400::ControlState::ticks |
For pots. Unsigned number of ticks. Usually between 1 and 16.
Definition at line 96 of file surfaces/us2400/types.h.