evdev: Don't transform device->abs.x/y in place
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 29 Aug 2013 05:12:24 +0000 (22:12 -0700)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:33 +0000 (17:51 +0100)
commit51e2c3f40e9e59ccfcd21386858fb3e877b26a4b
tree32e63ee543997ff4c746fca0edb343186777b14c
parent1625aa0fc2e6aaf0bb1fd53a1f3f39f3f11ab9ce
evdev: Don't transform device->abs.x/y in place

We don't always get both an X and an Y event in a SYN report, so we end
up transforming the coordinate we don't get twice.  For example, if we
only receive an ABS_X event, we transform the already transformed
device->abs.y again in transform_absolute() when applying the calibration.
src/evdev.c