library for communicating with USB and Bluetooth HID devices
Project homepage: https://github.com/libusb/hidapi
Description
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. On OpenBSD (like on FreeBSD), the backend uses libusb-1.0 to communicate
directly to a USB device. This back-end will of course not work with Bluetooth
devices.
Package information
- Ports path
- comms/libhidapi
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- comms
- Available flavors
- None listed
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Library
Build
- devel/cmake/core STEM->=4
- devel/ninja
OpenBSD README
+------------------------------------------------------------------------------- | Running libhidapi on OpenBSD +------------------------------------------------------------------------------- libusb Workaround ================= *** WARNING *** libhidapi uses devel/libusb1 to communicate with USB HID devices. uhid(4) and uhidev(4) need to be disabled in the kernel (see config(8)) or the device will not be available to libusb. Note that this also deactivates other USB HIDs like USB keyboard and mouse.
Used by (6 dependency relationships)
Includes library, runtime, build and test dependencies.