add a shadow port for the Push 2 port, to allow us to filter pads (note on/off) to other parts of Ardour
This commit is contained in:
@@ -145,6 +145,8 @@ Push2::open ()
|
||||
_input_port = boost::dynamic_pointer_cast<AsyncMIDIPort>(_async_in).get();
|
||||
_output_port = boost::dynamic_pointer_cast<AsyncMIDIPort>(_async_out).get();
|
||||
|
||||
boost::dynamic_pointer_cast<AsyncMIDIPort> (_async_in)->add_shadow_port (string_compose (_("%1 Pads"), X_("Push 2")));
|
||||
|
||||
connect_to_parser ();
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user