windows-input-overlay-rust

Intercept Windows input events, extract on-screen text, and render overlays in Rust.

1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/hafley66/claude-research --skill windows-input-overlay-rust
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: windows-input-overlay-rust
Source: https://github.com/hafley66/claude-research/tree/main/skills/windows-input-overlay-rust
Command: npx skills add https://github.com/hafley66/claude-research --skill windows-input-overlay-rust

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Windows developers need a cohesive toolkit to capture input events, extract UI text, and render lightweight overlays on the desktop from Rust, without juggling multiple ad-hoc libraries.

Core Features & Use Cases

  • Input interception via low-level hooks (SetWindowsHookEx) to monitor keyboard and mouse events on Windows.
  • Text extraction using UI Automation and WinRT OCR to read on-screen content.
  • Overlay rendering using layered windows and wgpu for translucent, performant visuals across the screen.
  • Use Case: Build a live Assistive Overlay that captures user input, reads surrounding UI text, and presents contextual information.

Quick Start

Run a Rust project that sets up a low-level input hook, reads UI text at the cursor, and renders a transparent overlay window on Windows.

Frequently Asked Questions about windows-input-overlay-rust

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I intercept Windows input events and render a transparent overlay in Rust?

To intercept Windows input events and render a transparent Rust overlay, use low-level SetWindowsHookEx for input monitoring and layered windows with wgpu for per-pixel alpha rendering.

Can I extract on-screen text from Windows desktop apps using Rust?

You can extract on-screen text from Windows desktop apps using Rust by applying UI Automation and WinRT OCR to read UI content at the cursor for real-time contextual awareness.

What's the best way to build a live assistive overlay for Windows desktop apps?

The best way to build a live assistive overlay for Windows desktop apps is combining low-level input hooks, UI Automation text extraction, and wgpu-rendered layered windows to display contextual information.

Does the Rust overlay toolkit support per-pixel alpha rendering for live annotations?

Yes, the Rust overlay toolkit supports per-pixel alpha rendering for live annotations by utilizing layered windows and a modern wgpu rendering path to achieve translucent, performant visuals.

How does SetWindowsHookEx work for monitoring keyboard and mouse events in Rust?

SetWindowsHookEx works in Rust by installing low-level hooks that intercept keyboard and mouse events across standard Windows desktop apps, enabling real-time input monitoring for debugging or accessibility tools.

Do I need UI Automation to read surrounding UI text for a Windows debugging overlay?

You need UI Automation to read surrounding UI text for a Windows debugging overlay because it extracts on-screen content directly, which can then be paired with WinRT OCR for enhanced text recognition.