*Only* preserve report byte for feature reports. Oops.

This commit is contained in:
Rachel Blackman
2026-05-11 11:16:14 -07:00
committed by Sam Lantinga
parent 287e2573cd
commit 7ec70d39c4

View File

@@ -727,7 +727,7 @@ public:
size_t uBytesToCopy = 0;
if ( m_reportResponse.size() > 0 )
if ( bFeature && m_reportResponse.size() > 0 )
{
// Make sure we preserve the report value if it isn't already in the report.
bool bHasReportAlready = ( *pData == *m_reportResponse.data() );