aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2014-05-21 11:15:56 -0400
committerJiri Kosina <jkosina@suse.cz>2014-05-22 05:11:46 -0400
commitba391e5a5ac6697b8bcae8c0d01439cb765d9ef8 (patch)
treecf04199bb71cffd6c38ecce910dff92d131c675b /include/linux/hid.h
parent876e7a8a111a4277ea35e5314a5fafc18346d3ca (diff)
HID: rmi: do not handle touchscreens through hid-rmi
Currently, hid-rmi drives every Synaptics product, but the touchscreens on the Windows tablets should be handled through hid-multitouch. Instead of providing a long list of PIDs, rely on the scan_report capability to detect which should go to hid-multitouch, and which should not go to hid-rmi. related bug: https://bugzilla.kernel.org/show_bug.cgi?id=74241 https://bugzilla.redhat.com/show_bug.cgi?id=1089583 Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r--include/linux/hid.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index 54f855b2c902..8ce9ff4d50af 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -299,6 +299,9 @@ struct hid_item {
299 299
300/* 300/*
301 * HID device groups 301 * HID device groups
302 *
303 * Note: HID_GROUP_ANY is declared in linux/mod_devicetable.h
304 * and has a value of 0x0000
302 */ 305 */
303#define HID_GROUP_GENERIC 0x0001 306#define HID_GROUP_GENERIC 0x0001
304#define HID_GROUP_MULTITOUCH 0x0002 307#define HID_GROUP_MULTITOUCH 0x0002
@@ -306,6 +309,11 @@ struct hid_item {
306#define HID_GROUP_MULTITOUCH_WIN_8 0x0004 309#define HID_GROUP_MULTITOUCH_WIN_8 0x0004
307 310
308/* 311/*
312 * Vendor specific HID device groups
313 */
314#define HID_GROUP_RMI 0x0100
315
316/*
309 * This is the global environment of the parser. This information is 317 * This is the global environment of the parser. This information is
310 * persistent for main-items. The global environment can be saved and 318 * persistent for main-items. The global environment can be saved and
311 * restored with PUSH/POP statements. 319 * restored with PUSH/POP statements.