Fix USB MIDI: use Adafruit TinyUSB Library for proper MIDI support
- Add Adafruit TinyUSB Library dependency - Create tusb_config.h enabling MIDI class - USB device named 'Loopy Foot Controller' - is_connected() check before sending
This commit is contained in:
@@ -40,4 +40,6 @@ public:
|
||||
private:
|
||||
std::function<void(const MidiEvent&)> receive_callback;
|
||||
bool initialized;
|
||||
|
||||
void parse_midi_packet(const uint8_t* buffer, uint32_t size, MidiEvent& event);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user