MCPcopy Create free account
hub / github.com/AntiMicroX/antimicrox / tryFlash

Method tryFlash

src/joysensorbuttonpushbutton.cpp:113–117  ·  view source on GitHub ↗

* @brief Highlights the button when mapped button is active */

Source from the content-addressed store, hash-verified

111 * @brief Highlights the button when mapped button is active
112 */
113void JoySensorButtonPushButton::tryFlash()
114{
115 if (m_button != nullptr && m_button->getButtonState())
116 flash();
117}

Callers

nothing calls this directly

Calls 1

getButtonStateMethod · 0.80

Tested by

no test coverage detected