Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

16 bytes added, 14:54, 30 November 2011
Implementation
# Trying to lock a locked element should fire the success callback diogogmt
# Before locking the mouse check if the element is a DOM element and if it is in the DOM Tree diogogmt
# Save the screenX and screenY position before locking the mouse.- humph# Reset the mouse position back to the original position when unlocking.- humph
# Restructure Lock method to do most of its operations in a separate thread. diogogmt

Navigation menu