HID: rmi: Support touchpads with external buttons
authorAndrew Duggan <aduggan@synaptics.com>
Thu, 8 Jan 2015 22:51:34 +0000 (14:51 -0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 12 Jan 2015 09:12:00 +0000 (10:12 +0100)
The external buttons on HID touchpads are connected as pass through devices and
button events are not reported in the rmi registers. As a result on these
devices we need to allow the HID generic desktop button events to be processed
by hid-input. Unfortunately, there is no way to query the touchpad to determine
that it has pass through buttons so the RMI_DEVICE_HAS_PHYS_BUTTONS should be
set manually when adding the device to rmi_id[].

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

No differences found