Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

38 bytes added, 21:01, 27 November 2011
High-Level Mouse Lock Implementation Tasks
## <s>[[Where to store the state info (e.g., previous position) between mouse events?]]</s>
# <s>The browser must exit the mouse lock state if the user agent, window, or tab loses focus</s> - diogogmt
# <strike>Fixup NULLs being returned from lock() C++ implementation, should be NS* </strike> - Anachid
# The ESC key should exit mouse lock - diogogmt
# Mouse lock should only work when in Full Screen Mode - diogogmt, rhung
# Mouse lock specification fix requests
# Convert Rescue Fox to use Mouse Lock, see https://github.com/mozilla/rescuefox
# <strike>Convert http://cjcliffe.github.com/CubicVR.js/cubicvr/samples/fps_demo/level1.html to use Mouse Lock</strike> - JSilver999
# Tests, tests, tests. We need tests for all aspects of the spec. List tests we need below:
## Check the mouse cursor during mouse lock and after mouse lock. (Needs content scripts?)
# Create a tutorial on how to use Mouse Lock, with code examples
# Add demo pages to [http://humphd.github.com/mozilla-central/mouselock/index.html gh-pages branch]
# User agents may prompt for confirmation before locking, this preference may be saved as a content setting (Mentioned in class by humphd, setting would be in about:config ) mjschranz
# <strike>Figure out [[Mac Crash with Jesse's SynthesizeMouseMove change]]</strike> humph

Navigation menu