Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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