Comment 2 for bug 1456881

Revision history for this message
Shih-Yuan Lee (fourdollars) wrote :

It seems the following commit in vivid is also needed for the better support for trusty and utopic.

Author: Seth Forshee <email address hidden>
AuthorDate: Fri Mar 20 11:06:52 2015 -0500
Commit: Andy Whitcroft <email address hidden>
CommitDate: Fri Mar 27 10:44:38 2015 +0000

    HID: multitouch: Add support for button type usage

    According to [1], Windows Precision Touchpad devices must supply
    a button type usage in the device capabilities feature report. A
    value of 0 indicates that the device contains a depressible
    button (i.e. it's a click-pad) whereas a value of 1 indicates
    a non-depressible button. Add support for this usage and set
    INPUT_PROP_BUTTONPAD on the touchpad input device whenever a
    depressible button is present.

    [1] https://msdn.microsoft.com/en-us/library/windows/hardware/dn467314(v=vs.85).aspx

    Signed-off-by: Seth Forshee <email address hidden>
    Reviewed-by: Benjamin Tissoires <email address hidden>
    Signed-off-by: Jiri Kosina <email address hidden>

    (cherry picked from commit 2c6e0277e1eab3df5db81c59e408b7b1c14b1b72
     git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git)
    Acked-by: Stefan Bader <email address hidden>
    Acked-by: Chris J Arges <email address hidden>
    Signed-off-by: Andy Whitcroft <email address hidden>