Special case "Virtual Keyboard" to be available as external input
This commit is contained in:
@@ -1262,7 +1262,8 @@ PortManager::fill_midi_port_info_locked ()
|
|||||||
|
|
||||||
for (vector<string>::iterator p = ports.begin(); p != ports.end(); ++p) {
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user