From 4fd5ebe4543432031bbb2f12707bc5e6ef96a8fd Mon Sep 17 00:00:00 2001 From: Megamouse Date: Thu, 26 Sep 2024 23:17:15 +0200 Subject: [PATCH] Input/DS4: use hid_write instead of hid_write_control Apparently this was only needed for Windows 7 --- 3rdparty/hidapi/hidapi | 2 +- rpcs3/Input/ds4_pad_handler.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/hidapi/hidapi b/3rdparty/hidapi/hidapi index 8b43a97a9330..6bfdcf736816 160000 --- a/3rdparty/hidapi/hidapi +++ b/3rdparty/hidapi/hidapi @@ -1 +1 @@ -Subproject commit 8b43a97a9330f8b0035439ce9e255e4be202deca +Subproject commit 6bfdcf7368169efe1b745cd4468d45cda05ef8de diff --git a/rpcs3/Input/ds4_pad_handler.cpp b/rpcs3/Input/ds4_pad_handler.cpp index a24351fad9f5..497db72e5da4 100644 --- a/rpcs3/Input/ds4_pad_handler.cpp +++ b/rpcs3/Input/ds4_pad_handler.cpp @@ -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{};