skylark-qmk/tmk_core/protocol/midi/qmk_midi.h
2020-06-22 08:43:08 +01:00

10 lines
299 B
C

#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