commit | 1d958c83c8d77ad4977ae963017e87cec8cca9b5 | [log] [tgz] |
---|---|---|
author | Henrik Rydberg <rydberg@euromail.se> | Tue Sep 21 23:22:39 2010 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Tue Sep 21 23:22:39 2010 +0200 |
tree | 71ff2c0c756cb973d6d46dd0556138d05b78af4d | |
parent | 1f01a1fe167f588c8b6b449fde2f5427ca940423 [diff] |
HID: 3m: Correct touchscreen emulation The current code sometimes misses to report the last BTN_TOUCH event when multiple fingers are lifted simultaneously. With the introduction of MT slots, the tracking id is available to determine the oldest active contact. Use this information to simplify and correct the touchscreen emulation logic. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> Acked-by: Stéphane Chatty <chatty@enac.fr> Signed-off-by: Jiri Kosina <jkosina@suse.cz>