diff options
author | Antoine C <mixxx@acolombier.dev> | 2023-04-03 20:19:59 +0100 |
---|---|---|
committer | Antoine C <mixxx@acolombier.dev> | 2023-06-04 17:25:04 +0100 |
commit | 1bde71e1811c589841a8917d052e121422092f79 (patch) | |
tree | d9870c3a930fde1b3400bd4ca9338323223c5da2 /src | |
parent | 96ef3777a8e49fb8ee916ff4e03d23c716c1e4a6 (diff) |
Kontrol S4 Mk3: PR feedback
Diffstat (limited to 'src')
-rw-r--r-- | src/test/controller_mapping_validation_test.cpp | 8 | ||||
-rw-r--r-- | src/test/controller_mapping_validation_test.h | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/test/controller_mapping_validation_test.cpp b/src/test/controller_mapping_validation_test.cpp index 2a91e4715f..f0586c98dd 100644 --- a/src/test/controller_mapping_validation_test.cpp +++ b/src/test/controller_mapping_validation_test.cpp @@ -13,6 +13,14 @@ void FakeControllerJSProxy::send(const QList<int>& data, unsigned int length) { Q_UNUSED(length); } +void FakeControllerJSProxy::sendOutputReport(quint8 reportID, + const QByteArray& dataArray, + bool resendUnchangedReport) { + Q_UNUSED(reportID); + Q_UNUSED(dataArray); + Q_UNUSED(resendUnchangedReport); +} + void FakeControllerJSProxy::sendSysexMsg(const QList<int>& data, unsigned int length) { Q_UNUSED(data); Q_UNUSED(length); diff --git a/src/test/controller_mapping_validation_test.h b/src/test/controller_mapping_validation_test.h index a9a539fb32..1e6c9a6eac 100644 --- a/src/test/controller_mapping_validation_test.h +++ b/src/test/controller_mapping_validation_test.h @@ -18,6 +18,10 @@ class FakeControllerJSProxy : public ControllerJSProxy { Q_INVOKABLE void sendShortMsg(unsigned char status, unsigned char byte1, unsigned char byte2); + + Q_INVOKABLE void sendOutputReport(quint8 reportID, + const QByteArray& dataArray, + bool resendUnchangedReport = false); }; class FakeController : public Controller { |