Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
TeensyUSBTypes.hpp
Go to the documentation of this file.
1#pragma once
2
3#ifdef TEENSYDUINO
4
5#if defined(USB_MIDI_SERIAL) || defined(USB_MIDI4_SERIAL) || \
6 defined(USB_MIDI16_SERIAL) || defined(USB_MIDI_AUDIO_SERIAL) || \
7 defined(USB_MIDI16_AUDIO_SERIAL) || defined(USB_MIDI) || \
8 defined(USB_MIDI4) || defined(USB_MIDI16) || defined(USB_EVERYTHING)
9#define TEENSY_MIDIUSB_ENABLED
10#endif
11
12#if defined(USB_MIDI_SERIAL) || defined(USB_MIDI4_SERIAL) || \
13 defined(USB_MIDI16_SERIAL) || defined(USB_MIDI_AUDIO_SERIAL) || \
14 defined(USB_MIDI16_AUDIO_SERIAL) || defined(USB_SERIAL_HID) || \
15 defined(USB_EVERYTHING) || defined(USB_SERIAL)
16#define TEENSY_SERIALUSB_ENABLED
17#endif
18
19#if defined(USB_MIDI_AUDIO_SERIAL) || defined(USB_MIDI16_AUDIO_SERIAL) || \
20 defined(USB_AUDIO) || defined(USB_EVERYTHING)
21#define TEENSY_AUDIOUSB_ENABLED
22#endif
23
24#endif