summaryrefslogtreecommitdiff
path: root/src/synaptics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/synaptics.c')
-rw-r--r--src/synaptics.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index b482541..b069371 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -114,6 +114,17 @@ static int HandleState(SynapticsPrivate *priv, struct SynapticsHwState *, unsign
Bool from_timer);
static void ScaleCoordinates(SynapticsPrivate * priv,
struct SynapticsHwState *hw);
+
+/**
+ * When building the core library, the alternative backends may not be
+ * linked (for non-X11 drivers). We still need to resolve it though.
+ * FIXME: need a better way to handle this
+ */
+struct SynapticsProtocolOperations event_proto_operations;
+struct SynapticsProtocolOperations psm_proto_operations;
+struct SynapticsProtocolOperations psaux_proto_operations;
+struct SynapticsProtocolOperations alps_proto_operations;
+
const static struct {
const char *name;
struct SynapticsProtocolOperations *proto_ops;