]> git.karo-electronics.de Git - linux-beck.git/commit
Input: synaptics - only report width on hardware that supports it
authorChris Bagwell <chris@cnpbagwell.com>
Mon, 19 Jul 2010 16:06:15 +0000 (09:06 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 20 Jul 2010 04:44:33 +0000 (21:44 -0700)
commit2a8e77102e02dd236ff276a2151073ed551d04f2
treebddb91775388cc6591d84cea04cc5084ab28c45b
parentc18fb1396eb809dbc16e51da273a1789f9d799bf
Input: synaptics - only report width on hardware that supports it

Synaptics devices report fixed value of 5 for finger/palm widths
on devices that do not support capability and driver further
hardcodes to 5.  Stop reporting this fixed value when its not
supported since its not useful.

This will aid applications so they can better auto-enable support
for multi-touch emulation and palm detection logic using finger
width only for devices that support width detection.

I can find no applications that currently require existence on
ABS_TOOL_WIDTH. Since only synaptics and bcm input devices
currently support this tool, it seems they must handle it
gracefully.

Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/synaptics.c