commit | 3937354eef0a86a67fe3649254a0fcd094a4ab13 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Wed Dec 21 22:18:36 2011 -0500 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu Dec 22 11:32:39 2011 -0500 |
tree | aa28a25f666bbc70a3bcbec99be22f01a5902612 | |
parent | 3543ff4f823fbf17fae02d0226fd50ac0af95e32 [diff] |
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.