]> git.baikalelectronics.ru Git - kernel.git/commit
Input: psmouse - rework setting of BTN_MIDDLE capability
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 17 Nov 2009 06:12:21 +0000 (22:12 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 20 Nov 2009 08:52:12 +0000 (00:52 -0800)
commita924b136b6545089253cc03423110fb6dab55be0
tree86abf8a390575efe1bc0b678dbd27310ff351f59
parent47a586adc674689dced28beda2ac2e890d697d7e
Input: psmouse - rework setting of BTN_MIDDLE capability

Do not start protocol detection assuming that middle mouse is present,
instead let individual protocols explicitly set this capability.
This fixes issue with Synaptics touchpads pretending that they have
middle button when hardware clearly reports otherwise.

Reported-and-tested-by: Andrey Borzenkov <arvidjaar@mail.ru>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/hgpk.c
drivers/input/mouse/logips2pp.c
drivers/input/mouse/psmouse-base.c
drivers/input/mouse/sentelic.c
drivers/input/mouse/trackpoint.c