aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/midi/qmk_midi.h
blob: 7282a19d408a12366b44e06820efe174d91fdc42 (plain) (blame)
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