GitHunt
M3

m30ws/genbtn

A small generic button library providing single-click, double-click and long-press functionality

genbtn

A small generic button library providing single-click, double-click and long-press functionality for any project where time-elapsed and current-state information can be provided.

This is a single-header library.

Examples

There are several examples provided for Raylib-based projects but the library is not limited to it.

Either take a look at examples/README.md for a few build command examples or look at the/try to run the makefile in examples/.

Languages

C100.0%

Contributors

MIT License
Created February 20, 2026
Updated February 20, 2026
m30ws/genbtn | GitHunt