ButtonEvents

Press, release, hold and press-count events for a push button.

Author
Péter Soós
Website
https://github.com/soosp/ButtonEvents
Category
Signal Input/Output
License
MIT
Library Type
Contributed
Architectures
esp32, esp8266, avr

Debounced, non-blocking and allocation-free. Reports how long each press lasted and how many short presses made up a sequence; the caller decides what a duration or a count means. Thread-safe on ESP32, with per-kind latches for other tasks. Reads a GPIO or any caller-supplied input.

Downloads

Filename Release Date File Size
ButtonEvents-0.3.0.zip 2026-10-16 29.34 KiB
ButtonEvents-0.2.0.zip 2026-10-16 28.73 KiB
ButtonEvents-0.1.0.zip 2026-10-16 25.53 KiB