PointerLock unadjustedMovement

Adds the ability to request unadjusted and 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.

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 (1, 2). 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


In development (tracking bug)

Consensus & Standardization

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

  • No public signals
  • No public signals
  • No public signals
  • Positive

Owners

Last updated on 2019-08-23