Comments (3)
hidraw is not cross-platform and does not work on non-Linux systems, while libusb does.
from hid.
Looks like on Linux, though, hidraw will give you device usage and usagePage like the MacOS version does
from hid.
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.
from hid.
Related Issues (20)
- usage in trezord HOT 1
- could not determine kind of name for C.** under window 7 (32bit) HOT 3
- Poll.h not found HOT 1
- Doesn't seem to compile on Windows 10, mingw64 HOT 2
- Unknown failure on write
- Question: USB HID Keyboard scan codes / ascii HOT 2
- Compile error on ubuntu18 HOT 5
- Compile error on win7 64bit HOT 1
- Usage with go-streamdeck under windows - a fix I do not understand HOT 2
- Deprecation warnings when building on macOS 12.0 HOT 2
- Upgrade libusb and hidapi to recent releases HOT 1
- Windows: Write reports one more byte written
- Proposal: move directories libusb and hidapi below internal/ HOT 1
- Support hid_read_timeout HOT 1
- Cross-compilation Go and Goc "symbol not found" error message on ARM
- When usb hid sends the .bin file, device.Write(packet) truncates 0x00 HOT 1
- Cross compile error in windows
- Couldn't open Ledger nano S on Mac Sonoma (chip M1 max) HOT 1
- New module version tag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hid.