Re: [PATCH] HID: multitouch: handle external buttons for Precision Touchpads

From: Jiri Kosina
Date: Mon Nov 28 2016 - 08:37:48 EST


On Fri, 25 Nov 2016, Benjamin Tissoires wrote:

> According to https://msdn.microsoft.com/en-us/library/windows/hardware/mt604195(v=vs.85).aspx
> external buttons have some weird usage mapping:
> - Button 2 Indicates Button State for external button for primary
> (default left) clicking.
> - Button 3 Indicates Button State for external button for secondary
> (default right) clicking.
>
> So in the current state, the buttons are mapped to right and middle.
> Move the usage by one to correctly map the external buttons.
>
> Tested-by: Chris Chiu <chiu@xxxxxxxxxxxx>
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>

Applied to for-4.10/multitouch. Thanks,

--
Jiri Kosina
SUSE Labs