Re: [PATCH] Input: mousedev - fix regression of inverting axes
From: Dmitry Torokhov
Date: Sat Aug 21 2010 - 12:49:52 EST
On Sat, Aug 21, 2010 at 03:50:03PM +0200, Christoph Fritz wrote:
> On Fri, Aug 20, 2010 at 10:33:16PM +0200, Bruno Prémont wrote:
> > Somewhere between 2.6.35 and Linus's tree as of this writing gpm
> > started moving its cursor to the opposite direction of mouse movement.
> >
> > e.g. moving mouse up causes cursor to move down, moving mouse left
> > causes cursor to go right
> >
> > Under 2.6.35 the cursor moved into the same direction as the mouse.
> >
> > Note, mouse is synaptics touchpad (Acer TravelMate660):
> > Synaptics Touchpad, model: 1, fw: 5.8, id: 0x9d48b1, caps: 0x904713/0x4006/0x0
> >
> >
> > When I get around to it I will try to get more precise information as
> > to when this regression got introduced, eventually bisecting.
> >
> > Bruno
>
> Thanks Bruno,
> I successfully tested the patch below with gpm.
>
> ---
> Introduced by 987a6c0298260b7aa40702b349282554d6180e4b a swap in max/min
> calculation gets fixed by this patch.
>
> Reported-by: Bruno Prémont <bonbons@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Christoph Fritz <chf.fritz@xxxxxxxxxxxxxx>
Applied, thanks Christoph.
--
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/