summaryrefslogtreecommitdiff
path: root/src/synproto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/synproto.c')
-rw-r--r--src/synproto.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/synproto.c b/src/synproto.c
index fc2b157..9f042b5 100644
--- a/src/synproto.c
+++ b/src/synproto.c
@@ -41,3 +41,10 @@ SynapticsHwStateFree(struct SynapticsHwState **hw)
free(*hw);
*hw = NULL;
}
+
+void
+SynapticsCopyHwState(struct SynapticsHwState *dst,
+ const struct SynapticsHwState *src)
+{
+ *dst = *src;
+}