Open main menu

CDOT Wiki β

Changes

Implementing the Mouse Lock API in Firefox

18 bytes added, 15:17, 30 November 2011
Implementation
# <strike>Figure out [[Mac Crash with Jesse's SynthesizeMouseMove change]]</strike> humph
# <strike>When the locked element is removed from the DOM Tree, the mouse should be unlocked</strike> diogogmt
# Trying to lock a locked element should fire the success callbackdiogogmt
# Before locking the mouse check if the element is a DOM element and if it is in the DOM Tree
# Save the screenX and screenY position before locking the mouse.
# Reset the mouse position back to the original position when unlocking.
# Restructure Lock method to do most of its operations in a separate thread.diogogmt
====Tests====
1
edit