ahtn / keyplus

An easy to use, wired and wireless modular keyboard firmware
MIT License
246 stars 40 forks source link

Can't obtain USB HID interface number on OS X with HIDAPI #14

Open ahtn opened 6 years ago

ahtn commented 6 years ago

OS X has not always exposed the interface number of HID devices. The current master branch of HIDAPI has a workaround for this, but the current homebrew formula builds from a really old commit in the HIDAPI repo (0.8.0-rc1from 2013).

It looks like there is a proper fix here which requires patching this line.

To make things easier for OS X users, a static build needs to be made for OS X which bundles a recent/patched version of the HIDAPI library.

ahtn commented 6 years ago

There is a pull-request that provides the necessary fix here and the corresponding branch.