From: Henrik Rydberg Date: Tue, 21 Sep 2010 21:22:39 +0000 (+0200) Subject: HID: 3m: Correct touchscreen emulation X-Git-Tag: v2.6.37-rc1~144^2~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d958c83c8d77ad4977ae963017e87cec8cca9b5;p=pandora-kernel.git 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 Acked-by: Stéphane Chatty Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed