FastLED 3.9.15
Loading...
Searching...
No Matches

◆ Button()

fl::Button::Button ( int pin,
ButtonStrategy strategy = ButtonStrategy::kHighLowFloating )

Definition at line 56 of file button.cpp.hpp.

57 : mButton(pin, strategy), mListener(this), mPressedLastFrame(false), mClickedThisFrame(false) {}
Listener mListener
Definition button.h:100
bool mClickedThisFrame
Definition button.h:102
ButtonLowLevel mButton
Definition button.h:99
bool mPressedLastFrame
Definition button.h:101

References mButton, mClickedThisFrame, mListener, and mPressedLastFrame.

Referenced by fl::Button::Listener::Listener().

+ Here is the caller graph for this function: