]> git.baikalelectronics.ru Git - kernel.git/commit
Input: add MT_TOOL_PALM
authorCharlie Mooney <charliemooney@chromium.org>
Fri, 20 Mar 2015 16:40:17 +0000 (09:40 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 20 Mar 2015 16:45:28 +0000 (09:45 -0700)
commit45684c169d4ae3be745513c63f3c1f193ed9d9a2
tree7771241d9f3e0eb75125ea5f16c1877a8cd78995
parent5fc3da40ab495a223e517288daeabb288cdac875
Input: add MT_TOOL_PALM

Currently there are only two "tools" that can be specified by a multi-touch
driver: MT_TOOL_FINGER and MT_TOOL_PEN. In working with Elan (The touch
vendor) and discussing their next-gen devices it seems that it will be
useful to have more tools so that their devices can give the upper layers
of the stack hints as to what is touching the sensor.

In particular they have new experimental firmware that can better
differentiate between palms vs fingertips and would like to plumb a patch
so that we can use their hints in higher-level gesture soft- ware.  The
firmware on the device can reasonably do a better job of palm detection
because it has access to all of the raw sensor readings as opposed to just
the width/pressure/etc that are exposed by the driver.  As such, the
firmware can characterize what a palm looks like in much finer-grained
detail and this change would allow such a device to share its findings with
the kernel.

Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/input/multi-touch-protocol.txt
include/uapi/linux/input.h