summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/synaptics.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2014-12-29 23:43:44 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-03-06 20:25:32 +0100
commitde4e374b401a736a2c278babe99b94756060d0e8 (patch)
treef0fe075ac130976e35c6a5eac5f7ec3e3b081d2e /drivers/input/mouse/synaptics.h
parentInput: psmouse - when comparing PNP IDs ignore case (diff)
downloadlinux-de4e374b401a736a2c278babe99b94756060d0e8.tar.xz
linux-de4e374b401a736a2c278babe99b94756060d0e8.zip
Input: synaptics - switch ForcePad detection to PNP IDs
According to Synaptics devices with ForcePads use SYN300D and SYN3014 as PNP IDs, so let's switch from DMI-bases detection scheme to PNP-based one, which should be more reliable. Suggested-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/synaptics.h')
-rw-r--r--drivers/input/mouse/synaptics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/mouse/synaptics.h b/drivers/input/mouse/synaptics.h
index aedc3299b14e..fb3838ca28de 100644
--- a/drivers/input/mouse/synaptics.h
+++ b/drivers/input/mouse/synaptics.h
@@ -168,6 +168,7 @@ struct synaptics_data {
unsigned long press_start;
bool press;
bool report_press;
+ bool is_forcepad;
};
void synaptics_module_init(void);