Open main menu

CDOT Wiki β

Changes

Implementing the Mouse Lock API in Firefox

380 bytes added, 13:44, 1 December 2011
Out of Scope Implementation
# Do we need to add a user pref to enable/disable mouse lock? Nice to have, not blocking. - northwind
# "The Mouse Lock API must exit the mouse lock state if the user agent, window, or tab loses focus"
# Clip the mouse so it doesn't leave the locked element with a mouse movement large enough to exceed its bounds. See:## [http://msdn.microsoft.com/en-us/library/windows/desktop/ms648383%28v=vs.85%29.aspx ClipCursor] on Windows## [http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/Quartz_Services_Ref/Reference/reference.html CGAssociateMouseAndMouseCursorPosition] on OS X## [http://www.x.org/archive/X11R6.8.2/doc/XGrabPointer.3.html XGrabPointer] on Linux
====Tests====