mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-21 00:45:21 -04:00
59a076705b
Change hid_enumerate() and hid_open_path() to use IOKit IOService:/ paths to uniquely identify devices, instead of creating a path (done by the make_path() function). The path passed to hid_open_path() now must be a valid path to an IOHIDDevice in the IOService plane, like: "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/EHC1@1D,7/ AppleUSBEHCI/PLAYSTATION(R)3 Controller@fd120000/IOUSBInterface@0/IOUSBHIDDriver"