Push2: implement MIDI port probing, auto-enable

This commit is contained in:
Robin Gareus 2023-05-03 15:46:10 +02:00
parent da9ed129e3
commit 336f51e1f0
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 49 additions and 2 deletions

View file

@ -297,6 +297,8 @@ class Push2 : public MIDISurface
~Push2 ();
static bool available ();
static bool match_usb (uint16_t, uint16_t);
static bool probe (std::string&, std::string&);
std::string input_port_name () const;
std::string output_port_name () const;