From: Chase Douglas Date: Tue, 11 Jan 2011 18:37:50 +0000 (+0100) Subject: HID: magicmouse: Don't report REL_{X, Y} for Magic Trackpad X-Git-Tag: v2.6.37.2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e6b41c76c5b8a27b2abd7b9f6ed0877987fd11b;p=pandora-kernel.git HID: magicmouse: Don't report REL_{X, Y} for Magic Trackpad [ Linus' tree commit 6a66bbd693c12f71697c61207aa18bc5a12da0ab ] With the recent switch to having the hid layer handle standard axis initialization, the Magic Trackpad now reports relative axes. This would be fine in the normal mode, but the driver puts the device in multitouch mode where no relative events are generated. Also, userspace software depends on accurate axis information for device type detection. Thus, ignoring the relative axes from the Magic Trackpad is best. Signed-off-by: Chase Douglas Signed-off-by: Jiri Kosina Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed