diff options
author | Andrew Duggan <aduggan@synaptics.com> | 2014-04-29 13:34:42 -0700 |
---|---|---|
committer | Andrew Duggan <aduggan@synaptics.com> | 2014-04-29 13:34:42 -0700 |
commit | e9a5cd0172ce96168a9431531d259b677f331aa6 (patch) | |
tree | b210ba77d0deacecd5288d661de20e6c7efe51af /rmidevice/hiddevice.h | |
parent | d02a0b030911951257e354fa82ce967bc4e51f9f (diff) | |
download | rmi4utils-e9a5cd0172ce96168a9431531d259b677f331aa6.tar.gz |
Add additional commands to rmihidtool and allow them to be set from the command line.
Diffstat (limited to 'rmidevice/hiddevice.h')
-rw-r--r-- | rmidevice/hiddevice.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rmidevice/hiddevice.h b/rmidevice/hiddevice.h index 37749c7..fb3c848 100644 --- a/rmidevice/hiddevice.h +++ b/rmidevice/hiddevice.h @@ -34,7 +34,8 @@ public: unsigned short len); virtual int SetMode(int mode); virtual int WaitForAttention(struct timeval * timeout = NULL, int *sources = NULL); - virtual int GetAttentionReport(struct timeval * timeout, int *sources, unsigned char *buf, int *len); + virtual int GetAttentionReport(struct timeval * timeout, int *sources, unsigned char *buf, + unsigned int *len); virtual void Close(); ~HIDDevice() { Close(); } |