Thread (37 messages) flat view 37 messages, 4 authors, 2011-08-11

Re: [PATCH 1/9 v2] Input: synaptics - refactor y inversion

From: Daniel Kurtz <hidden>
Date: 2011-07-26 02:19:59
Also in: lkml

On Mon, Jul 25, 2011 at 4:27 PM, Dmitry Torokhov
[off-list ref] wrote:
On Wed, Jul 20, 2011 at 09:38:58PM +0800, djkurtz@chromium.org wrote:
quoted
From: Daniel Kurtz <redacted>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help