keychron_qmk_firmware/quantum/midi/qmk_midi.h

11 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