18 #ifndef mackie_types_h
19 #define mackie_types_h
LedState & operator=(state_t s)
bool operator!=(const LedState &other) const
bool operator==(const LedState &other) const
std::ostream & operator<<(std::ostream &, const SurfacePort &port)
float pos
For faders. Between 0 and 1.
ControlState(LedState ls)
int sign
For pots. Sign. Either -1 or 1;.
unsigned int ticks
For pots. Unsigned number of ticks. Usually between 1 and 16.
ControlState(ButtonState bs)
ControlState(float flt, unsigned int tcks)
float delta
For pots. Signed value of total movement. Between 0 and 1.
ControlState(LedState ls, float flt)