aboutsummaryrefslogtreecommitdiff
path: root/rmidevice/hiddevice.h
diff options
context:
space:
mode:
authorAndrew Duggan <aduggan@synaptics.com>2014-04-29 13:34:42 -0700
committerAndrew Duggan <aduggan@synaptics.com>2014-04-29 13:34:42 -0700
commite9a5cd0172ce96168a9431531d259b677f331aa6 (patch)
treeb210ba77d0deacecd5288d661de20e6c7efe51af /rmidevice/hiddevice.h
parentd02a0b030911951257e354fa82ce967bc4e51f9f (diff)
downloadrmi4utils-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.h3
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(); }