{"repo":"rpdg/winput","free":true,"listed":false,"github":"https://github.com/rpdg/winput","clone":"git clone https://github.com/rpdg/winput.git","description":"Windows backend input automation library in Go (Message + HID). A Go wrapper over Interception for reliable Windows input automation. 基于内核驱动级的 Windows RPA 自动化 输入注入库","language":"Go","stars":21,"topics":["dpi","go","golang","hid","input-automation","interception","win32","windows","backend-input","hw-input"],"license":"MIT","category":"workflow-automation","readme_excerpt":"winput --- 🇨🇳 中文 --- winput is a lightweight, high-performance Go library for Windows background input automation. It provides a unified, window-centric API that abstracts the underlying input mechanism, allowing seamless switching between standard Window Messages ( PostMessage ) and kernel-level injection ( Interception driver). Features Pure Go (No CGO) : Uses dynamic DLL loading. No GCC required for compilation. Window-Centric API : Operations are performed on Window objects, not raw HWNDs. Read Text from Controls : Use Text() for standard Win32 controls and Value() for best-effort reads with UI Automation fallback on modern controls. Background Input : Message Backend : Sends inputs directly to window message queues. Works without window focus or mouse cursor movement. HID Backend : Uses the Interception driver to simulate hardware input at the kernel level. Coordinate Management : Unified Client Coordinate system for all APIs. Built-in ScreenToClient / ClientToScreen conversion. DPI Awareness : Helpers for Per-Monitor DPI scaling. Safety & Reliability : Thread-Safe : Global input serialization ensures atomic operations ( inputMutex ). Explicit error returns (no silent failures). Type-safe Key definitions. Keyboard Layout : The KeyFromRune and Type functions currently assume a US QWERTY keyboard layout. Vision Automation (Electron / Games) Ideal for applications where window handles are unreliable. API Reference Backend Limitations & Permissions Message Backend Mechanis","default_branch":null,"files":null,"tree":[],"storefront":"/r/rpdg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rpdg/winput/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."}