Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
Loading...
Searching...
No Matches
midiUsb.h File Reference

Go to the source code of this file.

Functions

bool usbMidiCallback (midiEvent_t *event)
 Check for and return the next MIDI event from USB.
 
bool installMidiUsb (void)
 Install the MIDI USB driver.
 

Function Documentation

◆ usbMidiCallback()

bool usbMidiCallback ( midiEvent_t * event)

Check for and return the next MIDI event from USB.

Parameters
[out]eventA pointer to an event
Returns
true if an event was written
false if no event was written

◆ installMidiUsb()

bool installMidiUsb ( void )

Install the MIDI USB driver.

Returns
true if the driver was successfully installed
false if the driver installation failed