summaryrefslogtreecommitdiff
path: root/src/ps2comm.c
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/ps2comm.c
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/ps2comm.c')
-rw-r--r--src/ps2comm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ps2comm.c b/src/ps2comm.c
index cc2a202..7dceb04 100644
--- a/src/ps2comm.c
+++ b/src/ps2comm.c
@@ -759,5 +759,5 @@ struct SynapticsProtocolOperations psaux_proto_operations = {
PS2QueryHardware,
PS2ReadHwState,
PS2AutoDevProbe,
- NULL /* ProbeDevice */
+ NULL /* ReadDevDimensions */
};