667
edits
Changes
→High-Level Mouse Lock Implementation Tasks
### Needs to reset the mouse position back to the original position
## bool islocked (); - humph
# <strike>Mouse Lock Platform Implementations</strike> JSilver999, humph## <strike>Windows: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms648394%28v=vs.85%29.aspx SetCursorPos(x, y)]</strike>## <strike>OS X [http://www.cocoabuilder.com/archive/cocoa/77124-setting-cursor-position.html CGWarpMouseCursorPosition(CGPointMake(x, y))]</strike>## <strike>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 ???</strike>
## Mobile?
# Investigate whether we can get movement information directly from OS - northWind