| 362 | } |
| 363 | |
| 364 | void XInputController::releaseAll() { |
| 365 | const uint8_t offset = 2; // Skip message type and packet size |
| 366 | memset(tx + offset, 0x00, sizeof(tx) - offset); // Clear TX array |
| 367 | newData = true; // Data changed and is unsent |
| 368 | autosend(); |
| 369 | } |
| 370 | |
| 371 | void XInputController::setAutoSend(boolean a) { |
| 372 | autoSendOption = a; |
nothing calls this directly
no outgoing calls
no test coverage detected