We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a203b7b commit 8e9cce5Copy full SHA for 8e9cce5
1 file changed
examples/WiiClassicController/WiiClassicController.ino
@@ -76,8 +76,9 @@ void loop() {
76
// XInput.setButton(BUTTON_R3, classic.buttonZR()); // but you can uncomment these to check that they work
77
}
78
else { // Data is bad :(
79
- XInput.releaseAll();
80
- classic.reconnect();
+ XInput.releaseAll(); // clear set inputs
+ classic.connect(); // attempt to reconnect
81
+ delay(1000);
82
83
84
XInput.send();
0 commit comments