1
0
Fork 0

Move MIDI code out of tmk_core (#19704)

This commit is contained in:
Ryan 2023-01-30 18:47:50 +11:00 committed by GitHub
parent 968cc1fe7b
commit 242b80c63f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 11 additions and 23 deletions

10
quantum/midi/qmk_midi.h Normal file
View file

@ -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