aboutsummaryrefslogtreecommitdiff
path: root/rmidevice/rmidevice.h
diff options
context:
space:
mode:
authorAndrew Duggan <aduggan@synaptics.com>2015-05-06 17:45:48 -0700
committerAndrew Duggan <aduggan@synaptics.com>2015-05-06 17:50:14 -0700
commitbef9c2dd3bfbe71b75f59c0dba08402414e008a2 (patch)
tree1211eb6e9d01ca93abd7af06a4ae72af2b7f148e /rmidevice/rmidevice.h
parentbc1e37b101aa71b785e0c78abb1c2ee546506b60 (diff)
downloadrmi4utils-bef9c2dd3bfbe71b75f59c0dba08402414e008a2.tar.gz
Allow rebinding of the transport device to force a reload of the HID descriptors
In some cases during firmware update the size of the input reports can change this commit allows for the unbinding and rebinding of the transport HID device to force a reload of the HID descriptors so that the new size if read by the HID transport drivers.
Diffstat (limited to 'rmidevice/rmidevice.h')
-rw-r--r--rmidevice/rmidevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rmidevice/rmidevice.h b/rmidevice/rmidevice.h
index c6d83e5..d213168 100644
--- a/rmidevice/rmidevice.h
+++ b/rmidevice/rmidevice.h
@@ -45,6 +45,7 @@ public:
{ return -1; /* Unsupported */ }
virtual void Close() = 0;
virtual void Cancel() { m_bCancel = true; }
+ virtual void RebindDriver() = 0;
unsigned long GetFirmwareID() { return m_buildID; }
int GetFirmwareVersionMajor() { return m_firmwareVersionMajor; }