summaryrefslogtreecommitdiff
path: root/synproto.h
diff options
context:
space:
mode:
Diffstat (limited to 'synproto.h')
-rw-r--r--synproto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/synproto.h b/synproto.h
index 11a9b98..6e45334 100644
--- a/synproto.h
+++ b/synproto.h
@@ -55,11 +55,14 @@ enum SynapticsProtocol {
};
struct synapticshw;
+struct _SynapticsPrivateRec;
struct SynapticsProtocolOperations {
void (*DeviceOnHook)(LocalDevicePtr local);
void (*DeviceOffHook)(LocalDevicePtr local);
Bool (*QueryHardware)(LocalDevicePtr local, struct synapticshw *synhw, Bool *hasGuest);
+ Bool (*ReadHwState)(LocalDevicePtr local, struct _SynapticsPrivateRec *priv,
+ struct SynapticsHwState *hwRet);
};
extern struct SynapticsProtocolOperations psaux_proto_operations;