Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
|
Macros | |
#define | MIDI_CONFIG_TOTAL_LEN (TUD_CONFIG_DESC_LEN + TUD_MIDI_DESC_LEN) |
Enumerations | |
enum | interface_count { ITF_NUM_MIDI = 0 , ITF_NUM_MIDI_STREAMING , ITF_COUNT } |
enum | usb_endpoints { EP_EMPTY = 0 , EPNUM_MIDI } |
Functions | |
bool | usbMidiCallback (midiEvent_t *event) |
Check for and return the next MIDI event from USB. | |
bool | installMidiUsb (void) |
Install the MIDI USB driver. | |
#define MIDI_CONFIG_TOTAL_LEN (TUD_CONFIG_DESC_LEN + TUD_MIDI_DESC_LEN) |
enum interface_count |
enum usb_endpoints |
bool usbMidiCallback | ( | midiEvent_t * | event | ) |
Check for and return the next MIDI event from USB.
[out] | event | A pointer to an event |
bool installMidiUsb | ( | void | ) |
Install the MIDI USB driver.