summaryrefslogtreecommitdiff
path: root/lib/devres.c
diff options
context:
space:
mode:
authorDaniel van Vugt <vanvugt@gmail.com>2011-10-14 05:39:34 (GMT)
committerJiri Kosina <jkosina@suse.cz>2011-10-21 08:13:55 (GMT)
commitbca621421c53caf73f36e181d6e5fe41fe0da7a7 (patch)
tree196f178300d1b823640219ea7df7338ec52ac4af /lib/devres.c
parentfad9fbe8651e8abd9794d4b4c4133241aa3093b5 (diff)
downloadlinux-fsl-qoriq-bca621421c53caf73f36e181d6e5fe41fe0da7a7.tar.xz
HID: hid-magicmouse: Magic Trackpad has 1 button, not 2
hid-magicmouse was advertising the Apple Magic Trackpad as having 2 buttons (left and right) when it actually only has 1 button. Advertising multiple buttons makes Xorg disable all button 2 and 3 emulation (using multi-finger clicks). So Xorg users don't get working right/middle-click emulation out of the box. This patch makes hid-magicmouse correctly only report one real button for Magic Trackpad, which in turn makes Xorg enable multi-finger click support to emulate right/middle buttons. [http://launchpad.net/bugs/862094] Signed-off-by: Daniel van Vugt <vanvugt@gmail.com> Reviewed-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions