good afternoon, i am working on a project that takes input from a usb midi controller on the host port, saves each event to a struct containing type, data1, data2, channel, and timestamp as shown here:
struct MidiEvent {
uint32_t delta_ms;
midi::MidiType type ;
midi::DataByte data1...