From: Dmitry Torokhov Date: Mon, 9 Mar 2015 05:30:43 +0000 (-0700) Subject: Input: synaptics - fix middle button on Lenovo 2015 products X-Git-Tag: omap-for-v4.1/fixes-rc1~298^2~1^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc5465dc8a6d5cae8a0e1d8826bdcb2e4cb261ab;p=pandora-kernel.git Input: synaptics - fix middle button on Lenovo 2015 products On the X1 Carbon 3rd gen (with a 2015 broadwell cpu), the physical middle button of the trackstick (attached to the touchpad serio device, of course) seems to get lost. Actually, the touchpads reports 3 extra buttons, which falls in the switch below to the '2' case. Let's handle the case of odd numbers also, so that the middle button finds its way back. Cc: stable@vger.kernel.org Signed-off-by: Benjamin Tissoires Acked-by: Hans de Goede Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed