5 dépôts
Tools that translate disparate pointer, mouse, and touch events into a unified stream of interaction data.
Distinguishing note: Focuses on unifying disparate input event types into a single stream.
Explore 5 awesome GitHub repositories matching user interface & experience · Input Normalization Utilities. Refine with filters or upvote what's useful.
Hammer.js is a library for recognizing touch gestures in web applications. It functions as a unified interface that translates raw pointer, mouse, and touch inputs into a consistent stream of interaction data, allowing developers to detect patterns such as taps, swipes, and pans across different browsers and hardware. The library distinguishes itself through a modular architecture that uses configurable logic blocks to evaluate input streams against specific mathematical thresholds. It maintains an internal registry of active touch points to track complex multi-finger movements like pinching
Translates disparate pointer, mouse, and touch events into a unified stream of interaction data for consistent gesture processing.
This project is a modular toolkit for building accessible, component-based drag-and-drop interfaces in React. It provides a foundational framework for managing complex spatial interactions, state synchronization, and element registration, allowing developers to create interactive web applications that support mouse, touch, and keyboard inputs. The library distinguishes itself through a highly extensible architecture that separates input handling from interaction logic. It utilizes a sensor-based input abstraction to normalize diverse user interactions and a plugin-driven lifecycle to inject c
Normalizes mouse, touch, and keyboard events into a unified stream of interaction commands.
Lenis is a lightweight JavaScript library designed to provide fluid, momentum-based scrolling experiences for web interfaces. It functions as a frontend utility that decouples visual scroll position from the browser's native state, allowing for custom easing and duration while preserving standard browser accessibility, search functionality, and layout measurement tools. The library distinguishes itself by normalizing input from mouse wheels and touch gestures into a unified stream, ensuring consistent physics across different devices. It operates by intercepting native scroll events and apply
Normalizes mouse wheel and touch gestures into a unified stream for consistent interaction physics.
interact.js est une bibliothèque d'interaction JavaScript utilisée pour implémenter le glisser-déposer, le redimensionnement et les gestes multi-touch dans les navigateurs web. Il fournit un framework d'interaction spécialisé pour les graphiques vectoriels évolutifs, permettant à ces éléments d'être déplacés et redimensionnés. La bibliothèque dispose d'un moteur de gestes multi-touch qui reconnaît des modèles complexes tels que le pincement et la rotation, et un moteur d'accrochage de coordonnées pour aligner les éléments sur des grilles ou restreindre le mouvement à l'intérieur des limites. Il inclut également un synchronisateur d'état inter-cadres pour partager les états d'interaction et les événements d'entrée à travers plusieurs fenêtres de navigateur ou cadres intégrés. Le projet couvre de larges domaines de capacités, notamment la physique du mouvement pour les calculs de vitesse basés sur l'inertie et la normalisation des entrées pour unifier les événements de souris et de toucher à travers les navigateurs. Une fonctionnalité supplémentaire inclut le suivi d'état basé sur les coordonnées et l'accrochage quantifié pour aligner les positions et les tailles sur des intervalles prédéfinis.
Unifies disparate mouse and touch pointer events into a consistent coordinate stream for cross-browser compatibility.
tcell is a Go terminal user interface library and framework for building cell-based applications. It functions as a terminal emulator backend and input processor, utilizing a change-based diffing engine to manage screen state and efficiently render updates. The project is distinguished by its pluggable backend abstraction, which allows terminal interfaces to be rendered across physical terminals or compiled into WebAssembly for web browser display. It provides a virtual screen simulation to enable programmatic event injection and output inspection for automated application testing. Its capab
Normalizes mouse button reporting across different operating systems to ensure consistent event identification.