0x1abin/MultiButton
Button driver for embedded system observed · 2026-08-28
Health v2 · maintenance only
65/100
- Activity 72
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3656
- days_rel: n/a
- days_push: 169
- n_releases_24m: 0
Adoption not part of the score
2358 stars · 735 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A compact C library implementing a state-machine-driven multi-button driver for embedded systems, supporting seven event types with built-in debounce. It uses a linked-list architecture to support unlimited button instances with callbacks or polling, at roughly 30 bytes of memory per button.
Use cases
- detect single and double clicks on GPIO buttons in firmware
- handle long press and repeat press events on embedded devices
- debounce mechanical buttons without external hardware
- manage many buttons with a lightweight C library
- poll button events from a timer interrupt in bare-metal code
- integrate button handling with an RTOS using thread-safe locks
When to choose
- you need reliable click/long-press detection on microcontrollers in C
- memory footprint matters and you want ~30 bytes per button
- you want both callback and polling event handling with configurable timing
When to avoid
- you need capacitive touch or analog button sensing
- your project is not in C or lacks a periodic tick source
- you need GUI-level button widgets rather than raw GPIO input
Facets
library · maturity stable
embedded state-management embedded-systems hardware developer-tools embedded c cross-platform button-driver state-machine debounce bare-metal rtos input-handling driver event-handling
1 source
- readme: https://github.com/0x1abin/MultiButton · fetched 2026-08-28 · 291f600e794c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| 0x1abin/MultiButton | main | 65 |
For agents
markdown · JSON · MCP: product_card(name="0x1abin/MultiButton")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem