Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why not use hidraw instead of libusb? #15

Closed
karelbilek opened this issue Aug 23, 2018 · 3 comments
Closed

Why not use hidraw instead of libusb? #15

karelbilek opened this issue Aug 23, 2018 · 3 comments

Comments

@karelbilek
Copy link

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.

@neverpanic
Copy link
Contributor

hidraw is not cross-platform and does not work on non-Linux systems, while libusb does.

@nijave
Copy link

nijave commented Feb 11, 2020

Looks like on Linux, though, hidraw will give you device usage and usagePage like the MacOS version does

@dolmen
Copy link
Contributor

dolmen commented Jan 13, 2022

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.

@holiman holiman closed this as completed Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants