diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-07-23 15:03:42 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-09-01 13:21:51 +1000 |
commit | 81ad2e389d11691d5c2687d83150e8e9033cfe76 (patch) | |
tree | 2463252e1a12d79c110d39eef3d2ca23d32f4ed8 /src/synproto.h | |
parent | b7dbe57332bd3d009ea60038f555ae1ef7e17e85 (diff) |
Use InputInfoPtr instead of LocalDevicePtr.
The latter is about to be removed from the server, InputInfoPtr has been
around in all supported server versions.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/synproto.h')
-rw-r--r-- | src/synproto.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/synproto.h b/src/synproto.h index c851271..96ddf3e 100644 --- a/src/synproto.h +++ b/src/synproto.h @@ -83,14 +83,14 @@ struct SynapticsHwInfo; struct CommData; struct SynapticsProtocolOperations { - void (*DeviceOnHook)(LocalDevicePtr local, struct _SynapticsParameters *para); - void (*DeviceOffHook)(LocalDevicePtr local); - Bool (*QueryHardware)(LocalDevicePtr local); - Bool (*ReadHwState)(LocalDevicePtr local, + void (*DeviceOnHook)(InputInfoPtr pInfo, struct _SynapticsParameters *para); + void (*DeviceOffHook)(InputInfoPtr pInfo); + Bool (*QueryHardware)(InputInfoPtr pInfo); + Bool (*ReadHwState)(InputInfoPtr pInfo, struct SynapticsProtocolOperations *proto_ops, struct CommData *comm, struct SynapticsHwState *hwRet); - Bool (*AutoDevProbe)(LocalDevicePtr local); - void (*ReadDevDimensions)(LocalDevicePtr local); + Bool (*AutoDevProbe)(InputInfoPtr pInfo); + void (*ReadDevDimensions)(InputInfoPtr pInfo); }; extern struct SynapticsProtocolOperations psaux_proto_operations; |