Pointer Lock API
Summary
The Pointer Lock API provides scripted access to raw mouse movement data while locking the target of mouse events to a single element and removing the cursor from view. This is an essential input mode for certain classes of applications, especially first person perspective 3D applications and 3D modelling software.
See also
External resources
http://www.w3.org/TR/pointerlock/