mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-05 23:02:16 +01:00
hidapi: switch to official libusb remote
This commit is contained in:
parent
2a6f1cf35c
commit
ff9401303b
2
.gitmodules
vendored
2
.gitmodules
vendored
|
|
@ -21,7 +21,7 @@
|
|||
ignore = dirty
|
||||
[submodule "3rdparty/hidapi"]
|
||||
path = 3rdparty/hidapi/hidapi
|
||||
url = ../../RPCS3/hidapi.git
|
||||
url = ../../libusb/hidapi.git
|
||||
branch = master
|
||||
ignore = dirty
|
||||
[submodule "3rdparty/pugixml"]
|
||||
|
|
|
|||
2
3rdparty/hidapi/hidapi
vendored
2
3rdparty/hidapi/hidapi
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit f42423643ec9011c98cccc0bb790722bbbd3f30b
|
||||
Subproject commit d6b2a974608dec3b76fb1e36c189f22b9cf3650c
|
||||
|
|
@ -266,14 +266,6 @@ void ds3_pad_handler::check_add_device(hid_device* hidDevice, hid_enumerated_dev
|
|||
}
|
||||
|
||||
device->report_id = buf[0];
|
||||
#elif defined (__APPLE__)
|
||||
int res = hid_init_sixaxis_usb(hidDevice);
|
||||
if (res < 0)
|
||||
{
|
||||
ds3_log.error("check_add_device: hid_init_sixaxis_usb failed! (result=%d, error=%s)", res, hid_error(hidDevice));
|
||||
HidDevice::close(hidDevice);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
for (wchar_t ch : wide_serial)
|
||||
|
|
|
|||
Loading…
Reference in a new issue