aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/elantech.h
diff options
context:
space:
mode:
authorJJ Ding <jj_ding@emc.com.tw>2011-09-09 13:26:16 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-09-09 13:34:36 -0400
commit230282a77bcec97f4d0a54e50a44caab5eb39d5c (patch)
tree4944a12840bb35cabeef7b63803ed8cb0f4bab1c /drivers/input/mouse/elantech.h
parent461a791765da501f73e3d5957788267101e800d2 (diff)
Input: elantech - use firmware provided x, y ranges
With newer hardware, the touchpad provides range info. Let's use it. Signed-off-by: JJ Ding <jj_ding@emc.com.tw> Acked-by: Daniel Kurtz <djkurtz@chromium.org> Acked-by: Éric Piel <eric.piel@tremplin-utc.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/elantech.h')
-rw-r--r--drivers/input/mouse/elantech.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/mouse/elantech.h b/drivers/input/mouse/elantech.h
index 1c5894efda5a..b54ea27d10af 100644
--- a/drivers/input/mouse/elantech.h
+++ b/drivers/input/mouse/elantech.h
@@ -93,13 +93,14 @@ struct elantech_data {
93 unsigned char reg_25; 93 unsigned char reg_25;
94 unsigned char reg_26; 94 unsigned char reg_26;
95 unsigned char debug; 95 unsigned char debug;
96 unsigned char capabilities; 96 unsigned char capabilities[3];
97 bool paritycheck; 97 bool paritycheck;
98 bool jumpy_cursor; 98 bool jumpy_cursor;
99 bool reports_pressure; 99 bool reports_pressure;
100 unsigned char hw_version; 100 unsigned char hw_version;
101 unsigned int fw_version; 101 unsigned int fw_version;
102 unsigned int single_finger_reports; 102 unsigned int single_finger_reports;
103 unsigned int y_max;
103 unsigned char parity[256]; 104 unsigned char parity[256];
104}; 105};
105 106