{"repo":"lete114/raw-input","free":true,"listed":false,"github":"https://github.com/lete114/raw-input","clone":"git clone https://github.com/lete114/raw-input.git","description":"A cross-platform library for capturing and simulating global input events (keyboard and mouse).","language":"Rust","stars":13,"topics":["automation","display","grab","hardware-support","hooks","input","intercept","keyboard","linux","listen"],"license":"Apache-2.0","category":"workflow-automation","readme_excerpt":"raw-input raw-input is a lightweight, high-performance cross-platform Rust library designed to capture and simulate global input events (keyboard and mouse). It is ideal for building global hotkey managers, input monitors, automation scripts, and accessibility tools. Acknowledgments: This project is inspired by Narsil/rdev (originally by Narsil) and its fork by rustdesk-org/rdev. Standing on the shoulders of giants, raw-input aims to provide modern features such as status-based subscription management, alongside a more flexible and ergonomic API design for a superior developer experience. ✨ Features Global Event Listening : Capture system-wide keyboard, mouse movement, clicks, and scroll events without requiring window focus. Subscription Management : Each listener returns a SubscriptionHandle that allows you to Pause , Resume , or Unsubscribe at runtime. Input Interception (Grab) : Intercept and optionally block specific input events from reaching other applications. Input Simulation : Inject physical-level keyboard and mouse events, supporting both relative movement and absolute screen coordinates. Display Utilities : Query monitor information, physical resolutions, and DPI scale factors. Thread-Safe : Designed with DashMap and atomic operations for safe multi-threaded usage. 🚀 Quick Start Install this to your Cargo.toml : Basic Example: Monitoring Global Input 🛠 Core Modules Module Description --- --- Core The underlying driver. Manages low-level hooks and the OS event l","default_branch":null,"files":null,"tree":[],"storefront":"/r/lete114","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lete114/raw-input/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}