diff options
author | David Chiu <dchiu@synaptics.com> | 2022-01-10 15:43:09 +0800 |
---|---|---|
committer | Vincent Huang <vincenthsw@gmail.com> | 2022-01-25 10:48:45 +0800 |
commit | 84a72ab59d271e790029b67312163c16c3c073dc (patch) | |
tree | 0d0923cba7eecf27e0ff748540a0f9717c0e1235 /rmidevice/rmidevice.h | |
parent | 37259214c592bd9e73eaa0cb2945b9f6173bd7ed (diff) | |
download | rmi4utils-84a72ab59d271e790029b67312163c16c3c073dc.tar.gz |
Support toggle interrupts mask by setting feature report
Diffstat (limited to 'rmidevice/rmidevice.h')
-rw-r--r-- | rmidevice/rmidevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rmidevice/rmidevice.h b/rmidevice/rmidevice.h index 9bfe849..a0249bc 100644 --- a/rmidevice/rmidevice.h +++ b/rmidevice/rmidevice.h @@ -46,6 +46,7 @@ public: virtual int Write(unsigned short addr, const unsigned char *data, unsigned short len) = 0; virtual int SetMode(int mode) { return -1; /* Unsupported */ } + virtual int ToggleInterruptMask(bool enable) = 0; virtual int WaitForAttention(struct timeval * timeout = NULL, unsigned int source_mask = RMI_INTERUPT_SOURCES_ALL_MASK) = 0; virtual int GetAttentionReport(struct timeval * timeout, unsigned int source_mask, |