[webkit-dev] Mouse Lock API

Vincent Scheib scheib at chromium.org
Mon Sep 12 16:50:59 PDT 2011

A Mouse Lock API has been under discussion on the W3 public-webapps list
"Mouse Lock"(1) and earlier "Mouse Capture for Canvas"(2).

The primary goal is to enable use cases such as first person perspective 3D
applications. This is done by providing scripted access to mouse movement
data while locking the target of mouse events to a single element and
removing the cursor from view.

I have been working to formalize the discussions into a draft
specification: http://goo.gl/9G8pd, and have a work in progress prototype
for WebKit | Chrome. I will publish a WIP patch when it is ready for more
eyes. It will be developed behind a compile (and runtime) time flag.

I'd like to invite any specification discussion to the Mouse Lock thread
(1), and WebKit implementation discussion here.

Cheers, -Vince


W3 issue: http://www.w3.org/Bugs/Public/show_bug.cgi?id=9557
Firefox issue: https://bugzilla.mozilla.org/show_bug.cgi?id=633602
Chrome issue: http://code.google.com/p/chromium/issues/detail?id=72754
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110912/0be01fce/attachment.html>

More information about the webkit-dev mailing list