]> git.hungrycats.org Git - linux/commit
HID: magicmouse: Don't report REL_{X, Y} for Magic Trackpad
authorChase Douglas <chase.douglas@canonical.com>
Tue, 11 Jan 2011 18:37:50 +0000 (19:37 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Feb 2011 22:54:25 +0000 (14:54 -0800)
commit8e6b41c76c5b8a27b2abd7b9f6ed0877987fd11b
treedb9f177a41699815804e6f6b17c9b9dc6d6b7011
parent922d5699248b22e97a45b175966f19c8f77fe6d3
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 <chase.douglas@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hid/hid-magicmouse.c