diff options
author | Robin Gareus <robin@gareus.org> | 2019-10-18 23:40:40 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-10-18 23:40:40 +0200 |
commit | bc363f1258c4d7078c989afb8120a0b8ff386240 (patch) | |
tree | e2180e72b7412a81a9cbf06c0609907693733051 /libs/ardour/port_manager.cc | |
parent | c4d7870c682879a7ddd4fa056ea5dbe3ede98782 (diff) |
Special case "Virtual Keyboard" to be available as external input
Diffstat (limited to 'libs/ardour/port_manager.cc')
-rw-r--r-- | libs/ardour/port_manager.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/port_manager.cc b/libs/ardour/port_manager.cc index b329aeca11..2678740131 100644 --- a/libs/ardour/port_manager.cc +++ b/libs/ardour/port_manager.cc @@ -1262,7 +1262,8 @@ PortManager::fill_midi_port_info_locked () for (vector<string>::iterator p = ports.begin(); p != ports.end(); ++p) { - if (port_is_mine (*p)) { + /* ugly hack, ideally we'd use a port-flag, or at vkbd_output_port()->name() */ + if (port_is_mine (*p) && *p != _backend->my_name() + ":" + _(Virtual Keyboard")) { continue; } |