commit | 6de58dd625a7645008c5c450bf97a5793faf58c3 | [log] [tgz] |
---|---|---|
author | Daniel Kurtz <djkurtz@chromium.org> | Tue Aug 23 23:00:24 2011 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Aug 23 23:07:56 2011 -0700 |
tree | 0b01737e03693592824857412dce4e01f4b4e22d | |
parent | 66fd9385ee9c582ee88031ba5028748cb38c986d [diff] |
Input: synaptics - refactor y inversion 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. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Acked-by: Chase Douglas <chase.douglas@canonical.com> Acked-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>