linux-uconsole/drivers/input
Hans de Goede 36e6781e91 Input: cypress_ps2 - don't report as a button pads
commit 6797b39e6f upstream.

The cypress PS/2 trackpad models supported by the cypress_ps2 driver
emulate BTN_RIGHT events in firmware based on the finger position, as part
of this no motion events are sent when the finger is in the button area.

The INPUT_PROP_BUTTONPAD property is there to indicate to userspace that
BTN_RIGHT events should be emulated in userspace, which is not necessary
in this case.

When INPUT_PROP_BUTTONPAD is advertised userspace will wait for a motion
event before propagating the button event higher up the stack, as it needs
current abs x + y data for its BTN_RIGHT emulation. Since in the
cypress_ps2 pads don't report motion events in the button area, this means
that clicks in the button area end up being ignored, so
INPUT_PROP_BUTTONPAD actually causes problems for these touchpads, and
removing it fixes:

https://bugs.freedesktop.org/show_bug.cgi?id=76341

Reported-by: Adam Williamson <awilliam@redhat.com>
Tested-by: Adam Williamson <awilliam@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-03 12:01:04 -07:00
..
gameport Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
joystick Input: xpad - add signature for Razer Onza Classic Edition 2013-12-20 07:45:06 -08:00
keyboard Input: allow deselecting serio drivers even without CONFIG_EXPERT 2013-12-11 22:36:28 -08:00
misc Input - arizona-haptics: Fix double lock of dapm_mutex 2014-03-06 21:30:12 -08:00
mouse Input: cypress_ps2 - don't report as a button pads 2014-04-03 12:01:04 -07:00
serio Input: allow deselecting serio drivers even without CONFIG_EXPERT 2013-12-11 22:36:28 -08:00
tablet Input: wacom - make sure touch_max is set for touch devices 2014-03-31 09:58:14 -07:00
touchscreen Input: usbtouchscreen - separate report and transmit buffer size handling 2013-12-20 07:45:08 -08:00
apm-power.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00
evbug.c
evdev.c Input: evdev - fall back to vmalloc for client event buffer 2013-12-04 10:57:18 -08:00
ff-core.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00
ff-memless.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00
input-compat.c compat: Use COMPAT_USE_64BIT_TIME in the input subsystem 2012-02-20 12:48:47 -08:00
input-compat.h compat: Use COMPAT_USE_64BIT_TIME in the input subsystem 2012-02-20 12:48:47 -08:00
input-mt.c Input: MT - handle semi-mt devices in core 2013-04-07 21:02:32 -07:00
input-polldev.c Merge commit 'v3.2-rc3' into next 2011-11-29 01:51:07 -08:00
input.c Input: allocate absinfo data when setting ABS capability 2014-01-09 12:24:24 -08:00
joydev.c Input: fix use-after-free introduced with dynamic minor changes 2012-10-22 08:50:37 +03:00
Kconfig Input: mousedev - allow disabling even without CONFIG_EXPERT 2013-12-11 22:36:28 -08:00
Makefile Input: matrix-keymap - uninline and prepare for device tree support 2012-05-10 22:38:47 -07:00
matrix-keymap.c input: Export matrix_keypad_parse_of_params() 2013-04-19 00:31:13 +02:00
mousedev.c Input: mousedev - fix race when creating mixed device 2014-04-03 12:01:04 -07:00
sparse-keymap.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00