summaryrefslogtreecommitdiff
path: root/synproto.h
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2007-04-11 23:33:57 +0200
committerPeter Osterlund <petero2@telia.com>2007-04-11 23:33:57 +0200
commit473912f50ffd2b26bd2f638f9d87f86cf60e2dd6 (patch)
tree6609fe029df997bb996099af77d4bd545b9e7f28 /synproto.h
parent1b258685118a39555616a7b3d08544162790850d (diff)
Add a config option to prevent the driver from grabbing the event
device for exclusive use.
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,