Thank you all. This is wonderfully helpful. On Mon, Feb 24, 2014 at 10:07 AM, Vincent Scheib <sch...@google.com> wrote:
> One way to move forward on those topics is to prototype functional > solutions on Windows, Mac, and Linux and illuminate a practical solution > that browsers may adopt. I did an investigation in 2011 and did not find a > solution. For clipping only I believe Mac was the only platform I didn't > find a solution for. Windows has ClipCursor() and Linux has XGrabPointer(). > Once we know we can implement the functionality, we can discuss how to > express this in an API. > On Sun, Feb 23, 2014 at 7:18 AM, Brandon Jones <bajo...@google.com> wrote: > - The reason the cursor is hidden when the pointer is locked is that some > OSes don't have the ability to report relative mouse movement correctly at > screen edges. This requires the cursors to constantly be reset to the > center of the screen, which obviously would look strange if the cursor was > visible. > An OS-level visible cursor with pointer lock would be the holy grail. Maybe we can spend some time revisiting the implementations of these to prove out the functionality and push the spec forward a little.