use Instant;
use crateKey;
/// A keyboard event observed by a [`Tap`](crate::Tap).
/// Event variants.
///
/// Auto-repeat is surfaced as a distinct [`EventKind::KeyRepeat`] so that
/// consumers don't have to maintain their own de-duplication state. Callers
/// that want rdev-style "collapse repeats into press" semantics can treat
/// `KeyRepeat` as a no-op.