Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CHROMIUM: 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> Change-Id: Ib8dfb543f5b6017609eb133fdc7be325189ccbfa BUG=chromium-os:19094 TEST=builds clean; cursor still moves up and down correctly Reviewed-on: http://gerrit.chromium.org/gerrit/4254 Reviewed-by: Andrew de los Reyes <adlr@chromium.org> Reviewed-by: Daniel Kurtz <djkurtz@chromium.org> Tested-by: Daniel Kurtz <djkurtz@chromium.org>
- Loading branch information