Brendan Shanks

Results 13 comments of Brendan Shanks

From that log, was the device previously connected, then disconnected, then `hid_enumerate()` is running? I'm a little confused from the backtrace because `IOHIDManagerSetDeviceMatching()` is in the stack, but the only...

Not sure if you're still having this problem or not, but I did some sleuthing to match up the backtrace frames to source code lines and try to trace what's...

Wow, I guess this is just a typo I made years ago but it somehow hasn’t caused any problems until now. Can you open a pull request with this change?

Ah very interesting, I guess the IOKit designers never anticipated a path this long! One of the [other suggestions](https://github.com/signal11/hidapi/issues/266#issuecomment-203145326) from #266 was to use `IORegistryEntryGetRegistryEntryID()` to get the unique 64-bit...

True, out of that 460 character path, only a few chars (`blink(1)`) are really useful. I think it's still better than a random 64-bit number, but human-usefulness-of-path is way lower...

I made a branch/pull request long ago to use real IOKit paths instead of constructing paths. The resulting paths look like: `IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/EHC1@1D,7/ AppleUSBEHCI/PLAYSTATION(R)3 Controller@fd12000/IOUSBInterface@0/IOUSBHIDDriver` I haven't tested multiple interfaces but...

Hey Alan, I rebased on the latest master and ended up squashing it all into one commit. The "-mmacosx-version-min=10.5" part isn't a big patch and it's only needed for `IOHIDDeviceGetService()`....

@zzyppo Try this code in `hid_enumerate()`: ``` /* Interface Number */ cur_dev->interface_number = get_int_property(dev, CFSTR(kUSBInterfaceNumber)); ```

This error is due to the launcher crashing before it's able to launch the game, it's not actually related to the files being corrupted. I experienced the same crash when...

> > > This error is due to the launcher crashing before it's able to launch the game, it's not actually related to the files being corrupted. I experienced the...