Skip to main content
Diagnostic Tool

Mouse Input & Pointer Inspector

A real-time diagnostic utility inspecting live PointerEvent telemetry and demonstrating the security boundaries between browser DOM events and hardware firmware.

Updated: 2026-08-24• 4 min inspect
DOM Event Inspector

Live PointerEvent Stream

Active
pointerType
mouse
buttons mask
0 (None)
movementX / Y
0, 0
clientX / Y
0, 0
screenX / Y
0, 0
devicePixelRatio
1.0x
isPrimary
true
pressure
0.0
Move Your Mouse Here & Click Buttons
Live stream updates as coordinates change

2. What Can a Website Actually See From a Mouse?

Web browsers receive high-level event messages dispatching through the operating system's window manager. The browser is informed where the pointer moved in viewport pixels, but is deliberately restricted from querying low-level hardware registers.

3. Browser DOM Events vs Hardware Firmware

Property CategoryBrowser Accessible? (Web Standards)How It Is Retrieved
Client Coordinates (X, Y)Yes (100% Accessible)PointerEvent clientX / clientY within viewport
Movement Deltas (dx, dy)Yes (100% Accessible)PointerEvent movementX / movementY increments
Button Click MaskYes (100% Accessible)PointerEvent buttons bitmask (1, 2, 4, 8, 16)
Device Pixel RatioYes (100% Accessible)window.devicePixelRatio (OS display scaling)
Raw Hardware DPINo (Inaccessible in Sandbox)Not exposed by any browser security standard
USB Polling Rate (Hz)No (Estimated only)Hardware report frequency hidden by OS event loop
Onboard Mouse MemoryNo (Inaccessible in Sandbox)Requires WebHID / WebUSB with explicit user grant
FAQ

Mouse Input Test FAQ

Common questions about browser mouse input APIs and security.

Why can websites see my cursor position but not my DPI?
Browser security sandboxing prevents arbitrary websites from inspecting connected USB peripheral hardware or reading device memory to prevent fingerprinting and hardware attacks.
Can WebHID read mouse DPI?
If a manufacturer publishes open HID communication protocols and the user explicitly clicks "Allow" on a WebHID prompt, a web app can theoretically exchange configuration packets with specific mouse models.
Knowledge Base

Related Mouse DPI Guides

Continue exploring technical documentation, hardware steps, and calibration methods.