Revert "HID: magicmouse: Set multi-touch keybits for Magic Mouse"
authorDaniel Stone <daniels@collabora.com>
Thu, 15 Jun 2017 12:35:50 +0000 (13:35 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 20 Jun 2017 08:38:17 +0000 (10:38 +0200)
commit53145c2e354b5a5ed031cec7472b4f16bab060c7
treee826c0937d617c6e84e4cc28a4442cfb7d0debdd
parent3db28271f0feae129262d30e41384a7c4c767987
Revert "HID: magicmouse: Set multi-touch keybits for Magic Mouse"

Setting these bits causes libinput to fail to initialize the device;
setting BTN_TOUCH and BTN_TOOL_FINGER causes it to treat the mouse as a
touchpad, and it then refuses to continue when it discovers ABS_X is not
set.

This breaks all known Wayland compositors, as well as Xorg when the
libinput driver is being used.

This reverts commit f4b65b9563216b3e01a5cc844c3ba68901d9b195.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Cc: Che-Liang Chiou <clchiou@chromium.org>
Cc: Thierry Escande <thierry.escande@collabora.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-magicmouse.c