mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 23:25:43 +01:00
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:
parent
8a06e6735d
commit
62d2d86b88
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue