• Chris Bagwell's avatar
    Input: synaptics - only report width on hardware that supports it · 2a8e7710
    Chris Bagwell authored
    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: default avatarChris Bagwell <chris@cnpbagwell.com>
    Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
    2a8e7710
synaptics.c 21.9 KB