Input: xen-kbdfront - do not advertise multi-touch pressure support
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Tue, 2 Jan 2018 17:39:25 +0000 (09:39 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Mar 2018 09:24:32 +0000 (10:24 +0100)
commit9d27ab346384e72f32afbd72b75864bc8ab9675c
tree5e89f58a2208f7d8518f23d8bd3369c5264ef663
parent4132ec352700848531a90524226f7967d61a6809
Input: xen-kbdfront - do not advertise multi-touch pressure support

[ Upstream commit 02a0d9216d4daf6a58d88642bd2da2c78c327552 ]

Some user-space applications expect multi-touch pressure
on contact to be reported if it is advertised in device
properties. Otherwise, such applications may treat reports
not as actual touches, but hovering. Currently this is
only advertised, but not reported.
Fix this by not advertising that ABS_MT_PRESSURE is supported.

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Andrii Chepurnyi <andrii_chepurnyi@epam.com>
Patchwork-Id: 10140017
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/misc/xen-kbdfront.c