Skip to content

Commit c13fb1a

Browse files
Be-ingYouw
authored andcommitted
README: document how to choose between libusb & hidraw backends
1 parent c7a2339 commit c13fb1a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ HIDAPI has five back-ends:
4545
* Mac (using IOHidManager)
4646

4747
On Linux, either the hidraw or the libusb back-end can be used. There are
48-
tradeoffs, and the functionality supported is slightly different.
48+
tradeoffs, and the functionality supported is slightly different. Both are
49+
built by default. It is up to the application linking to hidapi to choose
50+
the backend at link time by linking to either `libhidapi-libusb` or
51+
`libhidapi-hidraw`.
4952

5053
__Linux/hidraw__ (`linux/hid.c`):
5154

0 commit comments

Comments
 (0)