Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

Input: xen-kbdfront - do not advertise multi-touch pressure support

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>

authored by

Oleksandr Andrushchenko and committed by
Dmitry Torokhov
02a0d921 8b7e9d9e

-2
-2
drivers/input/misc/xen-kbdfront.c
··· 326 326 0, width, 0, 0); 327 327 input_set_abs_params(mtouch, ABS_MT_POSITION_Y, 328 328 0, height, 0, 0); 329 - input_set_abs_params(mtouch, ABS_MT_PRESSURE, 330 - 0, 255, 0, 0); 331 329 332 330 ret = input_mt_init_slots(mtouch, num_cont, INPUT_MT_DIRECT); 333 331 if (ret) {