Repository navigation
Conversation
|
Looks good, thanks! |
|
This pull request should also work, it uses IOKit paths to uniquely identify devices: #40 |
|
Hi Brenden, which one do you want to do? |
|
Hi, many projects depending on hidapi does not work on Mac now. Can you please review this PR? Thanks. |
|
I think IOKit paths are the better solution--it's messy for hidapi to fabricate its own device path when it can get a meaningful one from the OS instead. |
|
Brenden and Pavol, can you test #40 on the latest master, and let me know if it's workable on the OSX versions we want to support? I don't have the latest OSX here unfortunately. If you both say it's good, I'll pull it immediately. |
|
Hello, #40 work well for me. Let's do this! |
|
Working for me too, and the app I used to work on has been using a slightly older version of #40 for 4+ years on 10.5-10.11 without problems. |
It's possible to get multiple entries from
hid_enumerate()with same path, but different usage page.hid_open_paththen opens only the first device. This should fix that.