How we built it

Pointer Lock (Mouse Lock)

Gives access to raw mouse movement, locks the target of mouse events to a single element, eliminates limits of how far mouse movement can go in a single direction, and removes the cursor from view. Obvious use cases are for first person or real time strategy games.

Comments

Chrome on Android does not support this API.

Documentation

Specification

Working draft or equivalent

Status in Chromium

Enabled by default (launch bug) in:

  • Chrome for desktop release 23
  • Opera release 15
  • Opera for Android release 15

Consensus & Standardization

  • Shipped
  • Shipped
  • No public signals
  • Positive

Owner

Last updated on 2016-03-01