We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 140a6e9 commit a780ca7Copy full SHA for a780ca7
1 file changed
src/XInput.h
@@ -131,13 +131,15 @@ class XInputGamepad {
131
void printDebug(Print& output = Serial) const;
132
133
private:
134
+ // Sent Data
135
uint8_t tx[20]; // USB transmit data
136
boolean newData; // Flag for tx data changed
137
- RecvCallbackType recvCallback;
138
+ // Received Data
139
uint8_t player; // Gamepad player #, buffered
140
uint8_t rumble[2]; // Rumble motor data in, buffered
141
XInputLEDPattern ledPattern; // LED pattern data in, buffered
142
+ RecvCallbackType recvCallback; // User-set callback for received data
143
144
void parseLED(uint8_t leds); // Parse LED data and set pattern/player data
145
0 commit comments