From: Yufeng Shen Date: Wed, 4 Jul 2012 16:15:43 +0000 (-0400) Subject: HID: magicmouse: Implement Multi-touch Protocol B (MT-B) X-Git-Tag: v3.6-rc1~119^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6d1bc1d5fb0f6ce817bef188a3d93255db03992;p=pandora-kernel.git HID: magicmouse: Implement Multi-touch Protocol B (MT-B) The driver for Apple Magic Trackpad/Mouse currently uses Multi-touch Protocol A (MT-A) to report touch events and uses ABS_MT_TRACKING_ID to do finger tracking. The fact of the device being able to track individual finger makes it possible to report touch events using MT-B. This patch converts the driver to use MT-B as it is preferred to MT-A. V4: Removed BTN_TOUCH evnet. V3: Removed the single touch related logic. V2: Converting entirely to MT-B as Henrik Rydberg suggested. Signed-off-by: Yufeng Shen Reviewed-and-tested-by: Henrik Rydberg Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed