667
edits
Changes
→High-Level Mouse Lock Implementation Tasks
# 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).
# Proper IDL documentation for navigator.pointer (see example in https://mxr.mozilla.org/mozilla-central/source/dom/interfaces/html/nsIDOMHTMLElement.idl#103), MouseLockable and its methods, MouseLockLost event, etc.
# Write a JavaScript library to somehow combine element.mozRequestFullScreen() and navigator.pointer.lock(). It would be good to hide the complexities of doing fullscreen then locking in a single API call.
# Convert Rescue Fox to use Mouse Lock, see https://github.com/mozilla/rescuefox
# Tests, tests, tests. We need tests for all aspects of the spec. List tests we need below:
## <test cases go here...>
# Create a tutorial on how to use Mouse Lock, with code examples
==Resources==