Re: [RFC/PATCH] Touchpads in absolute mode (synaptics) and mousedev

Dmitry Torokhov
2003-07-01T18:03:43Z

On Tuesday 01 July 2003 07:02 am, Felipe Alfaro Solana wrote:
> On Tue, 2003-07-01 at 10:03, Dmitry Torokhov wrote:
> > - touchpads are not precise; when I take my finger off touchpad and then
> > touch it again somewhere else I do not expect my cursor jump anywhere,
> > I only expect cursor to move when I move my finger while pressing
> > touchpad.
>
> Uhmmm... Maybe I'm losing something here, but my NEC Chrom@'s
> ALPS/GlidePoint touchpad doesn't cause the mouse cursor to jump/move
> when I lift off my finger from it and then touch it again elsewhere. The
> mouse cursor moves only when I drag my finger over the touchpad surface.
>

Apologies if you seen this already but it seems the list ate my previous
replies...

My touchpad works well in relative mode, it's new synaptics driver code
in 2.5 that switches the touchpad in absolute mode that gives me trouble.
Right now in stock kernel synaptics driver does not register with
mousedev and only provides /dev/input/eventX interface. I want it to also
plug in into /dev/input/mouseX and /dev/psaux so programs that do not
have special code for event processing could still use it. The problem
is that conversion from absolute to relative mode in mousedev isn't
working well for touchpads. When to take your finger off touchpad and
touch it in other place mousedev does not account for that and calculates
huge delta which causes your cursor to jump.

Dmitry