tcMenu
Loading...
Searching...
No Matches
TcOneButtonHandler Class Reference

#include <TcOneButtonHandler.h>

Inheritance diagram for TcOneButtonHandler:

Public Member Functions

 TcOneButtonHandler (pinid_t buttonPin, int doubleClickThreshold)
void start ()
void onPressed (pinid_t pin, bool held) override
void onReleased (pinid_t pin, bool held) override

Detailed Description

Support for a menu with a single button, it will add a button on the required pin, and listen for changes With the following: Short press: increment by 1 Double press (when not editing): back navigation Hold down: select


The documentation for this class was generated from the following file: