weasel API - v0.8.0
    Preparing search index...

    Type Alias InputEvent

    InputEvent:
        | KeyEvent
        | KeyHeldEvent
        | WheelEvent
        | PointerDownEvent
        | PointerMoveEvent
        | PointerUpEvent
        | PointerCancelEvent
        | ClickEvent
        | DoubleClickEvent
        | ContextMenuEvent
        | LongPressEvent
        | MultitouchEvent
        | MultitouchTapEvent
        | DropEvent
        | PasteEvent

    Normalized input-event shape consumed by the pure matcher. Built by the React seam (useGestureDispatcher) from DOM events. Pump-only events (PointerMoveEvent, PointerUpEvent, PointerCancelEvent) ride in the same union so the dispatcher's handleInput signature stays uniform; the matcher itself never matches them.

    The affordance? field on PointerDownEvent is widened to unknown in this package — the kit narrows it back to AffordanceHit at consumption. This keeps @weasel-js/gestures free of any kit-affordance type.