Open main menu

CDOT Wiki β

Changes

Implementing the Mouse Lock API in Firefox

170 bytes added, 17:15, 20 November 2011
High-Level Mouse Lock Implementation Tasks
# Do we need to do conditional compilation for mouse lock?
# 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.
# 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).
==Resources==