On Tue, Feb 12, 2013 at 7:57 PM, Robert O'Callahan <rob...@ocallahan.org>wrote:

> On Wed, Feb 13, 2013 at 4:45 PM, Rob Arnold <tell...@gmail.com> wrote:
>
>> Would you want to predict the mouse location based on past events when
>> you dispatch the synthetic event? I guess it depends on how frequently you
>> get the events but this is done for touches on mobile where the input
>> frequency is close (with 2x) the display frequency. If not, what would the
>> timestamp on the event be?
>>
>
> I hadn't thought about that. Is it really necessary? I think without
> prediction, we'd get the same visual results as we do today. With
> prediction we might make drags seem to track the mouse a bit better,
> although it sounds a bit scary to have the user mouse over something they
> actually didn't.
>

I agree; it should be no worse than today. I do have some concerns with
dispatching a mouse move event that contains coordinates the mouse may not
have been at but the visual results for scrolling ought to be nice. Only
other concern is if there are applications that make use of the higher
frequency mouse events to do extra processing (ex: a finger painting app
would want more samples for curve reconstruction). Otherwise I think it
makes sense.

-Rob
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to