diff options
author | Alexandr Shadchin <alexandr.shadchin@gmail.com> | 2011-08-26 18:42:07 +0600 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-08-29 13:48:20 +1000 |
commit | 45d4a6bec01deac5cca6639c55062b110462155f (patch) | |
tree | 78826b10687c4bff548726ff7f3a92ee56b03af7 /src/synproto.h | |
parent | 2034e1e26497bce815eae0429f7e29faf2d9adaf (diff) |
On/Off hooks to return boolean so we can bail out of the caller
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/synproto.h')
-rw-r--r-- | src/synproto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/synproto.h b/src/synproto.h index f9af37c..6962bbf 100644 --- a/src/synproto.h +++ b/src/synproto.h @@ -70,8 +70,8 @@ struct CommData { struct _SynapticsParameters; struct SynapticsProtocolOperations { - void (*DeviceOnHook)(InputInfoPtr pInfo, struct _SynapticsParameters *para); - void (*DeviceOffHook)(InputInfoPtr pInfo); + Bool (*DeviceOnHook)(InputInfoPtr pInfo, struct _SynapticsParameters *para); + Bool (*DeviceOffHook)(InputInfoPtr pInfo); Bool (*QueryHardware)(InputInfoPtr pInfo); Bool (*ReadHwState)(InputInfoPtr pInfo, struct CommData *comm, struct SynapticsHwState *hwRet); |