Adds the ability to request unadjusted/unaccelerated mouse movement data when in PointerLock. If this unadjustedMovement is set to true, then the pointer movements will not be affected by the underlying platform modifications such as mouse acceleration.

Motivation

The accelerated movement is that pointer speed increasing quadratically based on the physical speed of the touchpad/mouse movement. For example moving the touchpad/mouse 3x faster could result in the pointer on the screen moving 9x more than if moved at a slower speed. Accelerated movement is the default behavior in the major operating systems. However, for some games, it’s important to disable mouse acceleration to achieve a better gaming experience. It’s a common option for native gaming app but not available in web gaming yet.

Documentation

Specification

Public discussion

Status in Chromium

Blink>Input>PointerLock


Enabled by default (tracking bug) in:

  • Chrome for desktop release 81

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No signal
  • No signal
  • No signal
  • Positive

Owners

Intent to Prototype url

Intent to Prototype thread

Comments

Launched fully in Chrome 88. Origin Trial versions: 81-87 Windows OT Launch: 81 macOS OT launch: 86 ChromeOS OT launch: 86

Last updated on 2021-03-13