hid
hid copied to clipboard
Why not use hidraw instead of libusb?
Just asking - why does this use libusb instead of hidraw backend? Hidraw seems like less of a hassle (no need to package all libusb), but I have not tried it.
hidraw is not cross-platform and does not work on non-Linux systems, while libusb does.
Looks like on Linux, though, hidraw will give you device usage and usagePage like the MacOS version does
You're free to use hidraw if you prefer.
But the feature of this library is to wrap hidapi and libusb to work on Linux/Mac/Windows and it does it well.