[webkit-gtk] Call for review: Pointer Lock API
a.obzhirov at samsung.com
Fri Oct 4 03:30:38 PDT 2013
I'm working on the Pointer Lock API to enable it in WebKitGTK+.
The Pointer Lock API provides for input methods of applications based on the movement of the mouse, not just the absolute position of a cursor. A popular example is that of first person movement controls in three dimensional graphics applications such as games. Movement of the mouse is interpreted for rotation of the view-port, there is no limit to how far movement can go, and no mouse cursor is displayed.
Chromium and Firefox support this feature as an experimental one, as you can see in the compatibility table: https://developer.mozilla.org/en-US/docs/WebAPI/Pointer_Lock#Browser_compatibility
More information can be found here:
My latest patch can be downloaded from:
You are welcome to download the patch an try it with demos:
http://media.tojicode.com/q3bsp/ - Quake 3 demo!
Good article about Pointer Lock API:
So far, I have more or less complete implementation of the feature including IPC communication, platform related logic for GTK port, changes in WTR, but haven't yet considered permission request. I initially followed Chromium implementation, so I would like some opinions on WebCore and platform related changes. A review would be much appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-gtk