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

Method BuildMask

src/XInput.cpp:71–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69
70private:
71 constexpr static uint8_t BuildMask(uint8_t offset) {
72 return (1 << offset); // Bitmask of bit to flip
73 }
74};
75
76static const XInputMap_Button Map_DpadUp(2, 0);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected