summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/cyapa.h
diff options
context:
space:
mode:
authorDudley Du <dudl@cypress.com>2015-01-18 07:16:01 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-01-18 09:10:32 +0100
commit6499d390a166c28fdd94eb6c71b309adb15ae826 (patch)
treeda7fd8066dd0dc4fc5b880dfc8f13b1f27301e5a /drivers/input/mouse/cyapa.h
parentInput: cyapa - add gen5 trackpad firmware update support (diff)
downloadlinux-6499d390a166c28fdd94eb6c71b309adb15ae826.tar.xz
linux-6499d390a166c28fdd94eb6c71b309adb15ae826.zip
Input: cyapa - add gen5 trackpad read baseline support
Add read baseline function support for gen5 trackpad device, it can be used through sysfs baseline interface. Signed-off-by: Dudley Du <dudl@cypress.com> Tested-by: Jeremiah Mahler <jmmahler@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/cyapa.h')
-rw-r--r--drivers/input/mouse/cyapa.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/mouse/cyapa.h b/drivers/input/mouse/cyapa.h
index 51fcdb2a11a6..adc9ed5dcb0e 100644
--- a/drivers/input/mouse/cyapa.h
+++ b/drivers/input/mouse/cyapa.h
@@ -263,6 +263,8 @@ struct cyapa {
u8 y_origin; /* Y Axis Origin: 0 = top; 1 = bottom. */
int electrodes_x; /* Number of electrodes on the X Axis*/
int electrodes_y; /* Number of electrodes on the Y Axis*/
+ int electrodes_rx; /* Number of Rx electrodes */
+ int aligned_electrodes_rx; /* 4 aligned */
int max_z;
/*