Setup

Raw Input Explained: How Games and Tests Bypass Windows

Published 7 October 2026

Turn on raw input in a game and the game reads your mouse's own movement counts, skipping Windows' pointer speed and acceleration. Your aim then depends only on the mouse's DPI and the game's sensitivity. Our DPI Analyser and Acceleration Checker do the browser equivalent, using pointer lock with an option called unadjustedMovement.

What Windows does to mouse movement first

Most programs never see your mouse's counts. They get the pointer's position from Windows, after two adjustments:

There is a third limit. Ordinary pointer movement is tied to the screen's pixels. If the mouse moves less than one pixel's worth, a program reading the pointer sees no movement at all. On a desktop these adjustments do no harm. In a first-person game, where the mouse turns a camera rather than moving a pointer, losing that small movement costs precision. Where those settings live, and what 10 means, is covered in Mouse DPI in Windows 11 and 10.

What raw input changes in a game

Windows has a separate way in. With raw input, a program registers the mouse and then receives its data directly from the device, at the lowest level available. By default no program receives raw input; it has to register the mouse first. Raw input has no ballistics applied, so for the same physical movement, slow or fast, the camera turns by the same amount.

One example is Valve's Source SDK 2013 code for Half-Life 2 and Team Fortress 2. Its setting m_rawinput, described as "Use Raw Input for mouse input", is on (1) by default. Another is Marvel Rivals, which added a "Raw Input" option for the mouse under Settings > Keyboard in its March 2025 update.

What shapes your aimRaw input offRaw input on
Mouse DPIYesYes
Game sensitivityYesYes
Windows pointer speedYesNo
Enhance pointer precisionYesNo
Movement smaller than one screen pixelCan be lostCounted

Raw input doesn't change what the mouse itself sends. The DPI step set in the mouse still decides how many counts arrive, and the game's sensitivity still decides how far each count turns you. (Mouse DPI stands for dots per inch, a measure of how finely the sensor slices up your hand movement into counts. Our guide to what mouse DPI means explains it in full.)

Should you turn raw input on?

If a game offers raw input, we advise turning it on. Your aim then follows only your DPI and the game's sensitivity. That makes it the same from one PC to another, and lets a sensitivity converter carry it between games.

It is still worth setting Windows sensibly. Your desktop, game menus that use the system pointer and any game without the option still follow pointer speed and Enhance pointer precision. Pointer speed 10 with acceleration off keeps all of them consistent with your DPI. Our guide to mouse acceleration has the steps for Windows and macOS.

How a browser gets raw input: pointer lock

A web page can't register the mouse the way a game does, but it has an equivalent. Pointer lock locks mouse events to one element on the page and removes the cursor from view. It also lifts the limit on how far movement can go in one direction. The page receives each movement as a change (movementX and movementY) rather than only a position. A page may only ask for it after you interact with it, such as with a click, so each test starts with a button. Esc releases it.

By default the movement in pointer lock has still been through the operating system. The unadjustedMovement option changes that: it switches off the operating system's acceleration adjustment and hands the page raw mouse input instead. The default is off, so a page has to ask for it. If the platform doesn't support it, the request fails, and the page can ask for an ordinary lock instead.

One caution applies either way. Depending on the browser and operating system, movementX may be measured in physical pixels, logical pixels or CSS pixels. That is why a measurement can come out wrong by a neat factor such as 1.25 or 1.5 when display scaling is on.

How our tools use it

ToolPointer lockRaw inputWhat it readsIf raw input isn't available
DPI AnalyserYesAsked for on Start measuringSummed raw counts per slideMeasures how far the cursor travelled, and says so
Acceleration CheckerYesSlides 1 and 2 onlyRaw counts, then normal countsRuns only the two normal slides; no multiplier
Jitter TestNoNoThe pointer's on-screen positionsNot needed

DPI Analyser. When you press Start measuring, it asks for pointer lock with unadjustedMovement switched on. If the browser confirms it, the tool adds up every movementX and movementY while you hold the left button and slide. It then divides the counts by the distance you set. The note under the results then says it is reading raw sensor counts, and Windows settings can't change the answer. If the browser refuses, or is an older version that can't confirm raw input, the tool doesn't guess. It measures how far the cursor travelled between press and release, in screen pixels. The note then warns you to set pointer speed to 10 and turn acceleration off first.

Acceleration Checker. A browser can't give raw and adjusted readings of the same movement. So the tool compares four slides over the same distance between two marks on your desk. Slides 1 and 2 (slow, then fast) use raw input. Slides 3 and 4 use an ordinary pointer lock, so the system's pointer speed and acceleration act on them. Because raw counts are the same at any speed, slides 1 and 2 show how evenly you slid. If raw input isn't offered, the tool takes an ordinary lock straight away and runs only the two normal slides. Those still show whether acceleration is on or off, but give no multiplier. A fast slide has to be at least double the speed of the slow one, or the tool asks for it again.

The Acceleration Checker's sums: pointer multiplier = normal slow ÷ raw slow. Extra distance on a fast slide = (normal fast ÷ normal slow) ÷ (raw fast ÷ raw slow) − 1. Our bands: under 10% reads as off, 20% or more as on, anything between as unclear.

Worked example (made-up slides): raw slow 1,000 counts, raw fast 1,020, normal slow 1,000, normal fast 1,530. The multiplier is 1,000 ÷ 1,000 = 1.00, so pointer speed is at the default. The normal slides differ by 1,530 ÷ 1,000 = 1.53, the raw slides by 1,020 ÷ 1,000 = 1.02, and 1.53 ÷ 1.02 − 1 = 0.50. So the fast slide went 50% further than your hand did, and acceleration is on. The 2% gap between the raw slides comes from your own sliding, and the sum cancels it out.

Jitter Test. This one doesn't lock the pointer. It draws your line on screen, so it records the pointer's positions while you hold the left button. Where the browser offers them, it also records the in-between positions the browser merges. Those positions have already been through pointer speed and acceleration. So compare the tool's results between runs with the same settings, on the same surface.

Which browsers support it

Pointer lock itself works in every major desktop browser. Support for unadjustedMovement, the part that gives raw input, is narrower:

You don't need to look up your version. The DPI Analyser and the Acceleration Checker both say which method they used, in the note under the result. A cursor reading is never passed off as a raw one.

Frequently asked questions

Does raw input ignore Windows pointer speed?
Yes. Raw input reads the mouse's data before Windows applies acceleration or pointer speed, so neither setting changes your aim in a game that uses it.
Does raw input change my DPI or sensitivity?
No. The mouse still sends the counts its DPI step sets, and the game still turns you by its own sensitivity. Raw input only removes Windows' adjustments in between.
Is raw input the same as turning off Enhance pointer precision?
Not quite. Turning off Enhance pointer precision changes one Windows setting for every program, and pointer speed still applies. Raw input skips Windows' adjustments altogether, but only in the game that uses it.
Why does the DPI Analyser say it is reading the cursor?
Your browser didn't confirm raw input, so the tool measured the cursor instead. Set Windows pointer speed to 10 and turn Enhance pointer precision off, or use a browser that supports raw input in pointer lock.
Why doesn't the Jitter Test use raw input?
It draws your path on screen, so it reads the pointer's positions rather than locking the pointer. Keep your settings the same between runs so the results compare fairly.

← Back to all guides   Measure my DPI