Re: Mouse Lock

On Fri, Jun 24, 2011 at 1:58 PM, Aryeh Gregor <Simetrical+w3c@gmail.com>wrote:

> But this does highlight the fact that we probably want to support
> mouse-locking that doesn't hide the cursor also, for this kind of
> mouse-based scrolling.  In that case, though, the coordinates and
> mouse events should behave just like regular.  If the user presses the
> cursor up against the side of the screen and it visually stops moving,
> no mousemove events should be fired even if the user does keep moving
> the actual mouse.  The application would then want to check the
> cursor's location instead of listening for events.
>

"Walling the mouse cursor into a box" and "changing the mouse to a delta
movement device" are separate concepts.  They shouldn't be wedged
together--it may not even be possible to implement both at the same time, as
discussed earlier.

-- 
Glenn Maynard

Received on Friday, 24 June 2011 18:24:19 UTC