diff options
author | Andrew Duggan <aduggan@synaptics.com> | 2014-08-05 13:59:55 -0700 |
---|---|---|
committer | Andrew Duggan <aduggan@synaptics.com> | 2014-08-05 13:59:55 -0700 |
commit | 777d012aadce5220c1445b8923d86e95fcc60128 (patch) | |
tree | 6c6bcd3ae4024964e07a532617e981a9c4a2914a /rmidevice/rmidevice.h | |
parent | 049b787b111c2d2dd0fbc04e51e40522a66b6930 (diff) | |
download | rmi4utils-777d012aadce5220c1445b8923d86e95fcc60128.tar.gz |
Product Info is essentially the major and minor version of the firmware
Diffstat (limited to 'rmidevice/rmidevice.h')
-rw-r--r-- | rmidevice/rmidevice.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/rmidevice/rmidevice.h b/rmidevice/rmidevice.h index db10c5c..40ddd75 100644 --- a/rmidevice/rmidevice.h +++ b/rmidevice/rmidevice.h @@ -44,6 +44,8 @@ public: virtual void Cancel() { m_bCancel = true; } unsigned long GetFirmwareID() { return m_buildID; } + int GetFirmwareVersionMajor() { return m_firmwareVersionMajor; } + int GetFirmwareVersionMinor() { return m_firmwareVersionMinor; } virtual int QueryBasicProperties(); int SetRMIPage(unsigned char page); @@ -67,13 +69,15 @@ protected: bool m_hasQuery42; char m_dom[11]; unsigned char m_productID[RMI_PRODUCT_ID_LENGTH + 1]; - unsigned short m_productInfo; unsigned short m_packageID; unsigned short m_packageRev; unsigned long m_buildID; unsigned char m_sensorID; unsigned long m_boardID; + int m_firmwareVersionMajor; + int m_firmwareVersionMinor; + bool m_hasDS4Queries; bool m_hasMultiPhysical; |