mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-12 06:52:33 +02:00
*Only* preserve report byte for feature reports. Oops.
(cherry picked from commit 7ec70d39c4)
This commit is contained in:
committed by
Sam Lantinga
parent
b52e6d10ce
commit
2b7c3d8a6c
@@ -718,7 +718,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() );
|
||||
|
||||
Reference in New Issue
Block a user