Re: Touchpad problems with 2.6.11-rc2

From: Dmitry Torokhov
Date: Wed Feb 02 2005 - 17:12:09 EST


On Wed, 02 Feb 2005 13:52:03 -0800 (PST), Peter Osterlund
<petero2@xxxxxxxxx> wrote:
>
> if (mousedev->touch) {
> + size = dev->absmax[ABS_X] - dev->absmin[ABS_X];
> + if (size == 0) size = xres;

Sorry, missed this piece first time around. Since we don't want to
rely on screen size anymore I think we should set size = 256 *
FRACTION_DENOM / 2 if device limits are not set up to just report raw
coords. What do you think?

--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/