diff options
Diffstat (limited to 'quantum/midi/qmk_midi.h')
-rw-r--r-- | quantum/midi/qmk_midi.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/quantum/midi/qmk_midi.h b/quantum/midi/qmk_midi.h new file mode 100644 index 0000000000..819087a405 --- /dev/null +++ b/quantum/midi/qmk_midi.h @@ -0,0 +1,10 @@ +#pragma once + +#ifdef MIDI_ENABLE +# include "midi.h" +# include <LUFA/Drivers/USB/USB.h> +extern MidiDevice midi_device; +void setup_midi(void); +void send_midi_packet(MIDI_EventPacket_t* event); +bool recv_midi_packet(MIDI_EventPacket_t* const event); +#endif |