Skip to main content

Module key

Module key 

Source
Expand description

Timestamp-driven multi-button recognition framework.

The normal entry point is ButtonEngine. Individual debounce, chord, and gesture stages are also public for advanced use.

Re-exports§

pub use chord::ChordError;
pub use chord::ChordResolver;
pub use config::ActiveLevel;
pub use config::ButtonConfig;
pub use config::ChordConfig;
pub use config::ChordReleasePolicy;
pub use config::ConfigError;
pub use config::DebounceConfig;
pub use config::FrameworkConfig;
pub use config::GestureConfig;
pub use config::HoldAfterTapPolicy;
pub use config::RepeatConfig;
pub use debounce::DebounceBank;
pub use debounce::DebounceBankError;
pub use debounce::DebounceError;
pub use debounce::Debouncer;
pub use engine::ButtonEngine;
pub use engine::UpdateError;
pub use gesture::GestureBank;
pub use gesture::GestureError;
pub use gesture::GestureRecognizer;
pub use input::Binding;
pub use input::BindingError;
pub use input::BindingMapper;
pub use input::BindingValue;
pub use input::EventMapper;
pub use input::EventSelector;
pub use input::FlushError;
pub use input::InputEvent;
pub use input::InputTiming;
pub use input::InputValue;
pub use input::QueuedInputSource;
pub use input::Rejected;
pub use input::SourceId;
pub use input::TryEventSink;
pub use types::ButtonEdge;
pub use types::ButtonEvent;
pub use types::ButtonEventKind;
pub use types::ButtonPhase;
pub use types::ButtonSnapshot;
pub use types::ChordId;
pub use types::ControlEdge;
pub use types::ControlId;
pub use types::EventBatch;
pub use types::GestureKind;
pub use types::KeyId;
pub use types::RawLevel;
pub use types::Timestamp;

Modules§

chord
config
debounce
engine
gesture
input
Adapters from button-domain events to an application’s input subsystem.
types