We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b78d343 commit e311c2fCopy full SHA for e311c2f
1 file changed
src/XInput.cpp
@@ -26,6 +26,10 @@
26
27
#include "XInput.h"
28
29
+#ifndef USB_XINPUT
30
+#warning "USB type is not set to XInput in boards menu! Board will not behave as an XInput device"
31
+#endif
32
+
33
// Teensy 3.1-3.2: __MK20DX256__
34
// Teensy LC: __MKL26Z64__
35
// Teensy 3.5: __MK64FX512__
@@ -34,11 +38,6 @@
38
#if defined(TEENSYDUINO) && \
39
(defined(__MK20DX256__) || defined(__MKL26Z64__) || \
36
40
defined(__MK64FX512__) || defined(__MK66FX1M0__))
37
-
- #ifndef USB_XINPUT
- #warning "USB type is not set to XInput in boards menu! Board will not behave as an XInput device"
- #endif
41
42
#else
43
#warning "Not a supported board! Must use Teensy 3.1/3.2, LC, 3.5, or 3.6"
44
#endif
0 commit comments