summaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/midi/qmk_midi.h
blob: 0a348d5fde6426ac779c9caf1678d0e9b8826186 (plain)
1
2
3
4
5
6
7
8
9
#pragma once

#ifdef MIDI_ENABLE
#    include "midi.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