11#include "sygah-consteval.hpp"
12#include "sygah-endpoints.hpp"
14namespace sygaldry {
namespace sygsp {
42 toggle<
"button state",
"1 indicates button active, 0 inactive"> button_state;
47 toggle<
"debounced state",
"updates only when the button state has changed since the last tick"> debounced_state;
49 bng<
"any edge",
"bangs on any change to debounced state"> any_edge;
50 bng<
"rising edge",
"bangs when the button is activated"> rising_edge;
51 bng<
"falling edge",
"bangs when the button is deactivated"> falling_edge;
A semantically value-less endpoint that signals an event.
Definition sygah-endpoints.hpp:481
A two-state integer endpoint with persistent value semantics.
Definition sygah-endpoints.hpp:289