evdev: Store positions for all touch points in the evdev device
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 22 Dec 2011 03:18:36 +0000 (22:18 -0500)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:27 +0000 (17:51 +0100)
commit267e7fc4e7d780ada740588c87996b53f6c22dd5
tree442c6b43c8794e3bda9c2ba868172d4820a675c9
parent8687708937062395e5b657a36a89d7606d31067d
evdev: Store positions for all touch points in the evdev device

We need to store all touchpoint positions so that if we just get an
ABS_MT_POSITION_X or Y event, we can pull the other coordinate from the
cache.  And we need this across invocations of evdev_input_device_data(),
so the accumulator approach doesn't work.

Instead, we go back to the approach of storing all this state in the
evdev device struct and we might as well just move the rel and abs state
there too.
compositor/evdev.c