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

Class XInputMap_Rumble

src/XInput.cpp:174–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172// --------------------------------------------------------
173
174struct XInputMap_Rumble {
175 constexpr XInputMap_Rumble(uint8_t rIndex, uint8_t bIndex)
176 : rxIndex(rIndex), bufferIndex(bIndex) {}
177 const uint8_t rxIndex;
178 const uint8_t bufferIndex;
179};
180
181static const XInputMap_Rumble RumbleLeft(3, 0); // Large motor
182static const XInputMap_Rumble RumbleRight(4, 1); // Small motor

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected