summaryrefslogtreecommitdiff
path: root/src/ps2comm.c
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2012-02-07 14:38:33 -0800
committerChase Douglas <chase.douglas@canonical.com>2012-02-10 13:20:49 -0800
commit5486ab3486e1ba4a0ef8fc9efe4d243ea90f5794 (patch)
tree08e26b6a2969cb84512c0b41267eb67c80bb9c0f /src/ps2comm.c
parent5658a2f643cf7440009dde2fa74287332237c0b9 (diff)
Introduce SynapticsCopyHwState function
Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/ps2comm.c')
-rw-r--r--src/ps2comm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ps2comm.c b/src/ps2comm.c
index 74bd937..5b34414 100644
--- a/src/ps2comm.c
+++ b/src/ps2comm.c
@@ -650,7 +650,7 @@ PS2ReadHwStateProto(InputInfoPtr pInfo,
}
}
hw->millis = GetTimeInMillis();
- *hwRet = *hw;
+ SynapticsCopyHwState(hwRet, hw);
return TRUE;
}