I was attending FOSDEM this year and got finally the chance to cleanup our USB library and publish it on hex here: usb | Hex
This library is a NIF binding to
libusb, it has been tested and used on both Linux and MacOS. Since libusb is also available on other platforms, it should be relatively easy to tweak the build system and also add support for Windows (Any help with this would be greatly appreciated).
Hope this is helpful, and would love to create Elixir and Gleam bindings for this so that everyone could benefit from this library, there again, any help would be greatly appreciated.
The git repo is available here: GitHub - kopera/erlang-usb: Erlang USB library