diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2008-09-15 00:15:44 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-09-17 12:25:55 +0930 |
commit | f9a0653898631539a984852fe5e806f6a39f7fe1 (patch) | |
tree | ee4e5df4266832970aab0716075cd707895abef0 /src/synproto.h | |
parent | 3097bb31a68151a953668d4581f75d3e08947d68 (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.h | 2 |
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; |