We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19c694c commit cfb534fCopy full SHA for cfb534f
1 file changed
src/XInput.cpp
@@ -27,7 +27,7 @@
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"
+#warning "USB type is not set to XInput in boards menu! Using debug print - board will not behave as an XInput device"
31
#endif
32
33
#if defined(TEENSYDUINO)
@@ -331,7 +331,6 @@ int XInputGamepad::send() {
331
newData = false;
332
return XInputUSB::send(tx, sizeof(tx));
333
#else
334
- #warning "Using debug output for XInput send()"
335
printDebug();
336
return sizeof(tx);
337
0 commit comments