Re: [PATCH v2] HID: multitouch: Add support for button type usage
From: Seth Forshee
Date: Wed Mar 11 2015 - 13:25:51 EST
On Wed, Mar 11, 2015 at 12:19:13PM -0400, Jiri Kosina wrote:
> On Sat, 28 Feb 2015, Seth Forshee wrote:
> > According to , 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.
> > v2: Add string for button type usage in debugfs.
> >  https://msdn.microsoft.com/en-us/library/windows/hardware/dn467314(v=vs.85).aspx
> > Signed-off-by: Seth Forshee <seth.forshee@xxxxxxxxxxxxx>
> I'd like to have Benjamin's Ack on this. Adding him to CC. Please also see
> 015fdaa9f8ed ("HID: multitouch: add support of clickpads").
That commit does also gets INPUT_PROP_BUTTONPAD set for my touchpad.
I'll leave it up to the two of you to decide whether or not there's
benefit in also using the usage to set the property bit. I'll also
follow up with a v3 patch which resolves the conflicts with Benjamin's
Also, I should probably mention that I don't have any non-depressible
touchpads which set the button type usage that I can test with. If
anyone has such hardware it would be great to get this tested against
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/