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

Method setDpad

src/XInput.cpp:238–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236}
237
238void XInputController::setDpad(XInputControl pad, boolean state) {
239 setButton(pad, state);
240}
241
242void XInputController::setDpad(boolean up, boolean down, boolean left, boolean right, boolean useSOCD) {
243 // Simultaneous Opposite Cardinal Directions (SOCD) Cleaner

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected