Input: synaptics - report multi-taps only if supported by the device
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 20 Nov 2008 20:24:42 +0000 (15:24 -0500)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 20 Nov 2008 22:08:39 +0000 (17:08 -0500)
commite42b6646a8298fe06a33a0f68dab661335f5db6e
tree1c24969f34b1ffc52c1578d4bf52b60fd611d6d7
parentcec87e38e92cdfe86678ca2a5c29c38d05127601
Input: synaptics - report multi-taps only if supported by the device

According to Section 2.4.4 of the Synaptics TouchPad Interfacing
Guide, bit 2 specifies if multi-finger detection is provided by
the touchpad. Thus, only set BTN_TOOL_DOUBLETAP and
BTN_TOOL_TRIPLETAP if the device actually supports it.

Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/synaptics.c