summaryrefslogtreecommitdiff
path: root/src/synproto.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-07-23 15:03:42 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-09-01 13:21:51 +1000
commit81ad2e389d11691d5c2687d83150e8e9033cfe76 (patch)
tree2463252e1a12d79c110d39eef3d2ca23d32f4ed8 /src/synproto.h
parentb7dbe57332bd3d009ea60038f555ae1ef7e17e85 (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.h12
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;