UNPKG

@ue-too/board

Version:

<h1 align="center"> uē-tôo </h1> <p align="center"> pan, zoom, rotate, and more with your html canvas. </p>

23 lines (22 loc) 907 B
/** * Input state machine module exports. * * @remarks * This module provides state machines for interpreting raw input events into high-level gestures. * Separate state machines handle keyboard/mouse/trackpad (KMT) and touch input. * * ## Components * * - **KMT State Machine**: {@link createKmtInputStateMachine} for keyboard/mouse/trackpad gestures * - **Touch State Machine**: {@link createTouchInputStateMachine} for touch gestures (pan, pinch, rotate) * - **Input Contexts**: {@link ObservableInputTracker}, {@link TouchInputTracker} for tracking input state * * @see {@link createKmtInputStateMachine} for KMT gesture recognition * @see {@link createTouchInputStateMachine} for touch gesture recognition * * @module */ export * from "./kmt-input-context"; export * from "./touch-input-context"; export * from "./touch-input-state-machine"; export * from "./kmt-input-state-machine";