From: Hans de Goede Date: Sun, 12 Apr 2015 22:42:35 +0000 (-0700) Subject: Input: alps - non interleaved V2 dualpoint has separate stick button bits X-Git-Tag: omap-for-v4.1/fixes-rc1~145^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92bac83dd79e60e65c475222e41a992a70434beb;p=pandora-kernel.git Input: alps - non interleaved V2 dualpoint has separate stick button bits Non interleaved V2 dualpoint touchpad / stick combos have separate stick button bits in the touchpad packets, if we do not check these then the trackpoint buttons will not work when using the touchpad, and when pressed when the user starts using the touchpad will report a release event even though the button is still pressed. This commit fixes this by checking the separate bits, note that we simply combine the buttons, since the hardware does the same when using the touchpad buttons with the trackpoint, so we do not have enough information to properly separate them. Reported-by: Hans de Bruin Signed-off-by: Hans de Goede Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed