]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - quantum/keymap_midi.h
Merge remote-tracking branch 'origin/master'
[qmk_firmware.git] / quantum / keymap_midi.h
index c5917f884e70c4afc5fbc5c91aaf9b3bbdbf4a4e..795f26380ed8fb5eb53ac5b2999e358769cb1f09 100644 (file)
@@ -18,7 +18,9 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #ifndef KEYMAP_MIDI_H
 #define KEYMAP_MIDI_H
 
-#define MIDI 0x6000
+#include <lufa.h>
+
+#define MIDI(n) ((n) | 0x6000)
 #define MIDI12 0x6000, 0x6000, 0x6000, 0x6000, 0x6000, 0x6000, 0x6000, 0x6000, 0x6000, 0x6000, 0x6000, 0x6000
 
 #define CHNL(note, channel) (note + (channel << 8))