MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / ButtonHandler

Method ButtonHandler

src/ButtonHandler/ButtonHandler.hpp:76–86  ·  view source on GitHub ↗

* Construct the button handler. */

Source from the content-addressed store, hash-verified

74 * Construct the button handler.
75 */
76 ButtonHandler() :
77 IButtonObserver(),
78 ButtonCtrl(),
79 ButtonActions(),
80 m_stateQueue(),
81 m_lastButtonInfo(),
82 m_triggerCnt{ 0U },
83 m_timer()
84 {
85 (void)m_stateQueue.create(STATE_QUEUE_LENGTH);
86 }
87
88 /**
89 * Destroy the button handler.

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected