W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

Re: Mouse Lock

From: Glenn Maynard <glenn@zewt.org>
Date: Fri, 24 Jun 2011 12:55:04 -0400
Message-ID: <BANLkTim8TdMa_v=819kjuwr2Tk7LcO79fg@mail.gmail.com>
To: Vincent Scheib <scheib@google.com>
Cc: timeless <timeless@gmail.com>, Charles Pritchard <chuck@jumis.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Olli@pettay.fi, Jonas Sicking <jonas@sicking.cc>, Adam Barth <w3c@adambarth.com>, Brandon Andrews <warcraftthreeft@sbcglobal.net>, "Gregg Tavares (wrk)" <gman@google.com>, Kenneth Russell <kbr@google.com>, robert@ocallahan.org, public-webapps@w3.org
On Fri, Jun 24, 2011 at 12:00 PM, Vincent Scheib <scheib@google.com> wrote:

> I've added clarification to the draft spec in the use case section,
> "Touch screen device input
> All the application use cases are relevant on touch screen devices as well.
> A user should be permitted to make large gestures that are interpreted as
> movement deltas, without concern over the absolute positions of the touch
> points. Other UI elements from the user agent and system should be
> suppressed while under mouse lock.

> Absolute position of touch points should always be available, unlike mouse
> input where the concept of the cursor is removed. On a touch screen the
> absolute positions will always be relevant.

I don't believe it makes sense to have a "mouse lock" mode on a touchscreen
which causes touching UI elements to instead be sent as mouse events to the
window.  That would be very confusing.

Touching in-window and then dragging out-of-window on a touchscreen is
useful, but you should be able to do that with regular mouse (or touch)
events already.

It can be used in fullscreen mode, where there are no UI elements, but in
that case it's not necessary--you can just use mouse events directly.  The
main reason for mouse lock--the issue of the mouse being moved beyond the
edge of the screen--doesn't apply to touchscreens (you can't touch outside
the screen).

Glenn Maynard
Received on Friday, 24 June 2011 16:55:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:20 UTC