summaryrefslogtreecommitdiff
path: root/synproto.h
diff options
context:
space:
mode:
Diffstat (limited to 'synproto.h')
-rw-r--r--synproto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/synproto.h b/synproto.h
index ecc4357..ebb44f3 100644
--- a/synproto.h
+++ b/synproto.h
@@ -72,11 +72,12 @@ enum SynapticsProtocol {
SYN_PROTO_ALPS /* ALPS touchpad protocol */
};
+struct _SynapticsSHM;
struct SynapticsHwInfo;
struct CommData;
struct SynapticsProtocolOperations {
- void (*DeviceOnHook)(LocalDevicePtr local);
+ void (*DeviceOnHook)(LocalDevicePtr local, struct _SynapticsSHM *para);
void (*DeviceOffHook)(LocalDevicePtr local);
Bool (*QueryHardware)(LocalDevicePtr local, struct SynapticsHwInfo *synhw);
Bool (*ReadHwState)(LocalDevicePtr local, struct SynapticsHwInfo *synhw,