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

Method getRumble

src/XInput.cpp:413–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413uint16_t XInputController::getRumble() const {
414 return rumble[RumbleLeft.bufferIndex] << 8 | rumble[RumbleRight.bufferIndex];
415}
416
417uint8_t XInputController::getRumbleLeft() const {
418 return rumble[RumbleLeft.bufferIndex];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected