1 #ifndef ardour_surface_console1_button_h
2 #define ardour_surface_console1_button_h
4 #include "ardour/debug.h"
45 std::function<
void (uint32_t)>
action,
69 buf[2] = onoff ? 127 : 0;
84 std::function<void (uint32_t)>
action;
96 std::function<
void (uint32_t)>
action,
144 std::function<
void ()>
action,
173 std::function<
void (uint32_t)>
action,
MultiStateButtonMap multi_buttons
virtual ControllerType get_type()
Controller(Console1 *console1, ControllerID id)
std::function< void(uint32_t)> action
std::function< void(uint32_t val)> plugin_shift_action
ControllerType get_type()
void set_plugin_action(std::function< void(uint32_t)> action)
std::function< void(uint32_t val)> plugin_action
Encoder(Console1 *console1, ControllerID id, std::function< void(uint32_t)> action, std::function< void(uint32_t)> shift_action=0, std::function< void(uint32_t)> plugin_action=0, std::function< void(uint32_t)> plugin_shift_action=0)
void set_plugin_shift_action(std::function< void(uint32_t)> action)
virtual void set_value(uint32_t value)
PBD::Signal< void(uint32_t)> * plugin_signal
std::function< void(uint32_t val)> shift_action
std::function< void()> action
virtual void set_value(uint32_t value)
ControllerType get_type()
Meter(Console1 *console1, ControllerID id, std::function< void()> action, std::function< void()> shift_action=0)
std::function< void()> shift_action
void write(const MidiByteArray &)