summaryrefslogtreecommitdiff
path: root/src/synapticsstr.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-03-09 14:20:35 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-03-14 08:46:42 +1000
commitf6c1efbc6d22f41fb8a4abd2f57db173a2ac3171 (patch)
treeb27f84249e8d54d817cc2812e6f0cb44dd9da6a6 /src/synapticsstr.h
parentbad1b75524f2fa882e9b6ac7160463fbd3b5cccf (diff)
Add an old_hw_state field to remember the last values
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'src/synapticsstr.h')
-rw-r--r--src/synapticsstr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/synapticsstr.h b/src/synapticsstr.h
index 92c64fb..b346293 100644
--- a/src/synapticsstr.h
+++ b/src/synapticsstr.h
@@ -193,6 +193,7 @@ struct _SynapticsPrivateRec
void *proto_data; /* protocol-specific data */
struct SynapticsHwState *hwState;
+ struct SynapticsHwState *old_hw_state; /* previous hw state */
const char *device; /* device node */
Bool shm_config; /* True when shared memory area allocated */