diff options
author | Daniel Kurtz <djkurtz@chromium.org> | 2011-08-23 23:00:24 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-08-23 23:07:56 -0700 |
commit | 6de58dd625a7645008c5c450bf97a5793faf58c3 (patch) | |
tree | 0b01737e03693592824857412dce4e01f4b4e22d /drivers/input/mouse/synaptics.h | |
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>
Diffstat (limited to 'drivers/input/mouse/synaptics.h')
0 files changed, 0 insertions, 0 deletions