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)
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>

No differences found