From: Vojtech Pavlik Date: Fri, 15 Jul 2005 06:50:08 +0000 (-0500) Subject: Input: psmouse - wheel mice (imps, exps) always have 3rd button X-Git-Tag: v2.6.13-rc5~106^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b4019d04895de7407c9989895c3664c24ed01f7;p=pandora-kernel.git Input: psmouse - wheel mice (imps, exps) always have 3rd button There are wheel mice that respond to Logitech probes and report that they have only 2 buttons (such as e-Aser mouse) and this stops the wheel from being used as a middle button. Change the driver to always report BTN_MIDDLE capability if a wheel is present. Also, never reset BTN_RIGHT capability in logips2pp code - there are no Logitech mice that have only one button and if some other mice happen to respond to Logitech's query we could do the wrong thing. Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed