MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / isPressed

Method isPressed

src/MappedInputManager.cpp:81–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79bool MappedInputManager::wasReleased(const Button button) const { return mapButton(button, &HalGPIO::wasReleased); }
80
81bool MappedInputManager::isPressed(const Button button) const { return mapButton(button, &HalGPIO::isPressed); }
82
83bool MappedInputManager::wasAnyPressed() const { return gpio.wasAnyPressed(); }
84

Callers 15

waitForPowerReleaseFunction · 0.45
setupFunction · 0.45
loopFunction · 0.45
loopMethod · 0.45
loopMethod · 0.45
loopMethod · 0.45
loopMethod · 0.45
loopMethod · 0.45
loopMethod · 0.45
onEnterMethod · 0.45
loopMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected