libhidapi

library for communicating with USB and Bluetooth HID devices

WWW CVSWeb GITHub
  1. Package version
    libhidapi-0.13.1
  2. Maintainer
    The OpenBSD ports mailing-list

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.

+-------------------------------------------------------------------------------
| Running ${PKGSTEM} 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.

  • devel/cmake
  • devel/ninja