summaryrefslogtreecommitdiff
path: root/src/synproto.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2008-09-15 00:15:44 +0200
committerPeter Hutterer <peter.hutterer@redhat.com>2008-09-17 12:25:55 +0930
commitf9a0653898631539a984852fe5e806f6a39f7fe1 (patch)
treeee4e5df4266832970aab0716075cd707895abef0 /src/synproto.h
parent3097bb31a68151a953668d4581f75d3e08947d68 (diff)
ReadDevDimensions on opened device
The auto-dev probing requires opening the device locally to determine the type of device, so that the right protocol can be assigned. However, all other setup work should be performed during initialization of the assigned and opened device. This patch moves the read-device-dimensions functionality from some special cases during the probe process to the initialization routine, where it can be used for all supported devices. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Diffstat (limited to 'src/synproto.h')
-rw-r--r--src/synproto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synproto.h b/src/synproto.h
index 246adbd..ec398ae 100644
--- a/src/synproto.h
+++ b/src/synproto.h
@@ -96,7 +96,7 @@ struct SynapticsProtocolOperations {
struct SynapticsProtocolOperations *proto_ops,
struct CommData *comm, struct SynapticsHwState *hwRet);
Bool (*AutoDevProbe)(LocalDevicePtr local);
- Bool (*ProbeDevice)(LocalDevicePtr local, char* name);
+ void (*ReadDevDimensions)(LocalDevicePtr local);
};
extern struct SynapticsProtocolOperations psaux_proto_operations;