[PATCH synaptics 03/17] eventcomm: extern EventReadHwState to allow for testing.
Peter Hutterer
peter.hutterer at who-t.net
Sun Mar 20 19:08:20 PDT 2011
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
src/eventcomm.c | 2 +-
src/eventcomm.h | 6 ++++++
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/eventcomm.c b/src/eventcomm.c
index f55c88f..c32ceba 100644
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -337,7 +337,7 @@ static int count_fingers(const struct CommData *comm)
}
-static Bool
+Bool
EventReadHwState(InputInfoPtr pInfo,
struct CommData *comm, struct SynapticsHwState *hwRet)
{
diff --git a/src/eventcomm.h b/src/eventcomm.h
index 8fd7bcb..1938d5f 100644
--- a/src/eventcomm.h
+++ b/src/eventcomm.h
@@ -29,9 +29,15 @@
#include <linux/input.h>
#include <linux/version.h>
+#include <xf86Xinput.h>
+#include "synproto.h"
/* for auto-dev: */
#define DEV_INPUT_EVENT "/dev/input"
#define EVENT_DEV_NAME "event"
+extern Bool
+EventReadHwState(InputInfoPtr pInfo,
+ struct CommData *comm, struct SynapticsHwState *hwRet);
+
#endif /* _EVENTCOMM_H_ */
--
1.7.4
More information about the xorg-devel
mailing list