Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

No change in size, 14:13, 29 November 2011
High-Level Mouse Lock Implementation Tasks
## "The members movementX and movementY must provide the change in position of the mouse, as if the values of screenX/Y were stored between two subsequent mousemove events eNow and ePrevious and the difference taken movementX = eNow.screenX-ePrevious.screenX" - '''KeyR'''
## "movementX/Y must be valid regardless of mouse lock state" - '''KeyR'''
## "When unlocked, the system cursor can exit and re-enter the user agent window. If it does so and the user agent was not the target of operating system mouse move events then the most recent mouse position will be unknown to the user agent and movementX/Y can not be computed and must be set to zero" - '''mousse1moussa1'''
## "When mouse lock is enabled clientX, clientY, screenX, and screenY must hold constant values as if the mouse did not move at all once mouse lock was entered" - '''Jordan'''
## "The Mouse Lock API must exit the mouse lock state if the user agent, window, or tab loses focus" - '''drigato'''
1
edit

Navigation menu