Open main menu

CDOT Wiki β

Changes

Implementing the Mouse Lock API in Firefox

53 bytes added, 13:16, 30 November 2011
High-Level Mouse Lock Implementation Tasks
# <strike>[[Refactor nsIDOMNavigator changes for pointer attribute to be in separate interface]]</strike> humph
# Do we need to add a user pref to enable/disable mouse lock? yes :) northwind
# <strike>Do we need to do conditional compilation for mouse lock?</strike> humph (not going to bother for now)
# 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.
# <s>Freeze mouse pointer in centre of window when mouse lock is enabled (e.g., moving the mouse causes an event, but forces the mouse to go back to the original position).</s> - JSilver999