MCPcopy Create free account
hub / github.com/dmadison/ArduinoXInput / XInputController

Method XInputController

src/XInput.cpp:199–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197// --------------------------------------------------------
198
199XInputController::XInputController() :
200 tx(), rumble() // Zero initialize arrays
201{
202 reset();
203#ifdef USB_XINPUT
204 XInputUSB::setRecvCallback(XInputLib_Receive_Callback);
205 while(this->receive()); // flush USB OUT buffer
206#endif
207}
208
209void XInputController::begin() {
210 // Empty for now

Callers

nothing calls this directly

Calls 1

receiveMethod · 0.95

Tested by

no test coverage detected