]> git.baikalelectronics.ru Git - kernel.git/commit
Input: synaptics - add support for ForcePads
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 30 Aug 2014 20:51:06 +0000 (13:51 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 9 Sep 2014 23:52:28 +0000 (16:52 -0700)
commit9890ab73ebb62d59d43964c06677255c4899b2fb
treeadac88364384f1481ff4c40e3f8203b2350eeda6
parente510cf481380e3d090d30b54949cc68838c423ff
Input: synaptics - add support for ForcePads

ForcePads are found on HP EliteBook 1040 laptops. They lack any kind of
physical buttons, instead they generate primary button click when user
presses somewhat hard on the surface of the touchpad. Unfortunately they
also report primary button click whenever there are 2 or more contacts
on the pad, messing up all multi-finger gestures (2-finger scrolling,
multi-finger tapping, etc). To cope with this behavior we introduce a
delay (currently 50 msecs) in reporting primary press in case more
contacts appear.

Cc: stable@vger.kernel.org
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/synaptics.c
drivers/input/mouse/synaptics.h