On Mon, Jul 25, 2011 at 4:27 PM, Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> wrote: > On Wed, Jul 20, 2011 at 09:38:58PM +0800, djkurtz@xxxxxxxxxxxx wrote: >> From: Daniel Kurtz <djkurtz@xxxxxxxxxxxx> >> >> Synaptics touchpads report increasing y from bottom to top. >> This is inverted from normal userspace "top of screen is 0" coordinates. >> Thus, the kernel driver reports inverted y coordinates to userspace. >> >> This patch refactors this inversion. >> > > I really do not see the point... The point is that this inversion is done in 3 places in the driver. Refactoring lets us document why this inversion is happening in just a single place. > > Thanks. > > -- > Dmitry > -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html