btdrv-mitm: use btdrvWriteData to send ds4 report to be consistent with other output reports

This commit is contained in:
ndeadly 2020-07-12 01:26:09 +02:00
parent 59158118e3
commit d2068b7912

View file

@ -39,7 +39,7 @@ namespace ams::controller {
hidReport.size = sizeof(report) - 1; hidReport.size = sizeof(report) - 1;
std::memcpy(&hidReport.data, &report.data[1], hidReport.size); std::memcpy(&hidReport.data, &report.data[1], hidReport.size);
R_TRY(btdrvSetHidReport(&m_address, HidReportType_OutputReport, &hidReport)); R_TRY(btdrvWriteHidData(&m_address, &hidReport));
return 0; return 0;
} }