Open main menu

CDOT Wiki β

Changes

Implementing the Mouse Lock API in Firefox

103 bytes added, 15:37, 23 November 2011
High-Level Mouse Lock Implementation Tasks
# 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
# Convert http://cjcliffe.github.com/CubicVR.js/cubicvr/samples/fps_demo/level1.html to use Mouse Lock
# 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.