Re: [PATCH] HID: magicmouse: Set multi-touch keybits for Magic Mouse

From: Jiri Kosina
Date: Fri May 05 2017 - 09:32:15 EST


On Fri, 7 Apr 2017, Thierry Escande wrote:

> From: Che-Liang Chiou <clchiou@xxxxxxxxxxxx>
>
> The driver emits multi-touch events for Magic Trackpad as well as Magic
> Mouse, but it does not set keybits that are related to multi-touch event
> for Magic Mouse; so set these keybits.
>
> The keybits that are not set cause trouble because user programs often
> probe these keybits for self-configuration and thus they cannot operate
> properly if the keybits are not set.
>
> One of such troubles is that libevdev will not be able to emit correct
> touch count, causing gestures library failed to do fling stop.
>
> Signed-off-by: Che-Liang Chiou <clchiou@xxxxxxxxxxxx>
> Signed-off-by: Thierry Escande <thierry.escande@xxxxxxxxxxxxx>

Applied to for-4.12/upstream-fixes. Thanks,

--
Jiri Kosina
SUSE Labs