Skip to content

Commit a780ca7

Browse files
committed
Comment private library data groups
Just in-case this wasn't obvious already
1 parent 140a6e9 commit a780ca7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/XInput.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,15 @@ class XInputGamepad {
131131
void printDebug(Print& output = Serial) const;
132132

133133
private:
134+
// Sent Data
134135
uint8_t tx[20]; // USB transmit data
135136
boolean newData; // Flag for tx data changed
136137

137-
RecvCallbackType recvCallback;
138+
// Received Data
138139
uint8_t player; // Gamepad player #, buffered
139140
uint8_t rumble[2]; // Rumble motor data in, buffered
140141
XInputLEDPattern ledPattern; // LED pattern data in, buffered
142+
RecvCallbackType recvCallback; // User-set callback for received data
141143

142144
void parseLED(uint8_t leds); // Parse LED data and set pattern/player data
143145

0 commit comments

Comments
 (0)