You are here

W3C Pointer Lock API - Sample Source Code

The W3C Pointer Lock API is a specification that defines an API for providing scripted access to raw mouse movement data while also locking a mouse event's target to a single element and hiding the cursor from view. This input mode is especially important for 3D applications that rely on first person perspective and 3D modeling software.