summaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/midi/qmk_midi.h
blob: 819087a405fe00cb143ea9249c6b09c794d24da8 (plain)
1
2
3
4
5
6
7
8
9
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