- From: <bugzilla@jessica.w3.org>
- Date: Tue, 20 Apr 2010 07:20:27 +0000
- To: public-webapps@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9557 Summary: Could we get Mouse Capture via Javascript? Product: WebAppsWG Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DOM3 Events AssignedTo: schepers@w3.org ReportedBy: warcraftthreeft@sbcglobal.net QAContact: member-webapi-cvs@w3.org CC: mike@w3.org, public-webapps@w3.org With the new technologies like Canvas and WebGL it would be nice to get the ability to capture the mouse much like Java does. A user-agent warning could be displayed asking for permission or something with a key to release control. I'm thinking of this mostly for games like first person shooters and RTS games in the browser or other programs where moving the mouse off the screen is a problem. So the basic functionality would be the ability to turn on mouse capture (might need another name, but whatever) then the ability to detect when a user has activated the mouse capture by agreeing to allow their mouse to be captured, a release event if the user-agent has a key to exit the mouse capture mode, and a release mouse capture event that could be triggered to allow javascript to release the mouse if it's captured. I've seen multiple WebGL people talk about needing it for their projects but no one could find where to submit suggestions relating to this. I'm hoping this is the correct place. -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
Received on Tuesday, 20 April 2010 07:20:43 UTC