Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

159 bytes added, 15:27, 24 November 2011
High-Level Mouse Lock Implementation Tasks
## Linux (GTK) [http://www.gtkforums.com/viewtopic.php?t=182 gdk_display_warp_pointer (display, screen, x, y)], add to http://mxr.mozilla.org/mozilla-central/source/widget/src/gtk2/nsWindow.cpp ???
## Mobile?
# Investigate whether we can get movement information directly from OS - northWind
# <s>mouselocklost event DOM Implementation</s> - diogogmt
# <s>Extend MouseEvent DOM implementation with movementX, movementY</s> - humph, JSilver999
## <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
# Fixup NULLs being returned from lock() C++ implementation, should be NS*
# The ESC key should exit mouse lock - diogogmt
# Mouse lock should only work when in Full Screen Mode - diogogmt, rhung
## Tests for mouselocklost event
## <test cases go here...>
 
# 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]

Navigation menu