diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-12-18 10:02:39 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-12-18 10:02:39 -0800 |
commit | 6d32af019a45654b6eb3ae2ff17d51ba1f045bb4 (patch) | |
tree | 17d232cb65248c68b86aaec475f576b5134079e2 /drivers/input/mouse/trackpoint.h | |
parent | f20c86cd75f1c8c728dafd0218645ff3c5e8545d (diff) | |
parent | 27a560ba1d4f0a07a36e1de2cae839abe776e8f3 (diff) |
Merge branch 'next' into for-linus
Second round of input updates for 3.19.
Diffstat (limited to 'drivers/input/mouse/trackpoint.h')
-rw-r--r-- | drivers/input/mouse/trackpoint.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/input/mouse/trackpoint.h b/drivers/input/mouse/trackpoint.h index ecd0547964a..5617ed3a7d7 100644 --- a/drivers/input/mouse/trackpoint.h +++ b/drivers/input/mouse/trackpoint.h @@ -70,6 +70,9 @@ #define TP_UP_THRESH 0x5A /* Used to generate a 'click' on Z-axis */ #define TP_Z_TIME 0x5E /* How sharp of a press */ #define TP_JENKS_CURV 0x5D /* Minimum curvature for double click */ +#define TP_DRIFT_TIME 0x5F /* How long a 'hands off' condition */ + /* must last (x*107ms) for drift */ + /* correction to occur */ /* * Toggling Flag bits @@ -120,6 +123,7 @@ #define TP_DEF_UP_THRESH 0xFF #define TP_DEF_Z_TIME 0x26 #define TP_DEF_JENKS_CURV 0x87 +#define TP_DEF_DRIFT_TIME 0x05 /* Toggles */ #define TP_DEF_MB 0x00 @@ -137,6 +141,7 @@ struct trackpoint_data unsigned char draghys, mindrag; unsigned char thresh, upthresh; unsigned char ztime, jenks; + unsigned char drift_time; /* toggles */ unsigned char press_to_select; |