19 #ifndef mackie_types_h
20 #define mackie_types_h
25 # define MACKIE_NAMESPACE NS_UF8
27 # define MACKIE_NAMESPACE NS_MCU
53 return state() == other.
state();
56 bool operator != (
const LedState & other)
const
58 return state() != other.
state();
std::ostream & operator<<(std::ostream &, const ControlState &)
bool operator==(const ProcessorSelection &a, const ProcessorSelection &b)
ControlState(float flt, unsigned int tcks)
unsigned int ticks
For pots. Unsigned number of ticks. Usually between 1 and 16.
float delta
For pots. Signed value of total movement. Between 0 and 1.
float pos
For faders. Between 0 and 1.
ControlState(LedState ls, float flt)
ControlState(LedState ls)
int sign
For pots. Sign. Either -1 or 1;.
ControlState(ButtonState bs)