Subject: Re: Mouse movement handling in wsmouse and opms
To: Matthias Scheler <tron@zhadum.de>
From: Lennart Augustsson <lennart@augustsson.net>
List: tech-kern
Date: 08/07/1999 18:05:46
Matthias Scheler wrote:
> 1.) The old PS/2 driver keeps track of all mouse movements in internal
> variables and returns a single delta pair on an ioctl() call.
>
> 2.) The wsmouse driver reports each mouse movement as a single event in
> a queue.
>
> The question is which behaviour is the correct one? IMHO it is 1) because
> it avoids problems like the on described in PR 8127.
I think there should be some kind of motion compression. You can imagine
different solutions:
* if the event queue exceeds a certain length you start collapsing
events to make it shorter.
* if events occur close in time you collapse them.
--
-- Lennart