Input: add BTN_TOOL_QUINTTAP for reporting 5 fingers on touchpad
authorDaniel Kurtz <djkurtz@chromium.org>
Wed, 24 Aug 2011 06:02:48 +0000 (23:02 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Aug 2011 06:08:29 +0000 (23:08 -0700)
commitd5051272fc4860e056e34c92080369a1b63c9378
tree0761ada8006bb6b2ce9647000cc871adfca6481e
parent4dc772d274abdedcccbcebab42d4bf0016ec2e80
Input: add BTN_TOOL_QUINTTAP for reporting 5 fingers on touchpad

"4-finger scroll" is a gesture supported by some applications and
operating systems.

"Resting thumb" is when a clickpad user rests a finger (e.g., a
thumb), in a "click zone" (typically the bottom of the touchpad) in
anticipation of click+move=select gestures.

Thus, "4-finger scroll + resting thumb" is a 5-finger gesture.
To allow userspace to detect this gesture, we send BTN_TOOL_QUINTTAP.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Acked-by: Chase Douglas <chase.douglas@canonical.com>
Acked-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/input-mt.c
include/linux/input.h