btn-recognizer 0.2.2

Timestamp-driven button debouncing with multi-tap, hold, repeat, and multi-key chord gesture recognition
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Hash-table-driven Mealy machines and a timestamp-driven button framework.

#![doc = include_str!("../README.md")]
#![forbid(unsafe_code)]

// Modules
pub mod fsm_engine;
pub mod key;

// Re-exports
pub use fsm_engine::{BuildError, Fsm, FsmBuilder, FsmError};