Skip to content

Commit

Permalink
Input: cyapa - add gen5 trackpad read baseline support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dudley Du authored and Dmitry Torokhov committed Jan 18, 2015
1 parent 5812d30 commit 6499d39
Show file tree
Hide file tree
Showing 2 changed files with 642 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/input/mouse/cyapa.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/*
Expand Down
Loading

0 comments on commit 6499d39

Please sign in to comment.