1. HIDAPI
https://github.com/signal11/hidapi

HIDAPI is a multi-platform library which allows an application to interface
with USB and Bluetooth HID-Class devices on Windows, Linux, FreeBSD, and Mac
OS X.  HIDAPI can be either built as a shared library (.so or .dll) or
can be embedded directly into a target application by adding a single source
file (per platform) and a single header.

HIDAPI has four back-ends:
    * Windows (using hid.dll)
    * Linux/hidraw (using the Kernel's hidraw driver)
    * Linux/libusb (using libusb-1.0)
    * FreeBSD (using libusb-1.0)
    * Mac (using IOHidManager)

 

2. libhid

https://github.com/bfoz/libhid

libhid is a cross-platform C++ library for interacting with [USB Human Interface Devices]

 

3. Android hid

https://github.com/Years0315/Groud_Station

https://blog.csdn.net/Alone_1314/article/details/70242396

Logo

CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!

更多推荐