From: Andrew Duggan Date: Thu, 8 Jan 2015 22:51:34 +0000 (-0800) Subject: HID: rmi: Support touchpads with external buttons X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~137^2^6~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79364d87af239e2029aeba3b82bd79c355b9bb86;p=pandora-kernel.git HID: rmi: Support touchpads with external buttons 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed