#include "midi_byte_array.h"
#include "types.h"
+namespace ArdourSurface {
+
namespace Mackie {
class Led : public Control
{
public:
+ static const int FaderTouch;
+ static const int Timecode;
+ static const int Beats;
+ static const int RudeSolo;
+ static const int RelayClick;
+
Led (int id, std::string name, Group & group)
: Control (id, name, group)
, state (off)
}
Led & led() { return *this; }
- type_t type() const { return type_led; }
MidiByteArray set_state (LedState);
+
+ MidiByteArray zero() { return set_state (off); }
static Control* factory (Surface&, int id, const char*, Group&);
LedState state;
};
+}
}
#endif /* __ardour_mackie_control_protocol_led_h__ */