Skip to content

Commit

Permalink
Input/DS4: use hid_write instead of hid_write_control
Browse files Browse the repository at this point in the history
Apparently this was only needed for Windows 7
  • Loading branch information
Megamouse committed Feb 4, 2025
1 parent 739c4bc commit 4fd5ebe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/hidapi/hidapi
2 changes: 1 addition & 1 deletion rpcs3/Input/ds4_pad_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ int ds4_pad_handler::send_output_report(DS4Device* device)

write_to_ptr(output.crc32, crcCalc);

return hid_write_control(device->hidDevice, &output.report_id, sizeof(ds4_output_report_bt));
return hid_write(device->hidDevice, &output.report_id, sizeof(ds4_output_report_bt));
}

ds4_output_report_usb output{};
Expand Down

0 comments on commit 4fd5ebe

Please sign in to comment.